Add 50% when the day is a weekendday [RESOLVED]

Hi,

I have a bicycle rental company where we deliver bikes. In the weekend we add 50% to the delivery costs. How can I add that 50% to my price when a user wants to get the bikes on a Saturday or Sunday?

See the form: Aanvraag bezorging - EasyFiets

You could make use of Gravity Wiz’s Conditional Date perk, which allows you to display fields based on a specific day of the week.

If you only have a handful of pricing fields, duplicate each one, adjust the price for the weekend, and then enable the correct conditional logic on all pricing fields. Don’t forget to hide the weekday pricing fields.

If you have a lot of pricing fields that change regularly, you might look at another Gravity Wiz perk called Conditional Pricing.

Disclaimer: I don’t work for Gravity Wiz. They just make really useful products.

2 Likes

Hi Jake, thanks for the reply! The problem is this: the delivery is not a product, so the conditional pricing does not work. The price is also dependant on the distance and number of bikes. The display fields might work, but I do need one number at the end to show the total price.

What I’m trying right now is that a radio field gets filled dependent on the weekday/weekendday. Then use that value in a price calculation, if possible. Not there yet.

Found it!

Fields that are hidden are not taken into calculations. So I used conditional logic to determine wether a radio button should be visible, depending on the weekendday. Then I use that value in my calculations.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.