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

Hi, please am trying to create the below shipping in PowerStore using ecart to do the shipping rules.

Thread began 10/03/2013 12:23 pm by tolushayoo193471 | Last modified 10/08/2013 5:21 pm by Jason Byrnes | 1192 views | 17 replies |

tolushayoo193471

Hi, please am trying to create the below shipping in PowerStore using ecart to do the shipping rules.

Hi, please am trying to create the below shipping in PowerStore using ecart but I don't really know how to go about it.

Delivery charge of £5.99 added to all UK Mainland orders up to 1kg.
Delivery charge of £6.99 added to all UK Mainland orders up to 2kg.
Delivery charge of £7.99 added to all other UK Mainland orders up to 25kg
The following delivery charges apply to orders over 25kg:
25.01KG - 50.00KG = £15.99
50.01KG - 75.00KG = £23.99
75.01KG - 100.00KG = £31.99

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

you will need a seperatre rule for each wight range.

the shipping country is stored in a session named:
eCartCheckoutForm_shipping_country

so your rule would use a combination of Session Variable Value and subtotal for any column for th triggers. For example:

"based on session variable value"
if the session variable "eCartCheckoutForm_shipping_country" has a value of "UK"

AND
"based on subtotal for any column"
If the subtotal for column "TotalWeight" is ">" "0"

AND
"based on subtotal for any column"
If the subtotal for column "TotalWeight" is "<=" "1"

Flat rate change of 5.99


the other rules will be similar, just change the weight range values and the flat rate.

Sign in to reply to this post

tolushayoo193471

Thank you Jason for the quick response.
I've done all. But the challenge that I have now is: When I added a product that is 30kg in the basket it shipping charges me £23.98 instead of £15.99 since (up to 30kg should fall under 25.01KG - 50.00KG = £15.99) I think how it get to £23.98 was it added (Delivery charge of £7.99 added to all other UK Mainland orders up to 25kg) plus 25.01KG - 50.00KG = £15.99 together. Please how can i sort this out

Below is my rule for up to:
25kg

If session variable exists: eCartCheckoutForm_shipping_country

AND
"based on session variable value"
if the session variable "eCartCheckoutForm_shipping_country" has a value of "GB"

AND
"based on subtotal for any column"
If the subtotal for column "TotalWeight" is ">" "0"

AND
"based on subtotal for any column"
If the subtotal for column "TotalWeight" is "<=" "25"

Flat rate change of 7.99



For up to 50kg

If session variable exists: eCartCheckoutForm_shipping_country

AND
"based on session variable value"
if the session variable "eCartCheckoutForm_shipping_country" has a value of "GB"

AND
"based on subtotal for any column"
If the subtotal for column "TotalWeight" is ">" "0"

AND
"based on subtotal for any column"
If the subtotal for column "TotalWeight" is "<=" "50"

Flat rate change of 15.99

Sign in to reply to this post

Jason ByrnesWebAssist

the up to 50 KG Rule should be:

AND
"based on subtotal for any column"
If the subtotal for column "TotalWeight" is ">" "25"

AND
"based on subtotal for any column"
If the subtotal for column "TotalWeight" is "<=" "50"

Sign in to reply to this post

tolushayoo193471

Thank you. I've changed it to the below but it charges me £7.99 for a 30kg. That £7399 is meant to be the charges for up to 25kg

AND
"based on subtotal for any column"
If the subtotal for column "TotalWeight" is ">" "25"

AND
"based on subtotal for any column"
If the subtotal for column "TotalWeight" is "<=" "50"


Flat rate change of 15.99

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the cart object file and a link where i can see the problem.

Sign in to reply to this post

tolushayoo193471

thank you

Attached Files
WA_Store_Cart_PHP.php
Sign in to reply to this post

Jason ByrnesWebAssist

all of your rules have the condition to of the starting weight at 0

your 1 KG rule is
Total Weight > 0
And
Total Weight <= 1


then the 2 kg rule is
Total Weight > 0
And
Total Weight <= 2

the start weight for that rule should be
Total Weight > 1

the start wight for each rule should be the end weight for the rule before it.

Sign in to reply to this post

tolushayoo193471

Thanks Jason you were right it now works. Please do you know the value that I can use for less than 1kg shipping?
thank for your time

Sign in to reply to this post

Jason ByrnesWebAssist

Total Weight > 0
And
Total Weight <= 1

Sign in to reply to this post
loading

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