close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

adding subtotal to column

Thread began 9/01/2016 3:15 pm by Jamie | Last modified 9/06/2016 12:14 pm by Ray Borduin | 1157 views | 11 replies |

Jamie

adding subtotal to column

Hey Ray

Have got an ecart installaton which is working fine in the main, but its not adding the TotalColumn("TotalPrice") to the column OrderValueBeforeDiscount in the orders table.

Its adding it to the wa_receipt.php fine - just not sure what I need to check to get it added to the table

Cheers

Sign in to reply to this post

Ray BorduinWebAssist

It will be in the Store Cart Summary In Database server behavior on the confirm and/or pp_confirm.php page.

Sign in to reply to this post

Jamie

ok great, have added that to the pp_confirm page. on the confirm page there was already a reference to TotalPrice (see http://prntscr.com/cd7t33 ) and have tentatively added another as not sure what to do

$WA_PP_ECO_Set_params[0][$nextIndex] = "OrderValueBeforeDiscount";
$WA_PP_ECO_Set_params[1][$nextIndex] = "".$motley->TotalPrice() ."";



cheers

Sign in to reply to this post

Ray BorduinWebAssist

That is where it is passed to paypal. You need to add it in the Store Cart Summary in Database server behavior to save it in your database properly if that was the issue.

Sign in to reply to this post

Jamie

ok, there isnt a Store Cart Summary in Database server behaviour on the confirm.php page so should I remove what I added to it and leave it unmodified?

Sign in to reply to this post

Ray BorduinWebAssist

Just edit the Store Cart Summary in Database to save the value you want in the column you want. I'm not sure what you added, but I think that was all you had to do.

Sign in to reply to this post

Jamie

right...what i added was in the linked screenshot (which is http://prntscr.com/cd7t33 ) - so am assuming that i remove the bit I added and leave the confirm page as is and only update the pp_confirm as thats the only one with the store cart summary on it?

Sign in to reply to this post

Ray BorduinWebAssist

They both should have store cart summary on them. Perhaps hand editing has hidden the server behavior on the confirm page.

Sign in to reply to this post

Jamie

sorry, but cant see it on the confirm page...have attached

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you may be using Express Checkout Only... in which case it wouldn't be on the confirm.php page.

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