Initial Commit N° : 001 - V.4.3.3
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
$coupons = WC()->cart->get_coupons();
|
||||
|
||||
if ($coupons) :
|
||||
foreach ($coupons as $code => $coupon) : ?>
|
||||
<div class="coupon-wrap ext-item-wrap nasa-flex jbw" data-code="<?php echo esc_attr($coupon->get_code()); ?>">
|
||||
<span class="coupon-label ext-item-label">
|
||||
<?php wc_cart_totals_coupon_label($coupon); ?>
|
||||
</span>
|
||||
|
||||
<span class="coupon-content ext-item-content">
|
||||
<?php wc_cart_totals_coupon_html($coupon); ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php
|
||||
endforeach;
|
||||
endif;
|
||||
Reference in New Issue
Block a user