jakego Posted May 14, 2014 Share Posted May 14, 2014 How can I display the exact quantities of available product on the product page? When I go to Preferences>Products>scroll down to Product Page section, I switch the "DISPLAY AVAILABLE QUANTITIES ON THE PRODUCT PAGE" to either "YES" or "NO", the number/quantity of products available is not displayed the the item/product page. there is no change on on the product page. . nothing has changed with either "yes" or "no" Link to comment Share on other sites More sharing options...
dioniz Posted May 14, 2014 Share Posted May 14, 2014 Set to Yes and try to clear cache and recompile in Advanced parameters > Performance Link to comment Share on other sites More sharing options...
vekia Posted May 14, 2014 Share Posted May 14, 2014 you can use: {$product->quantity} variable in product.tpl file then it will display number of product that you've got in stock. 1 Link to comment Share on other sites More sharing options...
jakego Posted May 14, 2014 Author Share Posted May 14, 2014 @dioniz I tried recompiling, but it still does not show @vekia I should mention that I have a premium theme installed. Would this be the reason that the quantity is not showing? Would I place the "{$product->quantity}variable" in the product.tpl file in the premium theme folder? Also, could you tell me where in the product.tpl file I would place "{$product->quantity}variable".......Anywhere in the .tpl file or at the top? or bottom? I apologize for not being knowledgeable in tech stuff. Thanks Link to comment Share on other sites More sharing options...
webbusiness23 Posted May 18, 2014 Share Posted May 18, 2014 You need to place that piece of code exactly at the place you want the quantity to be displayed. Link to comment Share on other sites More sharing options...
Recommended Posts