close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Shipping Pickup Option

Thread began 10/16/2009 11:04 am by kevin347925 | Last modified 10/21/2009 1:33 pm by kevin347925 | 4255 views | 8 replies

Eric Mittman

Thanks for the updated info about the charge rules. I have an idea that could get this working for you but it will require a little bit of editing of your rules to add in a new condition.

The idea is that you set a new session variable, this session variable can be called something like pick_up. You should set this session variable on the cart display page and default it to 0. You will then have another set of this code that will be very similar but the trigger will be the checkbox that the user checks for pick up.

Then on the cart page you can have your checkbox to indicate pick up instead of shipping, when the user checks this box and submits the page your set session value server behavior will set the value of the pick_up session variable to 1.

You will then need to update the charge rules to check this session variable and ensure that it has a value of 0 in order to make the charge.

If you set the checkbox to be checked based on the value of this session variable it will represent weather or not the user has made that choice. The last thing you will need is another set session server behavior like the one that sets the variable when the box is checked. This time though you will need to check the value of the check box and if it does not have a value set the pick_up variable back to 0.

This is just one way you could do it but I think it would fit your situation. If you have any questions or would like any clarification on any part of this please let us know.

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