WCMp Vendor Vacation
-
AuthorPosts
-
-
October 3, 2022 at 7:41 PM #142488
Rashidi Mohsen
ParticipantHi Support Team
I am designing a delivery platform and for that I choose WCMP frontend+vacation
But I need 2 intervals of opening and closing in one day
Indeed, each restaurant is closed during the afternoon and re open at the beginning of the night but I can’t indicate this in your plugin
Please can you help me ?
Thank you so much by advance
Best regards -
October 5, 2022 at 1:30 PM #142569
Rashidi Mohsen
ParticipantHi Support Team,
In addition to my previous message, I need your help for other WCMP vacation feature
Indeed, when a shop is closed, a message appears ok but in case of the shop doesn’t want to sell the add button cart remains.
How can I shut off the button add cart ?
I need also to allow the customer to choose a slot time delivery. I see on the forum your solution with Woo commerce booking plugin but it isn’t convenience for me. I see also to add a code in function.php for each product
but it is not the solution for me either because the schedules do not depend on the product but on each store so I need to display time slots according to the store on its own opening hours. What is the solution to achieve this?
Thank you so much by advance for quick reply
Best regards -
October 6, 2022 at 1:22 PM #142610
NerdySupportExpert Moumita
KeymasterHi Rashidi Mohsen, thanks for reaching WCMp Support.
Our replies are inline :
– I am designing a delivery platform and for that I choose WCMP frontend+vacation
But I need 2 intervals of opening and closing in one day>> Currently we have support for a single open and closed time.
But if you want to add support for two open and close time, then you have to do custom code.
Do you have any developers so we can guide them accordingly?– when a shop is closed, a message appears ok but in case of the shop doesn’t want to sell the add button-cart remains.
How can I shut off the button add cart ?>> We have a setting to remove add to cart: https://prnt.sc/yLv_T6Tl202z
– it is not the solution for me either because the schedules do not depend on the product but on each store so I need to display time slots according to the store on its own opening hours. What is the solution to achieve this?
>> I am afraid currently there is no ready-made solution on this flow.
But you can definitely modify the code using our hook/filters. Do you have any developers so we can assit them with the coding flow? -
October 7, 2022 at 6:53 PM #142676
Rashidi Mohsen
ParticipantThis reply has been marked as private. -
October 8, 2022 at 5:56 PM #142717
GeekyCoder Abhirup
ModeratorHI,
as per your requirement you have to add huge amount of code.
Kindly wcmp-vendor_vacation/templates/wcmp_vendor_vacation_settings_template.php override and add your custom modification to add custom fields.To save the data checkout wcmp-vendor_vacation/classes/class-wcmp-vendor-vacation-frontend.php for reference.
using below filter you have to add functionality to close or open shop
apply_filters('wcmp_vacation_is_vendor_shop_open', 'default', $vendor_id, $date);
Copyfor more information check wcmp-vendor_vacation/includes/wcmp-vendor-vacation-core-functions.php
Regards,
-
October 12, 2022 at 5:55 PM #142823
Rashidi Mohsen
ParticipantThis reply has been marked as private. -
October 13, 2022 at 1:45 AM #142834
NerdySupportExpert Moumita
KeymasterThis reply has been marked as private.
-
-
AuthorPosts
The topic ‘several opening and closing intervals in one day’ is closed to new replies.