close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

New shipping rule based on customer

Thread began 10/21/2011 7:29 am by russell298997 | Last modified 11/07/2011 11:53 am by Jason Byrnes | 776 views | 3 replies |

russell298997

New shipping rule based on customer

i have a club shop on a site where club members can log in and purchase kit. the shipping rules are currently set to produce shipping prices based on total expenditure.

am using eCart 4.5.2 ASP.

one club has been offered free shipping by the client.

can anyone give me a brief overview/pointer on how i'd set up a shipping rule that could identify a client (presumaby by the session value ClubID created when they log in?) and return a null shipping value. along the lines of "If ClubID=132 then all shipping = 0").

is this possible? if not that way, then how?

secondarily, in a similar vein, presumably it would also be possible to introduce a discount rule that said " if client - ClubID 132 - discount all products by 10% - preumably that could be shown in the cart costs breakdown on the page?

thanks

Russ

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, you would need to store the clubID in a session variable when they log in.


then in the existing shiipng rules, add a another trigger for based on session variable value:
if the session clubID does not equal 132. this will cause the shipping rules to be applied only if the session is not 132


same with discounts, use the based on session variable value trigger, if the session ClubID is equal to 132

then use the calculation Based on Cart subtotal Times 0.010

Sign in to reply to this post

russell298997

Attn: Jason

Further to this one, I did what (I thought) you said, but got error in line 15 of ysl_vb.asp saying there was Mismatch with CDBL for ClubID

see screengrab for how i approached it - any ideas what i did wrong?

Sign in to reply to this post

Jason ByrnesWebAssist

add another trigger for Session Variable Exists ClubID

Sign in to reply to this post

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