We intend to build our site with child variant (due to colors in our products) but the "add to cart" button is not working properly in quickview.
The problem can be seen also in your demo where you have built one product with child variant. When one tries to add a child of this product into the cart from quick view, it does nothing.
What we want is to completely remove "add to cart" button from quickview and instead to have a button ("Product details") to redirect to to the main product page. First of all we can avoid this problem and secondly we prefere someone to add something into cart from the main page and not from quickview or category (we have managed to cut the button fron categories through your vm configuration)
Thanks in advance
The administrator has disabled public write access.
Replace add to cart button in quickview
7 years 2 weeks ago #11348
To disable the "Add to cart" button from the QuickView window (and replace with "product details" button), you can use this simple trick.
Open this PHP file: /templates/flexible_asymmetric/html/com_virtuemart/productdetails/default.php
-OR- /templates/flexible_asymmetric/html/com_virtuemart/productdetails/flexv2.php (default.php or flexv2.php depends on what layout you are using for product details page)