Our WooCommerce Multi Inventory Plugin has built in shortcodes you can use:

Change Inventory Shortcode

[woocommerce_multi_inventory_change_inventory select_store_text="Select Store" 
your_store_text="Your Store: "]

This shortcode can be used in any header, widget or content of your WordPress page to show a link with the current user selected inventory location. When clicked the customer can change the inventory by a popup, that will appear.

Show Inventories on Product Page

[woocommerce_multi_inventory_show_inventories]

Use this for custom built product pages like with Elementor or similar. 

3 thoughts on “WooCommerce Multi Inventory Shortcodes

  1. James Crane says:

    When placing the change inventory shortcode into elementor, the link works in while previewing within the elementor page builder, but not when the actual page is previewed or published. Do you have any idea what I can do to fix this?

  2. Phil

    The Real Person!

    Author Phil acts as a real person and verified as not a bot.
    Passed all tests against spam bots. Anti-Spam by CleanTalk.
    says:

    [woocommerce_multi_inventory_show_inventories] doesnt show anything, but i have inventories included. What now?

Leave a Reply

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