Jump to content

How do I control what shows as "new"? All imported items show as new.


Recommended Posts

I DO want to show the "new" badge. However I want to control what products it shows on, not have it based on creation date.

 

Scenarios:

 

1. Importing my entire catalog shows as "new". This is wrong - only a few of the items are new.

2. An old item that was out of stock is back in stock, thus I want to mark it "new" even though the creation date is old.

 

I have created a cetegory called "New Arrivals" and assigned new products to that category. It would be great if the "new" banner showed based on what's in that category rather than creation date.

Link to comment
Share on other sites

in this case it will be necessary to modify each template file where the badge is attached, for example: product-list.tpl file.
you can add there simple condition to check product category,

{if $product.category==15} NEW BADGE HERE {/if}

 

15 is only an example, it's a ID of category "New Arrivals"

 

 

you can use this instead of standard "new" badge.

without template modifications it will not be possible.

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