VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: sean_nwfs on June 04, 2018, 20:33:05 PM

Title: Child Variants not displaying
Post by: sean_nwfs on June 04, 2018, 20:33:05 PM
I have a brochure that we offer in English and Spanish and I have them functioning fine on my current site. My staging site isn't allowing the generic child variant to display the two options.  I have tested this on protostar template as well as my custom template and it behaves the same way.  It displays a drop-down that says, "Select:" and the only option is "Select." How can I get my child variants to display from the drop-down list?

Product page:

https://staging4.symptopro.org/catalog/books-brochures-and-supplements/nfp20-fam-pl-dec-1222-detail.html

VirtueMart 3.2.14
Joomla! 3.8.7
Title: Re: Child Variants not displaying
Post by: aftertaf on June 04, 2018, 23:58:32 PM
Works for me:
http://www.socouture.fr/en/gift-certificates

how is your custom field setup ?
You are displaying the parent, right ?
And the children are published ?
Title: Re: Child Variants not displaying
Post by: sean_nwfs on June 05, 2018, 00:06:57 AM
The product linked is the parent and the children are published. If I set this up as a multivariant it shows the children (but missing prices).

Current custom field is: Generic child variant
Show title: yes
Published: yes
Car Attribute, input, searchable: No
Layout Position: addtocart
Admin Only: no
Hidden: no
Display Parent: No
Parent Orderable: No
Show Price: Yes
Use Ajax: No
Title: Re: Child Variants not displaying
Post by: Studio 42 on June 05, 2018, 01:00:39 AM
Have you stock ?
If you disable product without stock in VM config, you dont see the childrens

If you need to customize the layout you can check this plugin https://shop.st42.fr/en/products/product-child-variants.htm
Title: Re: Child Variants not displaying
Post by: sean_nwfs on June 05, 2018, 17:09:03 PM
I do have product in stock but I also have "Products out of stock are orderable, no special action" selected.
I added the multi variant option on the product to show that it will display both child products, but without pricing. I have other products with children but none of them are displaying their children products with the generic child variant custom field.
Title: Re: Child Variants not displaying
Post by: Jörgen on June 05, 2018, 19:40:14 PM
I get a gateway timeout for the protostar template:

https://staging4.symptopro.org/catalog/books-brochures-and-supplements/nfp20-fam-pl-dec-1223-detail.html&template=protostar (https://staging4.symptopro.org/catalog/books-brochures-and-supplements/nfp20-fam-pl-dec-1223-detail.html&template=protostar)

Is this template not installed anymore ?

regards

Jörgen @ Kreativ Fotografi
Title: Re: Child Variants not displaying
Post by: sean_nwfs on June 05, 2018, 19:46:36 PM
It's still installed.  I will change the template style on the category the product is in to Protostar.