Jump to content

Final Price on Confirmed page


Guest plaidfox

Recommended Posts

Guest plaidfox

Hello all.

I've been working with CubeCart for a while for multiple clients, but I've recently run into a snag. We're trying to set up the back end so that after people have bought any of our products, it will show the grand total of their purchase on the Confirmed page. We've been messing with the php in confirmed.inc.php and we've been working with the confirmed.tpl file. I've been trying to get the information directly from the mysql database, but nothing seems to be working. Any suggestions?

Thanks!

-Plaid

Link to comment
Share on other sites

Guest plaidfox

To go along with what was said above, anyone know why the following code doesn't work in confirmed.inc.php?

$grandtotal = $db->select("SELECT prod_total FROM ".$glob['dbprefix']."CubeCart_order_sum WHERE cart_order_id = ".$oid);

To me, the code looks perfect, but it's not actually pulling anything.

-Plaid

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...