Custom Add to Cart links. - by Roobinda - on WordPress WooCommerce support

This topic has 10 replies, 2 voices, and was last updated 6 years, 9 months ago ago by Rose Tyler

  • Avatar: Roobinda
    Roobinda
    Participant
    February 5, 2018 at 15:44

    Hi there. URL in private content…

    You’ll see I have created ‘add to cart’ links using ?add-to-cart=
    Clicking these links works fine BUT, it also forces a reload of the page and moves to the top in the browser window. Also if you click a button within the second or third accordion section, the accordion is subsequently reset, which is potentially annoying for the user.

    It would be much better if the link worked in the same way as the ADD TO CART buttons in the ‘Featured products’ on the home page. There is a progress bar and a tick, and seemingly no reload of the page.

    How would i achieve this?

    Thanks in advance.

    Please, contact administrator
    for this information.
    9 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 5, 2018 at 15:58

    Hello,

    Please provide screenshot to help me understand more.

    Regards

    Avatar: Roobinda
    Roobinda
    Participant
    February 5, 2018 at 16:30

    Sure.

    4th accordion section open. Add to Cart clicked. https://snag.gy/GI3xQE.jpg
    Page reloads and shifts to top, resetting accordion. https://snag.gy/gsyHOq.jpg

    Preferable mechanism on home page. https://snag.gy/O3SCPu.jpg
    Seemingly no page reload. https://snag.gy/4iUPwL.jpg

    Does this make sense?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 6, 2018 at 09:42

    Hello,

    Looks like you activated another theme on your site. Let me know once our theme will be activated, and we will check what can be done to achieve the desired ajax effect.

    Regards

    Avatar: Roobinda
    Roobinda
    Participant
    February 6, 2018 at 14:22

    Hey Rose. Sorry, yes. I have been trying to get Table Rate Shipping to work properly!

    Classico is active once again!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 6, 2018 at 14:48

    Hello,

    Please provide wp-admin access in private content, because the previous credentials are incorrect for now.

    Regards

    Avatar: Roobinda
    Roobinda
    Participant
    February 6, 2018 at 15:22

    Here you go…

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 6, 2018 at 16:20

    Hello,

    Please see screenshots http://prntscr.com/iaxvso http://prntscr.com/iaxw2l and check.

    Regards

    Avatar: Roobinda
    Roobinda
    Participant
    February 6, 2018 at 19:18

    That is flipping amazing Rose!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 7, 2018 at 08:37

    You’re welcome!

    Regards

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

The issue related to '‘Custom Add to Cart links.’' has been successfully resolved, and the topic is now closed for further responses

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.