• Resolved wordmax

    (@wordmax)


    Great that we have option to show available quantity on the pop-up check out, but for purposes of creating “scarcity” to motivate buyers, showing available quantity at the checkout does not work.

    To create sense of scarcity, customers would need to know limited supply remaining/inventory count in products descriptions before they click on buy now button to see the available quantity.

    The simple solution is a short code to display remaining quantity as the admin deems necessary. So all we need is a shortcode [quantity_available] to put it wherever on the site as needed.

    Please provide the needed shortcode to do this.

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, unfortunately at present we don’t have a shortcode for what you are trying to achieve.

    Kind regards.

    Thread Starter wordmax

    (@wordmax)

    Too bad. If you can already show quantity remaining in the payment popup, is it that difficult to create a shortcode to display it elsewhere? If you can provide any hints/tips how to go about creating a shortcode ourselves if you are not interested in improving the plugin, please let us know. Thanks.

    Thread Starter wordmax

    (@wordmax)

    For example, we can see the code on payment-popup.php (stripe-payemnts/public/views/templates/default/payment-popup.php) for the following code which displays quantity remaining on payment popup form. Can’t you just to a quick mod and turn this into a shortcode?

    <div id="available-quantity-cont" class="pure-u-1">
    	<span><?php esc_html_e( 'Available quantity', 'stripe-payments' ); ?>: </span><span><?php echo esc_html( $a['data']['stock_items'] ); ?></span>
    </div>
    Plugin Support mbrsolution

    (@mbrsolution)

    I understand your request. I have submitted a message to the developers to investigate further your request.

    Kind regards.

    Thread Starter wordmax

    (@wordmax)

    So for example we could put [stripe_quantity_available product_id=”8202″/] anywhere on a page, post or sidebar as needed to show remaining quantity for any product ID that we want. Would be super useful for promotions of products that are in high demand. Limited quantities!… thanks!

    Plugin Author mra13

    (@mra13)

    Thank you. I will try to add a new shortcode for this.

    Thread Starter wordmax

    (@wordmax)

    Hi @mra13 and @mbrsolution Please let us know the shortcode to use. We are glad to test it and give feedback, etc…Thanks!

    • This reply was modified 1 year, 7 months ago by wordmax.
    Plugin Author mra13

    (@mra13)

    We have added a shortcode for this. Shortcode detail is available on the following documentation:

    https://s-plugins.com/enabling-stock-control-products/#showing-the-available-quantity-using-a-shortcode

    Thread Starter wordmax

    (@wordmax)

    Thank you! It works great and will be useful for promoting limited availability products/services create sense of urgency for buyers. ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘What’s the shortcode for [available_quantity] ?’ is closed to new replies.