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

options & sku not passing to database

Thread began 9/28/2015 8:22 am by Jamie | Last modified 10/01/2015 1:27 pm by Ray Borduin | 959 views | 9 replies |

Jamie

options & sku not passing to database

Hey Ray

As per chat on Friday, been trying to get the options and the sku to pass to the database on a successful order but unable to. I have set the columns as per http://prntscr.com/8ldrc7 - not sure what else I need to do?

Cheers

Jamie

Sign in to reply to this post

Ray BorduinWebAssist

Attach a copy of the confirm and pp_confirm pages so I can check if you have updated the store card details in database server behaviors properly.

Sign in to reply to this post

Jamie

have managed to get the SKU and options adding now, just not getting the 'OrderCoupon' value being added to the 'orders' table so that I can display it on the orders_detail.php page

Sign in to reply to this post

Ray BorduinWebAssist

I don't see the binding to store "OrderCoupon" on the pp_confirm page Store Cart Summary in database server behavior. You would need to add that and set it to the Session variable you use to store the coupon.

It would also have to be added on the checkout _success page, which you didn't attach.

Sign in to reply to this post

Jamie

ok thanks Ray have got it working now.

as an extension to this, what are the steps I would need to do to get the £ value of the coupon code stored in the order table?

Sign in to reply to this post

Ray BorduinWebAssist

You can use the binding for eCart total discount.

Sign in to reply to this post

Jamie

is that totalDiscount?

Sign in to reply to this post

Ray BorduinWebAssist

Yes

Sign in to reply to this post

Jamie

ok

have tried adding $ConditionalQuery->bindColumn("OrderCouponValue", "d", "".$FrithsCart->TotalDiscount() ."", "WA_DEFAULT"); to the pp_confirm page and it isnt working..

Sign in to reply to this post

Ray BorduinWebAssist

I'll contact you in Skype for a screen sharing session to debug this today.

Sign in to reply to this post
loading

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