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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Populating/adding discounts for signed in users

Thread began 5/11/2010 2:57 pm by mora398588 | Last modified 5/27/2010 11:13 pm by mora398588 | 804 views | 4 replies |

mora398588

Populating/adding discounts for signed in users

Is it possible to configure e-cart to automatically insert a discount (for example 15%) off the total sale price for a signed in user without having the user enter a discount code? I would like to extend discounts to certain users (with appropriate security access) and have the checkout process automatically populate a discount when logged in.

If this is possible, could you offer some guidance / direction on how to configure the process. Your assistance would be greatly appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

yes, this is possible.

First you will need to create the user levels, see the "User Level Authentication" tutorial on the security assist support page:
securityassist/


The basic idea, is that when the user logs in, a session is created that contains their user level.

in the recipe, the session is named userLevel, and it gets set to 1, 2 or three.

to assign the discount is exactly the same as the coupon code recipe, just use the userLevel session variable, and change the value being compared to be the same as the userlevel should apply to.

Sign in to reply to this post

mora398588

I am now attempting to create the discount recipe. However, after reading your recommendation, it is my understanding that I will be creating a coupon code feature as covered in your solution recipes page. I was hoping that I would not have to have my account users enter a coupon code, but that the discount be automatically populated and applied just by being logged it.

I have already created the user authorizations using securityassist. Is it possible to have ecart automatically apply a discount to the total amount without the enter of a coupon code for the signed in user?

Sign in to reply to this post

Jason ByrnesWebAssist

the difference, is that in the coupon code recipe, you use a form value to set the session variable. In this case, the form is not needed, the session is automatically created at login time.

Ignore the portions of the coupon code recipe that deal with creating the form, you are only paying attention to the portion that deals with creating the discount rule.

Sign in to reply to this post

mora398588

Thank you for clarifying the issue. I will give this a try and let you know if it is working.

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