Hi,
I am using the latest opencart 1.5.2
I was wondering how to remove the asterisks in the cart if stock is low.
We make items on demand so there arent stock numbers to subtract from.
In catalogue/products/data i have set:
quanity as 1,
minumum qunatity as 1,
subtract stock as 'no',
out of stock status as 'in stock'
In system/settings/option i have set
display stock as 'no',
show out of stock warning as 'no' (removes the out of stock banner but doesn't remove the red asterisks!)
Store Checkout as 'yes'
I would have thought that if subtract stock was set to 'no' that i wouldn't get out of stock message at all!
Is this a bug or by design?
Thanks for any help you can provide.
M
open: catalog/view/theme/default/template/checkout/cart.tpl
find and delete
find and delete
Code: Select all
<?php if (!$product['stock']) { ?>
<span class="stock">***</span>
<?php } ?>
Who is online
Users browsing this forum: Amazon [Bot] and 77 guests