Hi there, I am using Joomla 3.6.3 with Virtuemart 3.0.18
The Add to Cart buttons have disappeared on some items
One example is this Tornado Pro Vape: http://www.emporiumvape.com/index.php/lighting/tornado-pro/0
Another example is this Tesla Invader III: http://www.emporiumvape.com/index.php/e-cigs/tesla/tesla-invader-iii-detail
An example where the button is still there is http://www.emporiumvape.com/index.php/lighting/cheap-thrills/Cheap%20Thrills%20-%20Rush%20Rush%20Yayo%2060ml
Sorry if this has been posted or explained somewhere else, I did take a look and couldn't find anything on the forum. This started happening last week, would anybody know why?
Thanks
The problem is imho your ajax, please check our news https://virtuemart.net/news/latest-news/477-release-of-3-0-18-connecting-the-loose-ends
"Important for shops with overrides
The new js for using ajax for reloading product content uses now always the same class. The class is "product-container". Just search for the div with "productdetails-view productdetails" and add "product-container". In case you want the ajax reload within a product modul, you need to adjust the overrides here also."
Thank you. I'm not quite at this level yet but I am keen to learn it! Hopefully I can figure it out now. Thanks :)
Where do I find the product container?
And is it possible to backdate to 3.0.16 until I have figured it out?
I have amended this for a product by going to the custom fields and changing the 'Please Select' option to one of the option values.
The 'ADD TO CART' button now displays.
Can I change this is bulk for all product that have this issue? There are a few hundred that were ok until last week.
Screenshots of before and after the edit are attached.
Milbo I appreciate your help but I cannot find the Ajax options you mentioned
Not quite fixed though.... the cart does not show the strength of the product selected.
I fear you are using the wrong variant for that. I do not see the ramification. Seems you setup none.
I found an explanation in a similar thread that solved the problem :D
Thanks to GJC
Here it is for anybody with the same issue
\templates\xxxxxxxxx\html\com_virtuemart\productdetails\default.php if over ridden .. if not in the VM views
find the html container holding the whole code
normally something like
<div id="productdetails-view" class="productdetails-view productdetails">
change it to
<div id="productdetails-view" class="productdetails-view productdetails product-container">
Milbo, thanks to you too! Oh my gosh, rude of me you told me this too, much appreciated
Sent from my SM-G920F using Tapatalk