close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Multiple questions about calculations

Thread began 6/11/2012 4:41 pm by Dennis | Last modified 6/15/2012 3:32 pm by Dennis | 1220 views | 4 replies

Jason ByrnesWebAssist

1) Calculations are performed on a line item basis.

The calculations use a ternary expression. a ternary expression is a shortened if statement:

question?true part:false part

to addd the 2 calculation together, you simply use the plus operator between them:

((abs([tSize] == '2XL' || [tSize] == '3XL'))?[Price] + 3:[Price] + (abs([sSize] == '2XL' || [sSize] == '3XL'))?[Price] + 5:[Price])

I thing the correct calculation though for your needs would be:
[Price] + (((abs([tSize] == '2XL' || [tSize] == '3XL'))?3:0) + ((abs([sSize] == '2XL' || [sSize] == '3XL'))?5:0))

2) Add the pick up check box to the checkout page. Add a hidden form element on the confirm page of the same name to capture the value posted from the checkout page, and add a set session value behaivor to set a session id the checkbox is checked.

on your shipping rules, set a trigger that will cause the shipping to not apply based on the session value.

There are a bunch of threads in this forum that will explain it in more detail.

3) on the checkout page, remove all the other counties from the shipping country selcct list.

4) that can be done using a calculation, the exact details depend on how the quantity should be limited. Do all items get the same limit, or some items have a different limit.

5 + 6) On the charges tab, you will need to create charges that will add the paypal fees.

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