mercredi 22 juin 2016

WooCommerce: Display variables in url as product attributes

I want to display the variables from the URL in the product attribute option box of WooCommerce. I would like to use php $_GET[] to display the values of brand, model, eye and bridge.

URL: http://ift.tt/28Lr9SW

I already tried modifying the wc_dropdown_variation_attribute_options() function but it doesn't seem to work.

How can I do it?

Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire