Woocommerce Write Function to Re-Calculate Shipping Cost

Closed

Description

We have a woocommerce shop that uses various flat rate shipping costs for each product. All products use a form created by the Gravity Forms plugin.

The flat rate costs are entered in to the shipping rates in woocommerce but we need a function written to over ride them when the user inputs their shipping postcode at checkout.

The site sells products that have a 'length'. This length is entered by the user for each product. What we need the function to do is to get the longest length in the users cart and based on that length multiply the shipping cost by 1, 2 or 3. The shipping cost field should then be updated with the new rate. The calculations we need are:

For lengths < 1101 then 'shipping' X 1

For lengths >1100 and <2301 then 'shipping' X 2

For lengths >2300 then 'shipping' X 3

The developer will not have access to the site to develop this function. Instead they will need to install wordpress, woocommerce and gravity forms and we will export a sample form for them to use. The function can then be added to the [url removed, login to view] file and tested to ensure this works as required.

I have attached some screenshots of the site which may also help.

There are some resources around showing a good starting point on how to change shipping rates, these may be useful however they do not provide the solution to this project and are for reference only. These are:

[url removed, login to view]

[url removed, login to view]

To show that you have read this brief please start your reply with the word, 'Woo'. Please only bid if you can complete this project and willing to install wordpress etc locally as you will not have access to the server. Automated bids will be rejected.

We need this done ASAP and willing to award project immediately.

Thank you for taking the time to read the project, if you have any questions please let me know.

Skills: PHP, WooCommerce, WordPress

See more: write function display total cost prototyped, calculate shipping cost virtuemart, virtuemart calculate shipping cost module, calculate shipping cost import, calculate fedex shipping cost adding product cart oscommerce, calculate ups shipping cost open source free, fedex calculate shipping cost, fed calculate ground shipping cost, shipping cost oscommerce, cre loaded shipping cost, usps shipping cost calculator java code, ups shipping cost, oscommerce shipping cost category, ups posted shipping cost, shipping cost vituemart

Project ID: #11727537

Awarded to:

deltasupport

"Woo" Hello Sir/Madam, Thank you for considering my bid. Your project really caught our attention and we would be glad to be a part of it. We’re excited to share with you the proposal for your project. Project More

£18 GBP in 1 day
(0 Reviews)
0.0

9 freelancers are bidding on average £40 for this job

BVMSolution

Hello, Hope you are doing well. After carefully reviewing the requirements of the job description, I feel that we are very much suitable for the job. We can start working now . please give a chance to work fo More

£42 GBP in 1 day
(127 Reviews)
7.4
RITESHBATHWAL

Woo. Hello Sir. I know how to alter shipping cost based in some condition on the cart. I will write custom code to recalculate shipping based on products length. Please contact, I will set up everything on my local an More

£40 GBP in 2 days
(148 Reviews)
6.4
£18 GBP in 1 day
(50 Reviews)
4.9
pakistansolution

I am a professional web designer and developer. Experience in with HTML, CSS, JS, jQuery, PHP, MySQL. Very familiar with WordPress , MAgento , wooCommerce , Bootstrap ,Plugins ,API's and its customization. I have a l More

£33 GBP in 2 days
(24 Reviews)
4.5
Nrmadasolutions

Hello sir, Good day! we will develope your woocommerce website. sir your project will 100% Dynamic, fully responsive, SEO friendly and user friendly. I am project manager of Narmada Solution .we have team of 50 de More

£88 GBP in 4 days
(4 Reviews)
4.3
nileshbakotiya

Hi, Thanks for the opportunity. As per your requirement, i would like to tell you that I have a very strong experience of more than 7 years in this field of design and development. Please spare a moment to discuss t More

£18 GBP in 1 day
(26 Reviews)
4.2
expertteamindia

woo come for further discussion...

£33 GBP in 1 day
(4 Reviews)
2.4
fb570f4ddfe2f26

Woo Hello, My name is Vadim, I've worked as a wordpress developer for 2 years for a website development company in Ukraine. Thank you for the opportunity to bid on your project. I found it very interesting and I would More

£66 GBP in 1 day
(3 Reviews)
1.7
kmahmud4

Hi, I’m dedicated professional Web and Desktop Programmer & Developer and freelancer only. I have been working with challenge and hope to improve future plan with good network every client. If any client want to get More

£44 GBP in 1 day
(0 Reviews)
0.0
£18 GBP in 1 day
(0 Reviews)
0.0