Jump to content

Availability in prestashop 1.7 in checkout page


Recommended Posts

Hello,

 

Do you know how to display the availability of the product on the cart-detailed-product-line.tpl on Prestashop 1.7.5.2?

The variable {product.quantity} is the quantity on the cart so Ican't use that.

My product are allowed out of stock. But I want an "In stock" label if the stock is > 0 and a "Pre-order" label if the quantity =< 0.

I can't use {$product.allow_oosp} because they are all allowed oosp.

Regards,

 

Link to comment
Share on other sites

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...