Woocommerce Write Function to Re-Calculate Shipping Cost

Proyek ini berhasil diselesaikan oleh deltasupport dengan harga £18 GBP dalam sehari.

Dapatkan penawaran gratis untuk proyek seperti ini
Anggaran Proyek
£10 - £20 GBP
Diselesaikan Dalam
1 hari
Total Penawaran
Deskripsi Proyek

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.

Diselesaikan oleh:
Keahlian yang Diperlukan

Ingin menghasilkan uang?

  • Atur anggaran Anda dan jangka waktunya
  • Uraikan proposal Anda
  • Dapatkan bayaran atas pekerjaan Anda

Pekerjakan para freelancer yang juga menawar di proyek ini

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online