Woocommerce and Gravity Forms problem with deliveries - wordpress

It's been a week since I'm trying to resolve this, and I'm just stuck. Please help :)
Here is the problem: I have a website with catering services, that are delivered every day to the clients. It's done using wordpress, gravity forms + addons (woocommerce and perk plugins with calendar and conditional pricing) with complicated conditional logic as the meals have different calories and so on. It's only one product, but it's coming from Gravity Forms itself. The form is calculating the number of days as a hidden field and I want to calculate the delivery cost by multiplying the number of days, that the Client placed the order for by the flat rate cost of a particular delivery zone in woocommerce (3 zones with different delivery costs in total). Let's say the cost of the delivery to one City is $5 and the order is placed for 10 meals, meaning 10 deliveries with fresh meal every day - so I want the delivery cost to be $5*10 = $50 for that order. I tried to achieve this with Gravity Perks- not possible, with Woocommerce Addon for Gravity Forms- it's possible to override the number of items ordered, but not the delivery cost itself... and I'm out of ideas :(
Does anybody have any clue how to achieve this?
Huge Thanks and a big beer in advance :)

Related

How to set Woocommerce Memberships discount OR coupon code to allow for a single freebie of every product?

I am using Woocommerce Memberships. We sell tickets to festival events. One of the perks of a specific level of membership is that you get 1 free to ticket to every event on offer. So if I had only three events (A, B & C), my members would be allowed 1 freebie ticket for each of the three but could purchase as many others as they like at the regular price.
I am not sure how to set this up either as a membership discount or a coupon...either would be fine. I would very much prefer not to have to make both free and paid versions of each event for simplicity, sanity, and recordkeeping purposes. Because they can buy multiples of each ticket, I can't set the price at Zero and limit them to one of each event.
Let's say each event cost $10. A fixed cart discount of $30 won't work, as they can only get 1 free ticket to each of the three events, and $30 off would allow 3 free entries to a single event. Nor can I limit their purchase of the events to 1 each with a cost of zero, as most will want to buy additional full price tickets to each event.
I might be overthinking things, but if anybody has a suggestion on how best to go about this, please share.

Track the quantity of optional services for the products woocommerce

I am trying to solve a dilemma that has been gripping me for several weeks. I will try to explain the problem in the best possible way. I have a website that allows you to request a quote for a cycling tour, choosing the route and optional services. The structure is that of a classic woocommerce product but bookable through the "booking for woocommerce" plugin. I added the "add-ons for woocommerce" plugin to be able to insert optional services within the product, including the possibility of renting a bicycle between two possible models of bicycles. The problem is that I don't have a stock of the bikes that are booked every time. If I only have 5 bikes and one person books a tour for 6 participants and adds 3 bikes, then another person books for 4 participants and adds 2 bikes, then another person can continue adding bikes because there is no warehouse that keeps track of these bikes.
Anyone have an idea how I might structure this thing? I can't really resolve. Thanks in advance.
Url of a single tour: https://www.abybike.it/escursioni-brevi/capodorlandonaso-interagiornata/

WooCommerce, sell by weight and by units

I would like to create a grocery store to sell meat and vegetables using the WooCommerce plugin.
My client wants that the visitors would be able to buy products by units (e.g 5 tomatoes) or by weight (e.g 1.5 KG of tomatoes).
It should be applied for all the products or most of them.
I am using the extension Measurement Price Calculator and it works fine cause I achieve to have a "weight" field where customers can enter an amount and it is converted into money.
But I can't find a way to have both options at the same time, weight field and unit field!
It’s possible to do it with the WooCommerce?
How can I achieve that?
Thank you!

Configuring WooCommerce Bookings for a purchasing a preset number of sessions/hours

I'm developing a site for a tutoring service and they have 3 types of services they sell:
Hourly Tutoring
Package Deals (Buy 10 hours, get a reduced hourly price, customer chooses when to use each of the 10 hours)
Study Courses (Signup for a class with 10 preset meeting dates, customer doesn't get to choose dates, they are already set).
WCB works great already for Service 1, where people can just pick an hour or more and book it.
I'm wondering if someone could give me any insight as to the best way to setup service 2 where someone can buy a set number of hours and then request dates for them.
And for service 3, can this be done through WCB or would it be better to just make a WooCommerce product and put the dates in the product description?
I'm new to WCB and it seems like it can do this, having someone book 10 sessions/hours and then schedule them at a later date.
I'm just not sure the best way to do it. Thanks in advance for any help!

Ubercart - Chosen Delivery Date to limit Shipping Options?

On the check out page I need users to choose a delivery date. Their needs to be multiple shipping options (that cost different amounts), but these are restricted based on what day you choose. Alternately if you choose a shipping method first, this will restrict what days you can choose for delivery.
One shipping option is ‘saturday’, and the delivery date must be a saturday.
Another shipping option is ‘next day’, the delivery must be the next day, and the order must be made before 2pm.
The final option is 'standard', which has no limitations except it cant be delivered on a saturday, and the delivery cant be the next day.
Also, I need to be able to restrict dates for delivery for all shipping options, as deliveries wont be made on bank holidays or the day after.
Im really struggling to do this so Id appreciate any pointers. If I can only achieve some of what I need that may be ok as a compromise.
Thanks
This sounds like a perfect case for using a calendar table to identify which dates are actually holidays. While I don't have specific experience with Ubercart, I've used calendar tables in a number of different solutions, and even wrote up a blog entry that details how to create and use a calendar table with a MySQL server. It's quite long, so rather than post the whole thing here, I'll just point you to the actual entry at http://www.brianshowalter.com/calendar_tables.

Resources