VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: melsonmarketing on September 14, 2017, 14:28:17 PM

Title: Childvariants don't work anymore
Post by: melsonmarketing on September 14, 2017, 14:28:17 PM
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?
Title: Re: Childvariants don't work anymore
Post by: jenkinhill on September 14, 2017, 15:00:00 PM
What is supposed to happen? They work for me and the right selection is passed to the cart. Try clearing your browser cache.
Title: Re: Childvariants don't work anymore
Post by: Jörgen on September 14, 2017, 15:17:56 PM
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
Title: Re: Childvariants don't work anymore
Post by: jenkinhill on September 14, 2017, 16:33:11 PM
I just tried again and got one of each in the cart. Strange!

(https://image.ibb.co/dh8ODk/buggy.png)
Title: Re: Childvariants don't work anymore
Post by: Milbo on September 14, 2017, 17:34:11 PM
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"
Title: Re: Childvariants don't work anymore
Post by: melsonmarketing on October 13, 2017, 15:16:29 PM
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
Title: Re: Childvariants don't work anymore
Post by: Olajo on November 01, 2017, 10:40:25 AM
Hi!
Have you tried to activate Use ajax script for countries/regions in Virtuemart configuration (template).

Regards
Title: Re: Childvariants don't work anymore
Post by: Studio 42 on November 01, 2017, 17:31:23 PM
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
Title: Re: Childvariants don't work anymore
Post by: melsonmarketing on November 08, 2017, 15:19:27 PM
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!