• Resolved billy44

    (@billy44)


    I use woocommerce shortcode [product_page=”….”] to display my products on the homepage. And each time you press the add to cart button it reloads the page and brings you to the top of the page. I’ve read this is due to the AJAX not working with shortcode.

    Is your plugin a solution for this? Thanks in advance

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author The Rite Sites

    (@theritesites)

    Hi Billy44!

    Our product here is not a solution while using the “product_page” shortcode, no.

    This plugin creates a new shortcode that just displays an optional title, with quantity, and add to cart button. These buttons work through AJAX as to not re-render the page like you are looking for.
    I am sure you would find a way to create the page you are looking for using this, but it might not be the optimal solution in your case.

    As for the page you linked, it seems at least from my end you got it working! (Mac and on Safari)

    Please let me know if you have any other questions, also feel free to reach out to me personally at [email protected]

    Thank you,
    Parker Mathewson
    The Rite Sites

    Thread Starter billy44

    (@billy44)

    Thank you @theritesites for your reply. Ok understood but it is a shame to have only few information, the entire product block would be a great solution especially for building landing page. I spent a lot of time to find a solution but I didn’t succeed so as you saw I found solution which is a new cart plugin. No choice…
    Thank you for your reply again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WC Shortcode [product_page id]’ is closed to new replies.