- This topic has 5 replies, 2 voices, and was last updated 9 years, 7 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Display stock availability in a separate section?
Tagged: inventory, stock availability
I need to display the stock availability in a different section of the page, like:
Available: 2
But the variation option works fine but is there anyway I can show what is available and place that somewhere else in the layout independently?
Thanks
We have a shortcode for it. The following shortcode will show the stock availability of an item:
[wp_eStore_product_details id=1 info="available_copies"]
The following post has full details:
Thanks. If i use [wp_eStore_product_details id=1 info=”available_copies”] doesn’t show anything at all, the product id is correct, 1 as my add to bag button appears but not the available copies left. I use variation add on to set the stock availability and i am not using it for digital products but physical. is there anything I am missing maybe in the settings that i should double check?
Ok i see what it is happening, in the product section, there is “inventory control”, which let me set the available copies. But I am using the variation Inventory Configuration to determine how many copies are left of each variation. So that shortcode “[wp_eStore_product_details id=1 info=”available_copies”]” will show whatever available number of copies i set in the Inventory Configuration but it won’t take into account if i sold any and i now i have only 1 left for example.
how to?
We don’t have any shortcode for displaying (separately) the inventory of the variation.
If you specify the inventory for a variation then when a user tries to add the variation to the cart, it will check and make sure that the inventory is available. Otherwise it will give a message to the user.
Yes I am aware of the info appearing if not more stock available, but to be able to display remaining stock availability automatically is useful.
In this case I will have to update it manually each time I sell one.