Post by MissLiss » Fri Mar 09, 2012 10:17 am

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

New member

Posts

Joined
Thu Mar 08, 2012 5:33 pm

Post by MissLiss » Fri Mar 09, 2012 9:09 pm

bump

New member

Posts

Joined
Thu Mar 08, 2012 5:33 pm

Post by uksitebuilder » Tue Mar 13, 2012 12:08 am

open: catalog/view/theme/default/template/checkout/cart.tpl

find and delete

Code: Select all

                <?php if (!$product['stock']) { ?>
                <span class="stock">***</span>
                <?php } ?>

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by MissLiss » Wed Mar 14, 2012 12:09 pm

haha, thanks :)
Not quite what i was expecting but it will do the trick as long as we never have to worry about stock levels!

New member

Posts

Joined
Thu Mar 08, 2012 5:33 pm
Who is online

Users browsing this forum: Amazon [Bot] and 77 guests