Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Display stock availability in a separate section?

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Display stock availability in a separate section?

Tagged: inventory, stock availability

  • This topic has 5 replies, 2 voices, and was last updated 10 years, 1 month ago by rob.marras.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • April 10, 2015 at 8:29 pm #12486
    rob.marras
    Member

    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

    April 11, 2015 at 1:55 am #69545
    admin
    Keymaster

    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:

    https://support.tipsandtricks-hq.com/forums/topic/dynamically-create-custom-product-displays-using-product-detail-shortcodes

    April 11, 2015 at 11:38 am #69546
    rob.marras
    Member

    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?

    April 11, 2015 at 11:41 am #69547
    rob.marras
    Member

    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?

    April 11, 2015 at 11:56 pm #69548
    admin
    Keymaster

    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.

    April 12, 2015 at 9:56 am #69549
    rob.marras
    Member

    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.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