close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Shipping costs not working out as they should

Thread began 3/15/2012 2:52 pm by Christopher West | Last modified 4/02/2012 12:43 pm by Christopher West | 2490 views | 13 replies

Jason ByrnesWebAssist

yes, this can be done, but not the way you are describing unless the shipping cost cost where to change from item to item, but then you wouldn't be using a flat rate anyway.

create a new table for siteSettings:

settingID - primary key
settingName - varchar
settingValue - varchar

in the database, create a record and set settingName to typeAShipRate and set the settingValue column to 7

then create a recordset to lookup the typeAShipRate

SELECT * FROM siteSettings WHERE settingName = 'typeAShipRate'


the use the set session value behavior to store the ship rate in a session variable. On the server behaviors panel, click the plus button and select eCart -> General -> Set Session Value


set the trigger to settings recordset not empty. set the name to typeAShipRate and for the value click the lightning bolt and select the settingValue column from the recordset.


the in the rule set the calculation to;
Calculation: Flat rate '$_SESSION['typeAShipRate']'

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