Our plugin offers 2 shortcodes. One for mandatory and the other for optional product accessories to be displayed. In the shortcode itself you can define a product id with parameter product_id. If you let this empty the shortcodes tries to get the actual product id.

[woocommerce_mandatory_accessories product_id="XX"]
[woocommerce_optional_accessories product_id="XX"]

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *