Having to submit coupon twice


  • Default avatar
    david7075    
     6 years ago
    0

    i installed Awocoupon on my Joomla site with Virtuemart.

    This is Joomla 3.8.3 and VM 3.2.12

    i created a Buy X get Y coupon. You buy 5 and get 6.

    If i do not configure the backend to add the 6th item to the cart but i add 6 items myself and then put the coupon code in the cart the software knocks the price off for one item.

    If i configure the backend to add an item when 5 items are in the cart and then put the coupon in the VM cart i get this. The cart is not the standard VM cart

    An error has occurred while processing coupon code. See console log for more details.

    This is with a VirtuePlanet onepage cart plugin.

    So i disabled this and so i had the basic VM cart.

    If i put 5 items in the cart and submit the coupon i a warning to say the coupon was not recognised but a sixth item is added to the cart and the price is increased by the cost of the item.

    If i resubmit the coupon again the coupon is successfully taken and the price of the sixth item is subtracted.

    So in summary is i set it up so the extra item has to be added manually everything works find in the basic VM cart and the VirtuePlanet cart.

    If i set it up so the free item is to be added automatically, when the coupon is submitted the free item is added, the price of this item is added to the total and i get a warning about the coupon not being recognised or there is an error processing.

    This put the cart into the position of a manual addition of the free item and on submitting the coupon the price comes off.

    I do not know where the console log is to look at it and don't know i would understand what i meant if i did.

    Any ideas?

  • Your avatar
    seyi    
     6 years ago  last edited 6 years ago
    0

    Hello

    Is it possible to send a private message with temp admin access to have a look at this?

    Hello,

    You are using vp one page checkout and trying to add products to the cart automatically.  Here is the solution to fix that:
    https://awodev.com/forum/awocoupon/help-section/purchase-x-get-y-issue#post10685