Mass Actions and product_created

  • Posts: 147
  • Thank you received: 9
  • Hikashop Business
4 years 4 months ago #313181

Hello,

What is the format on Mass Action and the field product_created?
I would like to export a file with the products that I upload on 15-11-2019 for example.
I tried numbers or "contains" the month with not much success.

Thank you in advace.

Please Log in or Create an account to join the conversation.

  • Posts: 81428
  • Thank you received: 13058
  • MODERATOR
4 years 4 months ago #313198

Hi,

The text you enter in the input will be converted thanks to the strtotime PHP function:
www.php.net/manual/en/function.strtotime.php
Also, since you want to filter the products created on a specific day, while the product_created column stored the date + the time, you want to have two filters on the product_created column

product_created >= 15-11-2019
AND
product_created < 16-11-2019
If you try product_created = 15-11-2019, that would only give you the products created on the 15-11-2019 at midnight ( at the precise second).

Please Log in or Create an account to join the conversation.

  • Posts: 147
  • Thank you received: 9
  • Hikashop Business
4 years 4 months ago #313238

Hello,

Figured.

Thank you nicolas.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum