Jump to content

Remove "stock" In Checkout


ZoXx

Recommended Posts

  • 2 weeks later...

I dont know...

 

i edit /themes/mytheme/shopping-cart-product-line.tpl

 

Line 36...
 

{if $PS_STOCK_MANAGEMENT}
		<td class="cart_avail"><span class="label{if $product.quantity_available <= 0 && isset($product.allow_oosp) && !$product.allow_oosp} label-danger{elseif $product.quantity_available <= 0} label-warning{else} label-success{/if}">{if $product.quantity_available <= 0}{if isset($product.allow_oosp) && $product.allow_oosp}{if isset($product.available_later) && $product.available_later}{$product.available_later}{else}{l s='In Stock'}{/if}{else}{l s='Out of stock'}{/if}{else}{if isset($product.available_now) && $product.available_now}{$product.available_now}{else}{l s='In Stock'}{/if}{/if}</span>{if !$product.is_virtual}{hook h="displayProductDeliveryTime" product=$product}{/if}</td>
	{/if}

to:

{if $PS_STOCK_MANAGEMENT}
		<td class="cart_avail">{hook h="displayProductDeliveryTime" product=$product}</td>
	{/if}
Clear cache and smarty but it doenst work.
 
Edited by ZoXx (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...