If I use Awo Coupon with Onepagecheckout -> http://cmsmart.net/virtuemart-extensions/virtuemart-one-page-checkout
(J.3.3.6 + VM 2.9.8)
and after save code for coupon, I dont see discount percent and discount price.
There is code from default_pricelist.php (onepagecheckout):
What can I change for seeing discount?
www.lemax26.easysoftware.cz
Thanks
Rudolf
(J.3.3.6 + VM 2.9.8)
and after save code for coupon, I dont see discount percent and discount price.
There is code from default_pricelist.php (onepagecheckout):
if (VmConfig::get('coupons_enable')) {
?>
<tr class="coupon-pane">
<td colspan="3" align="left" class="border-radius-lb">
<?php
if (!empty($this->layoutName) && $this->layoutName == 'default') {
echo $this->loadTemplate('coupon');
}
?>
<?php
echo "<span id='coupon_code_txt'>" . @$this->cart->cartData['couponCode'] . "</span>";
echo @$this->cart->cartData['couponDescr'] ? (' (' . $this->cart->cartData['couponDescr'] . ')' ) : '';
?>
</td>
<?php if (VmConfig::get('show_tax')) { ?>
<td align="right" id="coupon_tax">
<?php echo $this->currencyDisplay->createPriceDiv('couponTax', '', @$this->cart->pricesUnformatted['couponTax'], false); ?> </td>
<?php } ?>
<td align="right"> </td>
<td align="right" id="coupon_price" class="border-radius-rb">
<?php echo $this->currencyDisplay->createPriceDiv('salesPriceCoupon', '', @$this->cart->pricesUnformatted['salesPriceCoupon'], false); ?> </td>
</tr>
<?php } ?>
What can I change for seeing discount?
www.lemax26.easysoftware.cz
Thanks
Rudolf