close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Alternate shipping provider

Thread began 11/04/2009 2:10 am by gwh362692 | Last modified 11/10/2009 2:43 pm by gwh362692 | 1392 views | 6 replies

Eric Mittman

For this part of the charge rule the problem is that the interfaces do not support the specific type of charge that you would like to apply. Since the interface is too limited for this type of editing you will need to setup the rule as best as you can, then after the fact you will need to go into your WA_eCart folder and the WA_Store_Cart_PHP.php file. In here you will need to identify the code for you charge rule that you crafted for more than 25kg and edit the code to work with your criteria for this charge.

The idea for this customization will be that you need to take the total weight, then subtract 25 from it. You will then need to divide this result by 5, this will give you the number of dollars to charge for any weight over 25. You will have to determine how to round the values to fit your needs after dividing by five.

For example if you had items in the cart totaling 31kg then this charge rule would need to first subtract 25, this would leave you with 6. You would then divide by 5, this would give you 1. So you would add 1 to the base rate to account for the extra 6kg. This is the part that you may want to round, if it is greater than five do you round it up to the next multiple of five, or do you round down.

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





Ease of use


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