Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Proper code for Meta pixel tracking
Author « Topic »  

Marshall
Ecommerce Template Guru

USA
2006 Posts

Posted - 08/31/2026 :  15:18:53  
Anyone know what the code to use for the 30.00 in the script below?


<script>
fbq('track', 'Purchase', {currency: "USD", value: 30.00});
</script>

Thanks in advance.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

dbdave
ECT Moderator

USA
10745 Posts

Posted - 08/31/2026 :  16:38:17  
Just from memory, I think it's $ordtotal;

Give it a try with a test order on the tanks page when viewing source it should populate.

David

dbdave
ECT Moderator

USA
10745 Posts

Posted - 08/31/2026 :  16:41:12  
good thread for reference

https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=110183

You might need to use <?php print $ordTotal; ?>

David

Edited by - dbdave on 08/31/2026 16:42:20

Marshall
Ecommerce Template Guru

USA
2006 Posts

Posted - 09/01/2026 :  04:29:55  
It is <?php print $ordTotal; ?>. I thought it was, but I wanted to check before I messed something up. It's been one of those type of weeks :o)

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000