News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Add To Cart button has disappeared on some items

Started by Brockney, October 20, 2016, 12:51:12 PM

Previous topic - Next topic

Brockney

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
Joomla 3.6.4
Virtuemart 3.0.18

Milbo

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."
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Brockney

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 :)
Joomla 3.6.4
Virtuemart 3.0.18

Brockney

Joomla 3.6.4
Virtuemart 3.0.18

Brockney

And is it possible to backdate to 3.0.16 until I have figured it out?
Joomla 3.6.4
Virtuemart 3.0.18

Brockney

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
Joomla 3.6.4
Virtuemart 3.0.18

Brockney

Not quite fixed though.... the cart does not show the strength of the product selected.
Joomla 3.6.4
Virtuemart 3.0.18

Milbo

I fear you are using the wrong variant for that. I do not see the ramification. Seems you setup none.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Brockney

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">
Joomla 3.6.4
Virtuemart 3.0.18

Brockney

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

Joomla 3.6.4
Virtuemart 3.0.18