You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
<?php
|
|
/**
|
|
* Cart item data (when outputting non-flat)
|
|
*
|
|
* This template can be overridden by copying it to yourtheme/woocommerce/cart/cart-item-data.php.
|
|
*
|
|
* HOWEVER, on occasion WooCommerce will need to update template files and you
|
|
* (the theme developer) will need to copy the new files to your theme to
|
|
* maintain compatibility. We try to do this as little as possible, but it does
|
|
* happen. When this occurs the version of the template file will be bumped and
|
|
* the readme will list any important changes.
|
|
*
|
|
* @see https://docs.woocommerce.com/document/template-structure/
|
|
* @author WooThemes
|
|
* @package WooCommerce/Templates
|
|
* @version 2.4.0
|
|
*/
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
?>
|
|
<ul class="variation">
|
|
<?php foreach ( $item_data as $data ) : ?>
|
|
<li class="variation-<?php echo sanitize_html_class( $data['key'] ); ?>">
|
|
<span class="item-variation-name"><?php echo wp_kses_post( $data['key'] ); ?>:</span>
|
|
<span class="item-variation-value"><?php echo wp_kses_post( wpautop( $data['display'] ) ); ?></span>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
|