Jump to content

Make modification on ajax_block_product in prestashop 1.6


Recommended Posts

Hi everybody,

 

At first, sorry in advance if my english is not good.

 

I try to make modifications on my default theme.

I want that : when a product is out of stock, the mention "Out of stock" don't appear on the ajax_block_product in the category page and on the main page (text and block), but appear on the product page (text and block).

I want to make this modification, because I want to change the text on the product page. I want to write available on preorder.

I hope you will understand what I'm looking for.

Think in advance.

 

Catia

Link to comment
Share on other sites

Hi cotoko,

 

Thinks for your quickly answer.

Ok for the text, I will try this way, but if I want that the orange bock and the text don't appear on the ajax_block_product ??

 

I want that the block and the text appear only on the product page.

 

Tell me if I'm not clear.

 

Thinks for the answer.

Catia

Link to comment
Share on other sites

  • 3 weeks later...

Ah yes I created a module for preorder items

And I can't tell you how to do what you want

cause I'm working in other things in my web, I and still didn't reach that point

like the sections of each...

Is just to add an if quantity<=0 }peorder{else etc

I supose

but it have not too much sense, cause what will happen when you really will be outofstock?

I have the backorder when i accept orders when in zeros

preorder, before the product is realesed, also in zeros but with an specified date for everyone

sorry if my english is worst than yours lol

I also speak spanish and a little of french :P

if you want to contact me

 

 

 

Edited by Kyasarin (see edit history)
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...