Archived topic
Custom added to cart on single product page
3 replies · Started by nik9 on October 19, 2020
Hello,
We saw a very cool way to show "Product is added to cart" message instead of a normal banner on shop page or the green message on a single product page above the product name.
We saw this here: https://wishlist2.templateinvaders.com/product/compatibility-with-most-popular-plugins/
Question: Is this possible with GP?
Cheers
Hi there,
that kind of thing would require custom development which is outside the scope of this forum.
Hi David,
We know that this is very custom and this forum is not the place to discuss this. :)
Can you maybe say something of the difficulty level to implement such thing? Maybe is there a way to reuse the script from the mentoined page?
Cheers
It requires an Ajax add to cart button on the single product page. Which woo doesn't do by default ( only on archives ). Found this support topic that has a few links to implementing ajax add to cart:
https://wordpress.org/support/topic/ajax-on-single-product-page/#post-10797497