Skip to main content

Product restrictions : availability

9 years 7 months ago #265860 by thomillet
Hi,

My problem is, I need to have some products to be available every day but only during a specific period of time (for exemple each day from 10am to 2pm).
Is there any way to achieve that ?

In fact I'd like to have the same system as in the business opening hours plugin where you can choose start/end hours available every day without needing to specify any precise start/end date.

Any help would be very appreciate.

Thank you

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

9 years 7 months ago - 9 years 7 months ago #265867 by Mohamed Thelji
Hello,

A solution can be to directly :
- set a start/end date with the current date and precise hours
- set a mass action which will increase the product availability date every day.

www.hikashop.com/support/documentation/167-massaction-form.html
Last edit: 9 years 7 months ago by Mohamed Thelji.

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

9 years 7 months ago #265936 by thomillet
Hi,

Thanks for the suggestion, I would have never thought about mass actions as a solution.
Can you please explain how I have to set the mass action, I'm afraid I'm a bit lost on that point.

Thanks

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

9 years 7 months ago - 9 years 7 months ago #265961 by Mohamed Thelji
Hello,

Here is an example of how to configured your mass action.

Also, note that if you want it to be triggered every day at 00:00 then you'll have to change the value of the "massaction_last_trigger_days" column of the #__hikashop_configuration.
Last edit: 9 years 7 months ago by Mohamed Thelji.
The following user(s) said Thank You: thomillet

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

9 years 7 months ago #266052 by thomillet
Thanks, that works perfectly !
I still have some issues with the triggering but I'm working on it, I've probably missed something...

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

4 years 6 months ago #341094 by ler@singmuiheng.com
Hi, I have set the same as the image below, but after I click process, the product sales start and end date didn't add one day. Kindly let me know which part is missed up.

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

4 years 6 months ago #341095 by nicolas
Hi,

You need to select "operation" instead of "int".
Also, you probably also need to remove the spaces around the + signs.

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

Time to create page: 0.097 seconds
Powered by Kunena Forum