Theme not compatible with Measurement Price Calculator

This topic has 4 replies, 2 voices, and was last updated 6 years, 2 months ago ago by Olga Barlow

  • Avatar: clickbizz
    clickbizz
    Participant
    August 3, 2018 at 15:15

    The theme is not compatible with Measurement Price Calculator of WooCommerce.

    In ‘etheme.js’ i found this.

    var data = {
                    action:         'et_woocommerce_add_to_cart',
                    product_id:     form.find('[name="add-to-cart"]').val(),
                    quantity:       form.find('.qty').val(),
                    variation_id:   form.find('[name="variation_id"]').val(),
                    variation:      variation,
                };

    So the data of the plugin is not send to your add to cart hook.
    Is it possible to fix this, without making the theme or plugin un-updateable?

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 4, 2018 at 14:28

    Hello,

    Go to Theme Options > Single Product > Ajax Add to cart > off. Try if add to cart work when the Ajax add to cart is disabled. As a rule, such plugins use POST method to add to cart and are not compatible with Ajax.

    Regards

    Avatar: clickbizz
    clickbizz
    Participant
    August 4, 2018 at 14:57

    Hi Olga,

    Yes this is a solution.

    Thank you!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 6, 2018 at 15:11

    Hello,

    Great. You are welcome!

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.