Skip to content

Instantly share code, notes, and snippets.

@kreamweb
Created October 17, 2017 08:30
Show Gist options
  • Select an option

  • Save kreamweb/fea2f93e168ff429bc0aa6d1a4b7f667 to your computer and use it in GitHub Desktop.

Select an option

Save kreamweb/fea2f93e168ff429bc0aa6d1a4b7f667 to your computer and use it in GitHub Desktop.
<?php $item_data = apply_filters( 'ywraq_request_quote_view_item_data', $item_data, $raq, $_product, $show_price );
if ( sizeof( $item_data ) > 0 ) : ?>
<dl class="variation">
<?php foreach ( $item_data as $data ) : ?>
<dt class="variation-<?php echo esc_html($data['key']) ?>"><?php echo esc_html($data['key']) ?>: </dt><dd class="variation-<?php echo esc_html($data['key']) ?>"><p><?php echo esc_html($data['value']) ?></p></dd>
<?php endforeach ; ?>
<dl>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment