Jump to content

[not solved] edit default-bootstrap theme


delete-account-pleas

Recommended Posts

Hey all,

 

I want to make a few small changes into prestashop 1.6.0.9 - default-bootstrap theme.

 

What do i want to change?

 

in product-list.tpl:

 

i want to add the following:

..
	{elseif $product_Attribute_quantity > 0}
		<span class="available-now">
		<link itemprop="availability" href="http://schema.org/InStock" />{l s='In Stock'}
	</span>
        {else}
...

It need to check if quantity ($product_Attribute_quantity) is available in PREFIX_stock_available where quantity is bigger then 0 if so display "in stock"

 

anyone knows how to assign $product_Attribute_quantity to PREFIX_stock_available.quantity ?

 

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