Multiple Variants Custom Field Stop Working After Update To 3.0.18

Started by Geppux, October 07, 2016, 10:53:09 AM

Previous topic - Next topic

Geppux

Joomla 3.6.2
VM 3.0.18
After I updated the Virtuemart version from the 3.0.16 to 3.0.18, when I choose the first variant the page doesn't show me the other variants; you can check here http://www.mulligan.it/en/golf-clubs/iron-sets/callaway-steelhead-xr-irons-detail.html
Note that when you choose the first variant "composizione set" the address change but there is not the choice of the second variant. before the update it was working correctly.
Thank you.
Giuseppe

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Geppux

Thank you GJC I solved modifying the template file.

Giuseppe

Geppux

Sorry I think I solved but it's not true.
Now, if I choose the first variant appear the variants for the second choice but  if I change the first variant it stop working... you can see it here http://www.mulligan.it/it/attrezzatura-da-golf/set-di-ferri/callaway-big-bertha-os-irons-detail.html or here http://www.mulligan.it/it/attrezzatura-da-golf/set-di-ferri/callaway-steelhead-xr-irons-detail.html

GJC Web Design

have u tested on Protostar template?

More changes may be needed .. I had to replace the JS at the bottom of the template on mine
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Geppux

I tested with Beez3 template and the problem is always the same, so I don't think it's a template issue. I can make the first choice but when I make a secon it stops working... other suggestions?

Geppux

I found the cause of the problem, now I have to find a solution... the problem is the JCH Optimizer Plugin, if I disable the "combine CSS and Javascript"  function, the Multivariant works correctly.
I can exclude single javascripts to be combined but I don't reach the goal, any suggestion? thank you.
Giuseppe

GJC Web Design

I can believe.. remember on an ajax reload the js needs to be loaded back as calls in the content so the reattach to objects etc,, head calls are ignored

It will be a case of experimenting to find which scripts to exclude  - maybe it just won't work.. how much improvement does JCH give?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

JCH Optimizer Plugin is the ultimate tool for most case, but have problem to work because VM3 load the script dynamical in the content,so any script working with VM in the header can be broken after dyn update, so to get the best from your site, remove all VM scripts from jch optimiser or add all script and declaration in your template manually.
Another solution if you have some knowledge in javascript is to call yourself dynupdates trigger >updateVirtueMartProductDetail for missing script, if this are preloaded with JCH.
See components\com_virtuemart\assets\js\dynupdate.js for more details.

Geppux

Thank you for your answers but I think that the possible solutions are beyond my ability. I opened a ticket with jch support to see if they can solve my problem.
Giuseppe