Awo Coupon Pro and OnePageCheckout


  • Default avatar
    source@easy.cz    
     9 years ago
    0

    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):

                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
  • Your avatar
    seyi    
     9 years ago
    0

    Hello,

    What do you mean by change seeing the discount? Is the discount not working? If you are not using the latest, 2.3.4, please update. Because there is a fix in that version that affects cmsmart onepage checkout.