Strict item to be available on

  • Posts: 193
  • Thank you received: 11
  • Hikashop Business
4 years 8 months ago #309877

Hello,
My customer has one item available only on one day a week which is friday, can we make this item only stricket to be available only on any friday within the year, meaning only friday he can order it not any other day?
Thanks

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

  • Posts: 12953
  • Thank you received: 1778
4 years 8 months ago #309888

Hello !

The solution can be to directly :
- Set the availability date (friday) for the current week through both of your product configuration page
- Create a mass action which will be launched every week, and that will increase both of your products availability dates by 7 days.

For more information about mass actions :
www.hikashop.com/support/documentation/167-massaction-form.html

Kind regards,
Mohamed Thelji.

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

  • Posts: 193
  • Thank you received: 11
  • Hikashop Business
4 years 8 months ago #309908

Hello, and thanks for quick reply,
what do you mean by both, i was able to do the product page configuration striction see attachment

please
so when you say both what is the second configuration would be, thanks

also see the massaction i did is that right?



Thanks

Attachments:
Last edit: 4 years 8 months ago by affaf1952.

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

  • Posts: 81513
  • Thank you received: 13067
  • MODERATOR
4 years 8 months ago #309933

Hi,

The beginning of your mass action is correct.
But we're missing the "actions" area in your screenshot.
There, you should have two "update the values" action on the product_sale_start and product_sale_end field with the "operation" type and the value product.product_sale_start+XXX or product_.product_sale_end+XXX where XXX is to be replaced by the number of seconds you want to add to each date each week ( 604800 ).
Also, you need to make sure you configured your HikaShop cron under the "cron" tab of the HikaShop configuration so that the mass action can run every week.

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

Time to create page: 0.081 seconds
Powered by Kunena Forum