Home Forums WoodMart support forum Ajax alerts in checkout page

Ajax alerts in checkout page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #196837

    psivel
    Participant

    Hi,

    I have installed a free gift plugin allowing to choose a gift in the cart page if order amount reaches a condition (say > 50 €). My problem is that if the customers goes directly to checkout page he may miss the gift step (in cart page). So I’ve written a small code in my function.php to insert an alert in the checkout page to tell the client to go to cart page to add his gift if cart’s subtotal > 50.

    But if the client adds a coupon code and subtotal goes below 50 in checkout page the alert is still here when it should disappear.

    So I wonder is there is a way for my function to be triggered by ajax when recalculating the checkout page when the coupon is added ?

    #196902

    Hello,

    Our theme support does not cover the customization of the plugins. Please contact plugin support and let the theme consult your best way to configure.

    Best Regards

    #196921

    psivel
    Participant

    It is not a problem related to the plugin configuration, I was just asking if it would be possible to trigger my own function in woodmart’s ajax recalculating totals in checkout page. But anyway if you can’t help me I’ll try to find another solution.

    #196993

    Hello,

    This AJAX does not belong to our theme, it belongs to the Woocommerce plugin and we do not have instructions on how to call. http://prntscr.com/slq6tp

    Best Regards

    #197022

    psivel
    Participant

    OK thank you I’ve found the trick.

    #197044

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Ajax alerts in checkout page’ is closed to new replies.