Author Topic: Childvariants don't work anymore  (Read 388 times)

melsonmarketing

  • Beginner
  • *
  • Posts: 26
Childvariants don't work anymore
« 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?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26358
  • Always on vacation
    • Jenkin Hill Internet
Re: Childvariants don't work anymore
« Reply #1 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.
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.4 on Joomla 3.8.1 PHP 7.0.23

Testing VM3.2.5 on J!3.8.1

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1097
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.5
Re: Childvariants don't work anymore
« Reply #2 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
Joomla 3.8.1
Virtuemart 3.2.5
Olympiantheme Hera (customized)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26358
  • Always on vacation
    • Jenkin Hill Internet
Re: Childvariants don't work anymore
« Reply #3 on: September 14, 2017, 16:33:11 pm »
I just tried again and got one of each in the cart. Strange!

Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.4 on Joomla 3.8.1 PHP 7.0.23

Testing VM3.2.5 on J!3.8.1

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9372
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Childvariants don't work anymore
« Reply #4 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"
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

melsonmarketing

  • Beginner
  • *
  • Posts: 26
Re: Childvariants don't work anymore
« Reply #5 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

Olajo

  • Beginner
  • *
  • Posts: 2
  • A beginner
Re: Childvariants don't work anymore
« Reply #6 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

Studio 42

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2333
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Childvariants don't work anymore
« Reply #7 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

melsonmarketing

  • Beginner
  • *
  • Posts: 26
Re: Childvariants don't work anymore
« Reply #8 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!