close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Discount using promotion code

Thread began 5/19/2009 4:23 pm by varsha_kavitkar375630 | Last modified 5/19/2009 5:22 pm by Ray Borduin | 1185 views | 1 replies |

varsha_kavitkar375630

Discount using promotion code

Hello,

I have no experience in developing an e-commerce site (adding carts, paypal, etc). So please have patience.

I got a client who already has a small e-commerce website running. He just wants to add a small feature to it. Basically he wants, when visitors enter a Promotion Code on the site they should get a discount (ex: discount of $10 & if product price is $100, then they should be charged $90 & this money should be transferred to client's paypal merchant's account).

I understand that it should go in the manner:
"We can put a promotion code box on website & ask visitor to enter the CODE if they have any. Once they enter it, we can match it with the original code (saved in database) and once it matched we can give them discount on next page."

The thing is how to execute it with PayPal? Back-end programming is not my Forte but I don't want to let my client know this & go away.

Any help would be highly appreciated.

Sign in to reply to this post

Ray BorduinWebAssist

Once you have verified the discount code in the database, set a session variable to identify a successful verification... lets call it "CouponSuccess".

Then go to the discounts tab in eCart and add a discount using the condition "session variable exists" and the session variable you just created.

Set the amount to "based on the subtotal" and choose multiplied by 0.1

eCart should do the rest for you.

Sign in to reply to this post
Did this help? Tips are appreciated...

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