• Resolved reicha

    (@reicha)


    Hello we have the following issue with the express button on the product page.
    The way the template is built, makes it so that there are multiple forms with the class variations_form on the single page because the shortcodes were changed so that the user can add a product to cart via the shortcode output too.
    This creates a very problematic issue though.
    The amazon button tries to grab ALL forms.variations_form in its code.
    So it cannot actually express checkout the single product itself since it tries to grab multiple.
    Is there a fix for this?
    so that the amazon button only grabs the very first variations_form class? and not every single one on the page?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Christian

    (@christian1983)

    Hey @reicha

    Hope you are doing well!

    Checking with the development team.

    Will get back to you soon.

    Best,
    Christian

    Thread Starter reicha

    (@reicha)

    Any progress on this?

    Thread Starter reicha

    (@reicha)

    sorry to bother you again with this – but has there been any development on this topic?

    Thread Starter reicha

    (@reicha)

    Sorry to bump this topic again, but has there been any progress for this?
    as it is we cant use the plugin currently.

    Plugin Support Christian

    (@christian1983)

    Hey @reicha ,

    Thanks for you patience!

    We were able to reproduce your issue and will add a corresponding task to our backlog. However, we cannot guarantee it will be a high-priority fix, as this is an edge case resulting from modifications to the standard WooCommerce templates.

    In the meantime, you can customize the Express button configuration to adapt it to your particular template. To do this, you can modify the response for the AJAX call amazon_change_wc_carts. You would need to mimic the ajax_amazon_change_wc_carts method implemented in the plugin, so it takes into account that variation_id is an array instead of an integer.

    We will add the task to our backlog anyway, as a future fix may benefit other merchants who could be affected by the same issue.

    Best,
    Christian

    Thread Starter reicha

    (@reicha)

    Thank you.
    we will try building a fix then, until this is resolved permanently.
    Thank you for your time.

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

The topic ‘Multiple variation forms’ is closed to new replies.