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"]

1 thoughts on “Product Accessories Shortcodes

  1. Simon says:

    How can I get the plugin to stop loading the accesories to the top of my page.
    I’m using the shortcode to load them to a specific location below the product description.

Leave a Reply

Your email address will not be published. Required fields are marked *