Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    125
    Plugin Contributions
    0

    Default Find total and id of an order, esp to use with an affiliate tracking pixel/tool

    Hi

    I need to find the total cost without tax, and the id of and order, and save those in 2 different variables

    Can somebody help how to do that.

    $totalamountwitouttax = ????
    $order_id = ????

    Please help me

    Thank you

    Kind Regards
    Kim :)

  2. #2
    Join Date
    Jan 2004
    Posts
    65,303
    Blog Entries
    7
    Plugin Contributions
    228

    Default Re: Find total and id of an order

    Several variables are available when in the tpl_checkout_success_default.php page:

    $order_summary['order_number']
    $order_summary['order_subtotal']
    $order_summary['credits_applied']
    $order_summary['order_total']
    $order_summary['commissionable_order']
    $order_summary['commissionable_order_formatted']
    $order_summary['coupon_code']
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Affiliate Pixel Tracking - Commision Junction Tracking
    By penamas in forum General Questions
    Replies: 4
    Last Post: 11 Sep 2013, 04:01 PM
  2. Replies: 6
    Last Post: 19 Sep 2010, 11:47 AM
  3. Issues with affiliate tracking
    By gacott in forum General Questions
    Replies: 0
    Last Post: 12 Jul 2010, 10:54 PM
  4. Replies: 9
    Last Post: 12 Jan 2010, 11:21 AM
  5. Replies: 5
    Last Post: 27 May 2009, 07:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR