Answer the question
In order to leave comments, you need to log in
How to highlight products in the catalog that have already been added to the cart?
Please tell me how to make it so that after clicking on the "Add to cart" button, its name changes to "In order". And when the page is refreshed, the name of the button should not change. Those. all items that the user has already added to the cart should be "tagged" in the main catalog. Maybe there is some plugin? or where to change the code?
Answer the question
In order to leave comments, you need to log in
About changing text "Add to Cart" - "In Cart"
Example - https://gist.github.com/corsonr/6775121
Another example - www.remicorson.com/woocommerce-check-if-product-is...
should work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question