[Skip to main content](#vessel-content)

#   badge "new"

##

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

10 years 5 months ago [\#243047](#243047) by [french150](/forum/user/17940-french150 "View french150's Profile")  *[badge "new"](/forum/26-product-category-display/885081-badge-new#243047 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")* was created by *[french150](/forum/user/17940-french150 "View french150's Profile")*

Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that.
Best regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

10 years 5 months ago -  10 years 5 months ago [\#243051](#243051) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243051 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Hello,

You can have this kind of featuring with your badge with date condition.
For this follow these steps :
- Go to **Components** =&gt; **HikaShop** =&gt; **Configuration**
- In **Products** dropdown select **Badges**
- Create a new **Badge method**
- Have a look on this specific part for add **date restrictions**

[ ![Badges.png](/forum/attachment/32087) ](/forum/attachment/32087 "Badges.png")

Hope this will help you.

Regards

- [ ![Badges.png](/forum/attachment/32087) ](/forum/attachment/32087 "Badges.png") [ ](/forum/attachment/32087?download=1 "Badges.png")

Last edit: 10 years 5 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

10 years 5 months ago [\#243124](#243124) by [french150](/forum/user/17940-french150 "View french150's Profile")  Replied by *[french150](/forum/user/17940-french150 "View french150's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243124 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

But in those fields i can set start and end date. This is different respect set a relative period, for example in the first 30 days from the item is published.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

10 years 5 months ago [\#243159](#243159) by [french150](/forum/user/17940-french150 "View french150's Profile")  Replied by *[french150](/forum/user/17940-french150 "View french150's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243159 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Honestly i think that you should add the features to set several statuses of the product (new, hot, featured, updated....). Admin can set the parameters about any status (for example: the first 30 days the product is published active the NEW status or the product bought more than x times is HOT or the product edited is UPDATED for x days....). And also let admin associate for every status a badge icon so the badge and the status are managed automatically. Provide please the layout to show many and status and icons too for the same product.
What do you think?
Best regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[korzo](/forum/user/34428-korzo "View korzo's Profile")**
- [![korzo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34428.png)](/forum/user/34428-korzo "View korzo's Profile")
- [ Offline](/forum/user/34428-korzo)

Less More

- Posts: 193
- Thank you received: 76
-
-

10 years 5 months ago [\#243163](#243163) by [korzo](/forum/user/34428-korzo "View korzo's Profile")  Replied by *[korzo](/forum/user/34428-korzo "View korzo's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243163 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

This is the way we do it in our shop:
- create a category for new products that is not visible in your shop
- create a NEW badge for this category
- create a mass action to add new products to this category (see screenshot) that is triggered daily/hourly
- create opposite mass action to remove products older than 1 month from this category

- [ ![mass&#95;action&#95;badge.png](/forum/attachment/32119) ](/forum/attachment/32119 "...tion&#95;badge.png") [ ](/forum/attachment/32119?download=1 "...tion&#95;badge.png")

The following user(s) said Thank You: [n00bster](/forum/user/56367-n00bster "View n00bster's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

10 years 5 months ago -  10 years 5 months ago [\#243169](#243169) by [french150](/forum/user/17940-french150 "View french150's Profile")  Replied by *[french150](/forum/user/17940-french150 "View french150's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243169 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Ok thanks for your reply. This feature works not so good. Two much steps to do a so simple thing. The way i suggested is easier. Like you say i have to create an hidden category, add the badge to that category, create 2 mass actions..... OMG!
I'll take a look.
Thanks
Best regards

Last edit: 10 years 5 months ago by [french150](/forum/user/17940-french150 "View french150's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

10 years 5 months ago [\#243175](#243175) by [french150](/forum/user/17940-french150 "View french150's Profile")  Replied by *[french150](/forum/user/17940-french150 "View french150's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243175 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

One question please: when you say "create a category is not visible in your shop" do you mean that i have to set the access level of the category to make it visible only to me?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 5 months ago [\#243181](#243181) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243181 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Hi,

The best is to create a "public" category (so default status) but not listed on any listings in frontend.

The following user(s) said Thank You: [french150](/forum/user/17940-french150 "View french150's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

10 years 5 months ago [\#243223](#243223) by [french150](/forum/user/17940-french150 "View french150's Profile")  Replied by *[french150](/forum/user/17940-french150 "View french150's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243223 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

At this point it's better adding the actions "add badge to the product" and "remove badge from the product" in mass actions. In this way we can skip the step to create hidden category and this is more simply.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[korzo](/forum/user/34428-korzo "View korzo's Profile")**
- [![korzo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34428.png)](/forum/user/34428-korzo "View korzo's Profile")
- [ Offline](/forum/user/34428-korzo)

Less More

- Posts: 193
- Thank you received: 76
-
-

10 years 5 months ago [\#243277](#243277) by [korzo](/forum/user/34428-korzo "View korzo's Profile")  Replied by *[korzo](/forum/user/34428-korzo "View korzo's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243277 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

> french150 wrote: One question please: when you say "create a category is not visible in your shop" do you mean that i have to set the access level of the category to make it visible only to me?

My structure of categories looks like:
product category
- Products (here are all products and categories visible in eshop)
- Sales
- New
- Promotions

Only category Products is visible in eshop. This way you can use Sales, New... categories for badges, options... and they are not visible on site.

Mass actions are very powerful and once you understand the concept, together with categories it opens endless possibilities.

Even it sounds complicated, it's matter of minutes to set it up.
Once you created first mass action, copy it, replace &gt; with &lt; in filters and change action to remove category.

Here is screenshot of our mass action to remove categories. 175 is id of our category for "NEW" badge. I added it for performance reasons, because we have over 10000 products.

[ ![mass&#95;action&#95;remove.png](/forum/attachment/32141) ](/forum/attachment/32141 "...ion&#95;remove.png")

- [ ![mass&#95;action&#95;remove.png](/forum/attachment/32141) ](/forum/attachment/32141 "...ion&#95;remove.png") [ ](/forum/attachment/32141?download=1 "...ion&#95;remove.png")

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile"), [french150](/forum/user/17940-french150 "View french150's Profile"), [n00bster](/forum/user/56367-n00bster "View n00bster's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

10 years 5 months ago -  10 years 5 months ago [\#243303](#243303) by [french150](/forum/user/17940-french150 "View french150's Profile")  Replied by *[french150](/forum/user/17940-french150 "View french150's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243303 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

So if i want assign several badges do i have to create hidden category for each one? And please could you explain me better the time you set? I suppose the number is 2 month in seconds, so?

Last edit: 10 years 5 months ago by [french150](/forum/user/17940-french150 "View french150's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 5 months ago [\#243334](#243334) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243334 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Hi,

Yes, that's a good way of doing it. And yes, the time there is the number of seconds.
So the rule "product_created &lt; {time}-5184000" means "only the product created more than 60 days ago".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

10 years 5 months ago [\#243699](#243699) by [french150](/forum/user/17940-french150 "View french150's Profile")  Replied by *[french150](/forum/user/17940-french150 "View french150's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#243699 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Ok. Only i don't understand why do i have to create several hidden categories to assign badge. It would be more easy create the actions "assign badge to product" and "remove badge from product" and manage them with mass actions feature.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

10 years 4 months ago -  10 years 4 months ago [\#244435](#244435) by [french150](/forum/user/17940-french150 "View french150's Profile")  Replied by *[french150](/forum/user/17940-french150 "View french150's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#244435 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

> Xavier wrote: Hi,
>
> The best is to create a "public" category (so default status) but not listed on any listings in frontend.

How i don't list on any listings on front end the category? It's enough don't add the category on display section of link menu?

[ ![Schermata&#95;2016-06-30&#95;alle&#95;10&#95;54&#95;02.png](/forum/attachment/32408) ](/forum/attachment/32408 "...e&#95;10&#95;54&#95;02.png")

- [ ![Schermata&#95;2016-06-30&#95;alle&#95;10&#95;54&#95;02.png](/forum/attachment/32408) ](/forum/attachment/32408 "...e&#95;10&#95;54&#95;02.png") [ ](/forum/attachment/32408?download=1 "...e&#95;10&#95;54&#95;02.png")

Last edit: 10 years 4 months ago by [french150](/forum/user/17940-french150 "View french150's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 4 months ago [\#244465](#244465) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#244465 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Hi,

It depends if the category in question is a subcategory of the "Manuali" category or not.

The best is to create two categories under the "Product category" (which is the root one), for example a categogy "common categories" and another one "hidden categories", and move all the current categories under "common categories".

This way the hidden categories will never be displayed on frontend and can be used to add the restrictions.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

10 years 4 months ago [\#244543](#244543) by [french150](/forum/user/17940-french150 "View french150's Profile")  Replied by *[french150](/forum/user/17940-french150 "View french150's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#244543 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Ok i got it.
A suggestion please: i want create mass action to add or remove the updated badge to products. So i created the hidden category for updated products and i create 2 mass actions to add or remove them thanks to the advanced date picker custom field "ultimo aggiornamento" (means latest updated). This is field is not required so i set the date only when i update the product. How to update the product? In my case the product is an ebook so i delete and add the new file simply. My question is: the component knows that i updated the product like i told you above? If it is so, can i use the trigger "after the product is created" instead of the procedure i told you above?

I attach the actual procedure i use to add the "updated" badge to the product.
Best regards

[ ![Schermata&#95;2016-07-01&#95;alle&#95;10&#95;06&#95;26.png](/forum/attachment/32436) ](/forum/attachment/32436 "...e&#95;10&#95;06&#95;26.png")

- [ ![Schermata&#95;2016-07-01&#95;alle&#95;10&#95;06&#95;26.png](/forum/attachment/32436) ](/forum/attachment/32436 "...e&#95;10&#95;06&#95;26.png") [ ](/forum/attachment/32436?download=1 "...e&#95;10&#95;06&#95;26.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 4 months ago [\#244565](#244565) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#244565 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Hi,

The "after a product is created" trigger is only processed when a new product is created. So that's not what you want to use. You would have to use the "after a product is updated" trigger.
But that's not logical for what you want to do.
If you use that trigger, your mass action will only be called when you save the product.
If you set your date as today and check that the date is two month ago, it means that your mass action will only run when you click on the "save" button of the product and that the date in that field is 2 months in the past.
I don't think that it's what you want.
That's why the trigger "every hour" is adapted, so that it checks each hour if the date is 2 months in the past yet or not and only run when that's the case, when you doing something.

The following user(s) said Thank You: [french150](/forum/user/17940-french150 "View french150's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

9 years 9 months ago [\#262282](#262282) by [french150](/forum/user/17940-french150 "View french150's Profile")  Replied by *[french150](/forum/user/17940-french150 "View french150's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#262282 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Hi. I set the mass action to add/remove new badge to product and add/remove updated badge to products by following the above instructions. The problem is that the mass action don't work properly and i continue to see NEW (nuovo in italian) and UPDATED (aggiornato in italian) on my products.
If you want you can check on my backend to see what's wrong.
Thanks
Best regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

9 years 9 months ago [\#262323](#262323) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#262323 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Hi,

Can you provide a screenshot of the settings of your mass action ?
Can you also check that your cron task has been configured properly:
[ www.hikashop.com/support/documentation/5...cron-task.html#check](https://www.hikashop.com/support/documentation/55-hikashop-cron-task.html#check)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[french150](/forum/user/17940-french150 "View french150's Profile")**
- [![french150's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/17940-french150 "View french150's Profile") Topic Author
- [ Offline](/forum/user/17940-french150)

Less More

- Posts: 106
- Thank you received: 0
-
-

9 years 9 months ago [\#262402](#262402) by [french150](/forum/user/17940-french150 "View french150's Profile")  Replied by *[french150](/forum/user/17940-french150 "View french150's Profile")* on topic *[badge "new"](/forum/26-product-category-display/885081-badge-new#262402 "Hi. How can i set x days to show NEW badge from the published date of the product? After these days are passed the badge won't be displayed. It seems i cannot do that. Best regards")*

Hi. I attach the screenshots of cron and mass action settings (remove update status)

Thanks.

Best regards

- [ ![Cronsettings.png](/forum/attachment/36352) ](/forum/attachment/36352 "Cronsettings.png") [ ](/forum/attachment/36352?download=1 "Cronsettings.png")
- [ ![massactionsettings.png](/forum/attachment/36353) ](/forum/attachment/36353 "...onsettings.png") [ ](/forum/attachment/36353?download=1 "...onsettings.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODUwODEtYmFkZ2UtbmV3P3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.120 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
