stock quantity right behind product price (4 posts)

  1. kaqp
    Posted 5 years ago #

    Can anyone tell me please, how i can display, how much selected product is available for customers. In single product page
    Sorry, for my English :(

    Exmpl. Testproduct @ £7.99 , Products avaible: 44 ,Qty:[ 1] [ADD TO CART]

  2. elfin

    Plugin Author

    Posted 5 years ago #

    Specifically, there you can't.

    look at using the eshop_details shortcode to display the stock available:

  3. kaqp
    Posted 5 years ago #

    Thanks for fast reply!
    When i use
    <?php echo do_shortcode( '[eshop_details show="sku"]' ); ?>
    all is ok, and sku shows
    but whne i put
    <?php echo do_shortcode( '[eshop_details show="stockqty"]' ); ?>
    there is nothing, what i do wrong ?

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    Display product details normally used for the add to cart form. Attributes:
    * show: Comma delimited list of details to display. The list determines the order in which these are displayed. Acceptable values (default order): sku, description, options, optionset, shipping


    You cannot use stockqty with eshop_details

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic