News:

Looking for documentation? Take a look on our wiki

Main Menu

Hiding empty generic child variant values in product custom field

Started by marathonjp, August 08, 2019, 00:52:10 AM

Previous topic - Next topic

marathonjp

Hello,

I have a site that has quite a number of parent/child products. The parent product is not orderable and the user must select a child from a drop-down that is constructed using a generic child variant and the parent product has a custom field using this variant and the product name. The problem I have is some products under a parent aren't available to everyone. They are only available to certain shopper groups. So what ends up happening is the system is cognizant of that fact and leaves a blank for those particular products in the drop-down instead of just removing them from display. Can I hack around this somehow so those products don't appear in the drop-down at all?

Thanks in advance,
JP