AwoCoupon Pro is working as it should, however when entering an invalid coupon code no error message is displayed. I am making use of Linelab's OPC, could this have to do with it?
When making use of Virtuemart's standard coupon function, the standard standard error message does get displayed.
Below is the template override of the default_coupon.php the OPC uses.
Thank you for helping me out with this.
Linelab One Page Checkout
Virtuemart 2.0.6
AwoCoupon Pro 2.1.2
When making use of Virtuemart's standard coupon function, the standard standard error message does get displayed.
Below is the template override of the default_coupon.php the OPC uses.
Thank you for helping me out with this.
<input type="text" name="coupon_code" id="coupon_code" size="20" maxlength="50" class="coupon" alt="<?php echo $this->coupon_text ?>" value="<?php echo $this->coupon_text; ?>" onblur="if(this.value=='') this.value='<?php echo $this->coupon_text; ?>';" onfocus="if(this.value=='<?php echo $this->coupon_text; ?>') this.value='';" />
<span class="details-button">
<input class="details-button" type="button" title="<?php echo JText::_('COM_VIRTUEMART_SAVE'); ?>" value="<?php echo JText::_('COM_VIRTUEMART_SAVE'); ?>" onclick="set_coupon();"/>
</span>
<!--<form method="post" id="userForm" name="enterCouponCode" action="<?php echo JRoute::_('index.php'); ?>">
<input type="hidden" name="option" value="com_virtuemart" />
<input type="hidden" name="view" value="cart" />
<input type="hidden" name="task" value="setcoupon" />
<input type="hidden" name="controller" value="cart" />
</form>-->
Linelab One Page Checkout
Virtuemart 2.0.6
AwoCoupon Pro 2.1.2