close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Defining delivery costs using customer distance from store

Thread began 11/11/2013 7:32 am by Vicky | Last modified 11/11/2013 3:37 pm by Vicky | 385 views | 2 replies |

Vicky

Defining delivery costs using customer distance from store

Hello,

I'm building a website using Dreamweaver and eCart. (First time using eCart and haven't used databases before.)

We're only selling a very small number of items so I've been adding them as static items, rather than using a database.

We personally deliver our items (logs) free to customers within a 15 mile radius. Beyond that area and up to a 20 mile radius, we want to charge £10 for delivery. The 20 mile radius would be the maximum distance that we would sell to online.

What's the best way to set this up using eCart and does it mean that I have to use a database?

I'm thinking the only way to do it would be to ask the customer to put in their postcode on the shopping cart, after the summary, which would then confirm the total (including delivery) - either the same total for free delivery, an extra £10 for the outer radius, or not recognising postcode (outside both radii) and asking to call for further help...

Thank you

Sign in to reply to this post

Jason ByrnesWebAssist

you would need to create a database table that contained all off the post codes within your 20 mile radius.

add a column that will mark the post codes between 15 and 20 miles.

The user will enter the shipping post code on the checkout page which is then sent to the confirm page.

On the confirm page, create a recordset that will be used to lookup the post code to see if it is in your database.

use the set session value behavior to set a session that contains the column making if the entered zip is between 15 and 20 miles.

Use that session in your shipping rules

Sign in to reply to this post

Vicky

Thanks for your help Jason, will give it a go, Vicky

Sign in to reply to this post

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...