Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    13
    Plugin Contributions
    0

    Default Dynamic Checkout Success Text

    I'd like to customize the "Checkout Success" message based on several variables, but don't know what the variables are called or where they are set.

    Basically, I'd like to know if there were any digital products in the order, any non-digital products, and what the current status for the order is (pending, processing, etc).

    Is this something that would be easy to do if I knew how the variables were stored, or would I have to write/edit 50+ lines of code?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Dynamic Checkout Success Text

    Do you only want it on the Checkout Success when there is a download or also on the Account History when there is a download?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Dynamic Checkout Success Text

    I suppose it'd be nice to do both. Mainly I want it in the Checkout Success, because that's when they've just paid me and their first question is "Now where's my download?!?!"

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Dynamic Checkout Success Text

    You might look at the Download Template:
    /includes/templates/template_default/templates/tpl_modules_downloads.php

    you could customize that in your templates and overrides so that what you want to add shows on both the Checkout Success and in the Account History ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Sep 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Dynamic Checkout Success Text

    Thanks, I'll look at that. In the meanwhile, I found that the variable $orders->fields['orders_status'] holds the order status, so I can change the wording depending on whether or not the payment has been verified.

 

 

Similar Threads

  1. Replies: 6
    Last Post: 11 Jan 2013, 12:51 PM
  2. Checkout Success Sample Text
    By pschwager in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 Aug 2008, 10:49 PM
  3. Showing a Dynamic Message on Checkout Success Page
    By samad64 in forum General Questions
    Replies: 1
    Last Post: 10 Jul 2007, 06:45 AM
  4. checkout success
    By divekathster in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 Apr 2007, 03:48 PM

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