News:

Support the VirtueMart project and become a member

Main Menu

Custom field Yes / No variant, if no than hide the value

Started by wnrdesign, November 04, 2013, 10:37:15 AM

Previous topic - Next topic

wnrdesign

Hi Guys,

I'm currently developing a website and the customer asked me for the following feature:

He wants to select the type of product in the backend (car type) in the backend on which the product fits.

I've created a parent and i've attached the different car types as a child custom field with the value yes or no

This workes great, although when the value is no, this type of car needs to be hided on the frontend


For example:

Steering Wheel:

Fits on the following cars:

Audi: yes
Honda: yes
Renault: no (on the frontend, thisone needs to be invisible).

Now all the values are visible.

Could someone help me?

Kind Regards,

Wouter de Vries