• deepanshjain96

    (@deepanshjain96)


    I am using wocoommerce for building my store, but having one issue.
    On shop page when a customer clicks on add to cart on a product then the text changes to view cart, now if the user refreshes the page then the view cart changes to add to cart again and that product is already in the cart of that customer.
    Please provide any solution for the same.

    https://www.ads-software.com/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    Your theme may have tweaked this slightly because by default “view cart” is a separate link.

    This is intentional – it is appended via javascript and is only there after add to cart event. Going back to the page is not supposed to show that link again.

    If you want to change this you or a developer will need to customise the source code/template files. jobs.wordpress.net if you need someone.

Viewing 1 replies (of 1 total)
  • The topic ‘View cart on product in shop page is changed to add to cart on page refresh’ is closed to new replies.