Woocommerce change price by hook (or another way) from "Woocommerce bookings and appointments" plugin by [login to view URL]

Closed Posted 3 months ago Paid on delivery
Closed Paid on delivery

I am looking for a developer who can help me create a custom plugin or add-on to change the pricing structure of my products or services based on factors such as duration. I am using the "Woocommerce bookings and appointments" plugin by [login to view URL], but I am open to suggestions for additional features or modifications. My ideal candidate should have experience with custom plugin development and be familiar with using hooks.

General background of my website

The website rent rooms based on hourly rental.

Base cost of room: 300 (6 blocks of 30 minutes).

Minimum price for 3 hours it's 300 (6 blocks of 30 minutes)

The customer can order less then 3 hours but the price will be at least for 3 hours.

Block cost: 50 (30 minutes per block).

#################################

The plugin support Cost Rules and I control prices for all hours.

But I can't find solution for specific scenario.

My goal is to add rule that change the price to 50% if new order time set by customer between 10PM to 10AM.

To get this discount, the minimum order hours must be at least 6 hours.

So if customer order 4 hours from 11PM to 3AM the price will be regular without discount: 400

If customer order 7 hours from 11PM to 6AM the price will be 600 instead 700

For example: the final price should be ....

10pm to 1am: 300$

10pm to 2am: 400$

10pm to 3am: 500$

10pm to 4am: 600$

10pm to 5am: 600$

10pm to 6am: 600$

10pm to 7am: 600$

10pm to 8am: 600$

10pm to 9am: 600$

10pm to 10am: 600$

For more scenarios chat with me...

The parameters we need:

Booking Duration: This parameter represents the duration of the customer's booking in hours or minutes.

Base Cost: This parameter represents the base cost of the room for the specified duration.

Block Cost: This parameter represents the cost per block of time (e.g., 30 minutes) for the specified duration.

Time Restrictions: This parameter includes the time range during which the discount should be applied (e.g., between 10 PM and 10 AM).

Discount Percentage: This parameter represents the percentage by which the price should be reduced during the specified time range.

Minimum Order Hours: This parameter represents the minimum number of hours required for the discount to be applied.

By using these parameters, you can calculate the final price based on the customer's booking duration and the time restrictions.

The custom plugin will need to implement the necessary logic to determine the appropriate price based on these parameters.

The default price of the order should be replace with new calculated value in the WooCommerce process as cart, checkout, payment, mail notifications, order, and so on ...

#################################

My requests

The solution must contain explanation / documentation

Avoid changing the plug-in's source files

If you will create plugin for this it will be better then HOOKS. Because I will be able to change the price rules more friendly.

###################################

I found similar solution that should help us to find quick solution

[login to view URL]

PHP WordPress WooCommerce CSS HTML

Project ID: #36715793

About the project

63 proposals Remote project Active 2 mos ago

63 freelancers are bidding on average $197 for this job

cmitexperts

Hi there! Did go through your job description and glad to share that I have experience in working with wordpress and woocmmerce add-on development platform. I have more than ten years of industry experience and have More

$230 USD in 7 days
(435 Reviews)
8.2
evgendob

Hello. WordPress development expert ready to help you with a project. I have more than 400 good reviews and more than 11 years of development experience behind, so all job will be done with the best quality and timefra More

$250 USD in 7 days
(688 Reviews)
8.3
managersingh

Hi Hope you are doing well, READY TO START NOW As an experienced wordpress developer, I consider myself a perfect match for this job because I am working as a Web Developer for the last 7+ years. Your requirements ar More

$200 USD in 7 days
(280 Reviews)
8.1
gauravgargcs

Hello, Hope you are doing great, i have a 8+ year experience for woo commerce development and designing, as per your work requirements which you mentioned in project description i can do your work , Lets connect thro More

$250 USD in 7 days
(310 Reviews)
8.1
SBITServices

