in vm3 the cart module work with ajax.
in my site i have a "quick-view" option to see the product in fancybox
but when the "add to cart" button clicked out of the fancybox the cart didn't refreshed by ajax (the cart module located on the parent page)
there is a way to send the ajax refresh command from the fancybox to the module in the parent page?
for example you can look over here http://staging1.a-avrahami.co.il/he/%D7%97%D7%9C%D7%A4%D7%99%D7%9D-%D7%9C%D7%9E%D7%98%D7%91%D7%97-%D7%94%D7%9E%D7%A1%D7%97%D7%A8%D7%99/%D7%90%D7%A8%D7%95%D7%9F-%D7%97%D7%99%D7%9E%D7%95%D7%9D-%D7%9E%D7%95%D7%A1%D7%93%D7%99 (http://staging1.a-avrahami.co.il/he/%D7%97%D7%9C%D7%A4%D7%99%D7%9D-%D7%9C%D7%9E%D7%98%D7%91%D7%97-%D7%94%D7%9E%D7%A1%D7%97%D7%A8%D7%99/%D7%90%D7%A8%D7%95%D7%9F-%D7%97%D7%99%D7%9E%D7%95%D7%9D-%D7%9E%D7%95%D7%A1%D7%93%D7%99)
thank u!
what quickview option are you using?
to see the product details page
3rd party t3 template.. http://forum.virtuemart.net/index.php?topic=108212.0
have u asked the template dev?
Quote from: GJC Web Design on February 05, 2015, 14:07:03 PM
3rd party t3 template.. http://forum.virtuemart.net/index.php?topic=108212.0
have u asked the template dev?
It is not related to the template, this function I added the site (via jquery), the thing is, when you click "Add to Cart" in the category page is done "post" and "get" (as in the picture attached)
But when you click "Add to Cart" from the product page (in fancybox) performed only act of "post" and there is no act of "get"!
How do I get to ajax to do the "get" in the parent page?
sharing the solution.
add this to padded.php file
echo "<script type=\"text/javascript\"> var referrer = document.referrer; jQuery('.vm_cart_products', window.parent.document).load('referrer .vm_cart_products .vmcontainer');</script>";