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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Powerstore User Discounts

Thread began 10/09/2015 2:57 pm by Jared Lui | Last modified 10/13/2015 6:01 pm by Ray Borduin | 498 views | 3 replies |

Jared Lui

Powerstore User Discounts

I've added a column to the ps4_users table called UserDiscount that is populated when an admin updates a users details in the admin side.

A data example might be 0.15 for a 15% discount.

I need to know what files I need to modify to correctly add this discount and the code to add.

It looks like the WA_Store_Cart_PHP.php file is a good place to start but want an WA expert opinion first.

Thanks!

Sign in to reply to this post

Ray BorduinWebAssist

I'd do a search for the ps4_coupons table references and add your discounts to the same locations. I think it is on the cart page and on the checkout or confirm page.

Sign in to reply to this post

Jared Lui

Thanks for the tip Ray. However, the only instances I can find of the ps4_coupons table are the admin\coupons pages (insert, update, delete, results) admin home page. The only other 2 locations are on the WA-eCart\WA_cart_coupons.php page.

There are 3 pages that require WA_cart_coupons.php (cart_editable.php, pp_expresscheckout.php, process_transactions.php)

I'm either confused and going down the wrong path or just don't know enough to see something in front of my face. I think I'll need some help on this. Please see my PM.

Sign in to reply to this post

Ray BorduinWebAssist

Contact me through Skype and we will schedule a screen sharing session to get it resolved.

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