News:

Looking for documentation? Take a look on our wiki

Main Menu

Childvariants don't work anymore

Started by melsonmarketing, September 14, 2017, 14:28:17 PM

Previous topic - Next topic

melsonmarketing

J 3.7.5
VM 3.2.4

I recently updated from VM 3.2.2 to 3.2.4 and didn't change anything else.

Now nothing is happening when choosing childvariants:

https://www.sylt-eventshop.de/shop/gutscheine/buggy-gutschein-1-detail

Does anyone have an idea about that?

jenkinhill

What is supposed to happen? They work for me and the right selection is passed to the cart. Try clearing your browser cache.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Jörgen

I do not agree.

Try to choose Römö and auf eigene Faust.

You will get 2 pcs of tour römö, but no eigene Faust.

Shouldn´t you get 1 pcs of each in the cart?

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jenkinhill

I just tried again and got one of each in the cart. Strange!

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Milbo

The js has an error for me and so it does not work. Some optimiser works there jch. maybe there is the reason.

"TypeError: $(...).vm2front is not a function"
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

melsonmarketing

#5
I was very busy in other projects the last weeks.

Thanks for your hint.

I already tried to disable the plugin - unfortunately without success. Also tried to adjust the level of compression and to exclude menu-items, extension etc.

I also reinstalled Virtuemart - no changes.

Updated in the meantime to J3.8.1 und switched to Php 7 - the problem remains.

It hasn't be so worse until now because most customers booked a tour (ARTIO Booking is used for this) - but now the coupon-season starts (Virtuemart + SPIRAL Download).

I'm glad for any further tips

Regards
Michael

Olajo

Hi!
Have you tried to activate Use ajax script for countries/regions in Virtuemart configuration (template).

Regards

Studio 42

vm2front is loaded in file YOURSITE\components\com_virtuemart\assets\js\vmsite.js
Disable jchoptimise and check if the file is loaded.
If not, then check your config about virtuemart javascript front script loading.
jch give many troubles and sometime do not get better pagespeed and with http2 load slower because browser parallel donwload used now in 95% of browser see https://caniuse.com/#search=http2

melsonmarketing

Thanks for your tip Olajo!

Enabling countries / regions did the trick!

@Studio42: Thanks but as I wrote I tried with and without JCH and even without template-override it didn't work.

But finally it's solved thank you to all!