spondishy Posted September 4, 2014 Share Posted September 4, 2014 Hi, Is it possible the text on the product page that shows quantity In stock. The text is 6 items In Stock and Ready to Ship. I'd like to change to 6 in Stock and Ready to Ship. I'm using the default 1.6 theme. Thanks Link to comment Share on other sites More sharing options...
bellini13 Posted September 4, 2014 Share Posted September 4, 2014 So you want to remove the word "Items"? You don't say what version of PS v1.6 you are using, so I am assuming PS v1.6.0.9. Yes it matters.. Edit the file "\themes\default-bootstrap\product.tpl" and locate these lines of code. Should start at line 200 {if ($display_qties == 1 && !$PS_CATALOG_MODE && $PS_STOCK_MANAGEMENT && $product->available_for_order)} <!-- number of item in stock --> <p id="pQuantityAvailable"{if $product->quantity <= 0} style="display: none;"{/if}> <span id="quantityAvailable">{$product->quantity|intval}</span> <span {if $product->quantity > 1} style="display: none;"{/if} id="quantityAvailableTxt">{l s='Item'}</span> <span {if $product->quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='Items'}</span> </p> {/if} Remove the 2 span lines from this code so that the word Item or Items do not appear. <span {if $product->quantity > 1} style="display: none;"{/if} id="quantityAvailableTxt">{l s='Item'}</span> <span {if $product->quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='Items'}</span> Link to comment Share on other sites More sharing options...
spondishy Posted September 4, 2014 Author Share Posted September 4, 2014 So its time to create a child theme of some description? Link to comment Share on other sites More sharing options...
Recommended Posts