News:

Support the VirtueMart project and become a member

Main Menu

Generic Child Variant not

Started by marcel.miguel, October 03, 2014, 17:06:00 PM

Previous topic - Next topic

marcel.miguel

We have configured a Joomla 3.3.6 and VirtueMart 2.9.9e from a Bitnami VM.
We have configured "Generic Child Variant" and a product with variants.
On this product, If we change the custom fields, nothing happens but there is a javascript console error:
"updateDynamicUpdateListeners found URL attri undefined ".

We have tested it with default beez5 template without success.

John2400

#1
http://forum.virtuemart.net/index.php?topic=125948.0

The post refers to variants and stock control.. Across the custom fields . It simply mentions that they are working on them.

patbe60

As far as I can see "generic child variant" is not working. I was using it in VM 2. In VM 2.9.9e nothing happens when selecting parent or child.

I'm using "child variant" instead. Selecting is possible and works fine. The only problem is, that every time I save the product in the BE the parents product is loosing its price. Typing in the price again in the product information tab solves the problem until the next saving.

[attachment cleanup by admin]

GJC Web Design

this  refers to the the dynamic JS loading

Quote"updateDynamicUpdateListeners found URL attri undefined ".

I think your template isn't compatible - try with std Beez

check your VM templates for the calls

vmJsApi::jDynUpdate();
vmJsApi::addJScript('updDynamicListeners',"
jQuery(document).ready(function() { // GALT: Start listening for dynamic content update.
   // If template is aware of dynamic update and provided a variable let's
   // set-up the event listeners.
   if (Virtuemart.container)
      Virtuemart.updateDynamicUpdateListeners();

}); ");
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

marcel.miguel

I've just tested it again with beez3 with no luck. When selecting a variant does not change the page to the variant.

The "child variants" works ok.

Milbo

Quote from: patbe60 on October 04, 2014, 11:38:03 AM
As far as I can see "generic child variant" is not working. I was using it in VM 2. In VM 2.9.9e nothing happens when selecting parent or child.
I need to adjust the JS, thank you.

Quote from: patbe60 on October 04, 2014, 11:38:03 AM
I'm using "child variant" instead. Selecting is possible and works fine. The only problem is, that every time I save the product in the BE the parents product is loosing its price. Typing in the price again in the product information tab solves the problem until the next saving.
Thank you.

There is also some other small bug in child variants, which I am hunting. I remember that in some conditions it seems not to work and if you just store it again, it works.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

patbe60

Additionally there is also a language problem:
When using a constant (e.g. VM_YES) in the value field of generic child variant and child variant instead of a value (Yes)  the constant is not replaced by the value in the details view of a product. This happens when selcting Cart Input = yes. When selecting Cart Input = no, the correct value (Yes) is shown in the details view. This worked fine in VM 2.
In the cart and in the confirm email it works fine with both custom fields also in VM 2.9.9e.