woocommerce/templates/cart/cart-item-data.php

18 lines
430 B
PHP
Raw Normal View History

2013-08-13 13:14:24 +00:00
<?php
/**
* Cart item data (when outputting non-flat)
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.1.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>
<dl class="variation">
<?php foreach ( $item_data as $data ) : ?>
2013-08-22 16:20:28 +00:00
<dt><?php echo wp_kses_post( $data['key'] ); ?>:</dt>
2013-11-11 13:50:23 +00:00
<dd><?php echo wp_kses_post( wpautop( $data['value'] ) ); ?></dd>
2013-08-13 13:14:24 +00:00
<?php endforeach; ?>
</dl>