Jump to content

Creating new product flag - available for order


Recommended Posts

Hi,

I need to create a new product flag which says something like "24h" or "available".

I made a few changes in ProductPresenter.php (i'm using Prestashop 1.7.2.4) and created it with the condition that it should appear if product quantity is not zero.

Now it works but not for all products. Flag won't appear if product has combinations and quantity of default combination is 0 (when default combination quantity is 1 or more than it works as it should).

Any solutions?

Edited by szymon.galaska (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...