Wordpress WooCommerce booking different prices - wordpress

I bought WooCommerce booking plugin for WordPress because my client want to rent trailers. There is a problem for the different prices.
Trailer A has a price of 60 euro a day.
When someone rent it for a weekend it is 100 euro for the weekend.
For a week it will be 200 euro and for a month 500 euro.
The problem is that with date ranges its not working that way:
I booked the same item 2 times for a week. one starting from sunday to saturday and the other from monday to sunday. Both are one week but they have a different price because the weekend range date...
Is there a correct way for this? I have the same problem if i book for a month, it takes the other date ranges also.
EDIT:
When i use this date range it works better but still not 100% the good way because i wanna use round values for the client in admin & front-end

Set decimals to 0 on WooCommerce > Settings > General > Number of decimals.
It will show products that are €199.50 as €200 -this will work for the front-end but unfortunately will not work for admin.
Finally, go to WooCommerce > Status > Tools > WooCommerce transients and click on Clear Transients.

Related

Woocommerce Analytics Revenue should be based on Paid date

I use Woocommerce to add orders from admin manually. Most of my clients pay after 15 to 90 days after order is created, in some cases longer than 90 days.
I notice that Woocommerce Analytics always shows revenue based on Order created date. I agree with it by one point of view as order was created on that day, so, the revenue belong there.
I think orders tab in Analytics shows it right, which is Date, Order, customer, amount, etc..
But I think Revenue should be based on order->get_paid_date() rather than created date as the money still comes in on the paid date. If Woocommerce changes the formula, it would make little to no difference for those whose orders are paid online immediately. And it will take care of those whose orders are paid later on.
Just curious, since logically Revenue is the money coming into account and Analytics>Orders tab shows Orders by created date well already.
Thanks for your input for me to understand how Woocommerce thinks.
Currently Woocommerce Analytics does not take paid date meta into account, it considers order creation date for revenue consideration.
It depends how one looks it, it's right and wrong.
For my use, where customers pay days or months later, it's wrong. but still the order was placed on the creation date, so, the revenue should still be linked to the creation date. so, it's right too.
One thing I did was from Analytics settings, I removed some custom status of the order to exclude from Analytics, that way until the order is actually either in Pending status or Completed status, it does not consider it in revenue. Not a perfect solution, but it helps me to exclude canceled and some custom status like Quotation not be included in Revenue.
I ended up programming my own custom admin page where I pulled all orders in completed status with paid date between start and end date and did the total manually to get my actual income for the year.
Just for someone else looking for similar question, it might help.

Is there any plugin that helps me with the delivery date for the product in two ways?

Is there any plugin that helps me with the delivery date for the product in two ways?
Allow adding Pincode-based delivery days for the product.
Add product handling days to single products in WordPress
To conclude, the website shows the value of delivery days based on pin codes plus handling time

WooCommerce Bookings: how to set minimal date of date picker?

In my business, I can only serve bookings with a lead time of 5 days. I am using WooCommerce Bookings but I do not know how to code the following.
When a customer is in the single product page and selects a date from the calendar element (‘date picker’) the earliest available date (‘mindate’) should always be ‘today + 5 days’.
I would be thankful for any support. I am quite a novice with that technology. Perhaps there is a hook or filter that can be used?
Thank you very much!

Custom post type sort by date and time - Wordpress

I'm using Decibel on Wordpress to enter concert dates and times for a music festival. There are 5-7 concerts every day.
I want to sort the concerts with date and time, from earliest in the day to latest?
Right now, I can't figure out how the list is organized -- not alphabetically, not by publish date. I'm using no code other than the basic [wolf_tour_dates].
Thanks for the help,
A.

WooCommerce Subscription extension - Expiration date shows 1970

I use the WooCommerce Subscription extension to add subscription products to my online shop.
I set up a product which is valid for 6 months. However if somebody orders this product the ordering date is set correct, but the expiration date says 1st January 1970. Did I miss a setting somewhere?
Would be great if someone knows the answer!

Resources