Hi , I will use Action,Filters(Hooks) to implement the price rules as per the durations explained in description. I have strong experience with woocomerce plugin. I can implement new functionalities to Woocomerce plu More

$250 USD in 7 days
(258 Reviews)
7.6
inertiasoftltd

Greetings, I am here to assist you in creating a custom plugin or add-on to modify the pricing structure of your products or services based on factors like duration. Whether you're using the "woocommerce bookings and a More

$120 USD in 2 days
(115 Reviews)
7.3
vashishtrupinder

Hi I AM READY TO START NOW I read through the job details carefully and I am absolutely sure that we can do the project very well. In a nutshell, I'm a freelancer with more than 7 years of work experience. Expert More

$140 USD in 7 days
(174 Reviews)
7.3
akhileshsharma09

Hi I am wordpress expert and have more than 6+ years of experience in plugin development and customisation. I assure you that I can hook into woocommerce to add prices conditionally as per requirement Please contact m More

$250 USD in 1 day
(134 Reviews)
6.5
ShrineWeb

I have some queries in relation to the specifications that you have provided. Could we please have a word? My Skills: WordPress, CSS, PHP, WooCommerce and HTML

$30 USD in 10 days
(166 Reviews)
6.9
Waqaskhan591

Hello There, I have 8 years of Professional experience in WordPress websites and plugins development. I will create custom plugin for your website that will change the structure of your Products and services. Lets ha More

$500 USD in 7 days
(118 Reviews)
6.8
Eminencehub

I understand your goal of changing the pricing structure of your products based on factors such as duration. With our experience in designing and developing websites, we can help you create a custom plugin or add-on th More

$140 USD in 7 days
(113 Reviews)
6.4
danishshoaib

Hello Itay M., I have read your requirements for Woocommerce change price by hook (or another way) from "Woocommerce bookings and appointments" plugin by luginhive.com. I am a professional WordPress developer with 7 More

$180 USD in 7 days
(43 Reviews)
6.2
rashidamjad

Hi there, How are you? I have gone through your project details. I would like to tell you that l have a great bunch of experience in WooCommerce, CSS, PHP, HTML and WordPress. For that I would require from your end to More

$250 USD in 8 days
(22 Reviews)
5.5
sku5551ed6fd9643

Dear Client, I've read through the job details carefully you need a developer who can help me create a custom plugin or add-on to change the pricing structure of my products or services based on factors such as duratio More

$250 USD in 7 days
(61 Reviews)
6.0
worldbestcon

"Hope you are doing Great Today" Hello there, I am senior Full stack developer and i can ASSIST you in any type of task ( i.e. building a Informatic Website, Ecommerce website, LMS Website, Custom Plugins, Figma desig More

$100 USD in 4 days
(96 Reviews)
5.9
Shikha510

!! Being ✔Full Stack WordPress/Woo-commerce Developer !! Hello, Greetings of the day !! Yes, I completely understood you're all requirements. I have proven working experience in WordPress/Woo-commerce developments. So More

$300 USD in 5 days
(17 Reviews)
5.7
EmmaWat

Greetings! I have read your description carefully and understand what you actually need. I am an experienced developer and can handle this project easily and in perfect manner. I am available now and can start right aw More

$250 USD in 4 days
(5 Reviews)
5.4
luiscarlos117

Hi there. I would like to challenge your project, as a Woocommerce expert. I'm confident that I can deliver a high-quality website for you that meets your expectations and goals. Please get in touch with me. Best R More

$155.56 USD in 3 days
(29 Reviews)
5.7
idaniel13

Hi, The stackoveflow link is correct, just that in your case we would need to change a few more things, like adding an interface for the ranges and the time slot discount. Thanks, Daniel

$200 USD in 3 days
(30 Reviews)
5.0
veselidevelop

Hello I just checked your job description basically. SPECIALLY I complete very similar project before so I'm sure I can do your project with 100% quality in short time. As a full stack web & mobile developer I have More

$155 USD in 4 days
(23 Reviews)
5.3