close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Set Shipping Costs By Zone

Thread begun 4/01/2009 7:26 am by jamie325853 | Last modified 4/01/2009 1:55 pm by Ray Borduin | 2198 views | 3 replies |

jamie325853

Set Shipping Costs By Zone

Ive been looking for a while now on how to do this.
I need to set shipping costs by weight.

But I need to add multiple options for vaious countries, I have added these to the database in the following format.

I added a zone ID to the Country table, then added a new table and created zone prices.
Eg.
Zone 1 100grams = £10.95
Zone 1 200grams = £15.95
and so on.

The same for all the other zones (6 zones in total) The relavant countries will be linked with the correct zone.

What I need to do is know how to set this up for the checkout, but this also needs to be managed from the admin area so has to come from the MYSQL database so the clients can update this as prices change.

Hope this makes sense to someone, technical details of the site are PHP and MYSQL.

Please ask if anything needs explaining to understand this or advise on simple ways to do this, alternatively is there an ecart manual that describes advanced shipping modules the getting started guide is very basic.

Jamie Jackson
2J design

Sign in to reply to this post

Ray BorduinWebAssist

On the confirm page, add a recordset that is filtered by the zone and weight to return the correct charge.

Then set a session variable from that recordset result.

You can create a shipping rule to charge the amount stored in the session variable as the shipping charge.

Sign in to reply to this post
Did this help? Tips are appreciated...

sales356151

ok, would this show on the checkout summary page?
Also i dont think ive set a session varible before from a recordset is this easy to do?

Sign in to reply to this post

Ray BorduinWebAssist

Really you could add it and/or show it on any page you want.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...