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

ecart summary

Thread began 4/20/2015 8:24 am by Jamie | Last modified 4/21/2015 4:56 pm by Ray Borduin | 900 views | 7 replies |

Jamie

ecart summary

Hey Ray

On the attached checkout page, the order details are being stored in the DB fine except for the coupon code. Whie trying to figure out how to do that (still trying ) I noticed that the page doesnt have an 'eCart Store Summary' object in it like other checkouts that I have been comparing the code to...just wondering if that is an 'error' and it should have one and if that would be why I am struggling to get the coupon code added to the db?

(also noticed that there isnt a universal email ionstance on that page either as I am trying to set it so that the confirmation email gets sent to the site owner as well as the buyer)

Thanks

Jamie

Sign in to reply to this post

Ray BorduinWebAssist

The store cart summary server behavior as well as the email should be applied on the confirm.php page and not the checkout page directly.

Sign in to reply to this post

Jamie

ok, the email is as you say on the confirm.php page, but there is no ecart summary on either the confirm, the cart or the checkout page. On other ecart installs I have (just using as reference) the summary is on the checkout page.....

Anyways, on that page there is no stor summary at all....do I need it? Is that why the coupon code is not being passed to the database?

Sign in to reply to this post

Ray BorduinWebAssist

What payment gateway are you using? If it is Paypal express checkout then the store in database information is on the pp_confirm.php page.

If it is storing in the database other than the one missing field, then it must be somewhere.

Sign in to reply to this post

Jamie

OK, yep as ever youre right. Its on the pp_confirm page

But still not sure how I go about getting the coupon code (if used) stored in the database?

Sign in to reply to this post

Ray BorduinWebAssist

Just add a column to store it to the orders table in the database, then bind that column to the session variable name you are using to store the coupon code.

Sign in to reply to this post

Jamie

i had already added 'OrderCoupon' as a column to the db but unsure as to how to bind it?

Sign in to reply to this post

Jamie

actually, have finally figured it out....thanks for the steer in the right direction :)

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