Results 1 to 8 of 8

Hybrid View

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

    Default Re: How to display "Products URL" on invoice ?

    The URL is not saved to the orders tables ...

    However, you can look up the URL from the products table with the function:
    Code:
    /*
     * Return any field from products or products_description table
     * Example: zen_products_lookup('3', 'products_date_added');
     */
      function zen_products_lookup($product_id, $what_field = 'products_name', $language = '') {
    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!

  2. #2
    Join Date
    Feb 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: How to display "Products URL" on invoice ?

    Linda, is your code above complete? It looks to me like it might have been cut off. I see an a lone { at the end of the final line.

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

    Default Re: How to display "Products URL" on invoice ?

    I was just showing the start of the function that can be used and its syntax ... this is not the actual code to use, just what function you can use ...
    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!

  4. #4
    Join Date
    Feb 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: How to display "Products URL" on invoice ?

    Gotcha.

    Thanks.

 

 

Similar Threads

  1. How to display "soldout" icon in "new products" area?
    By zeliana in forum Customization from the Admin
    Replies: 1
    Last Post: 23 Oct 2012, 09:15 PM
  2. Replies: 4
    Last Post: 16 Oct 2011, 12:58 AM
  3. How to remove ellipses ("...") after "All Products" and "New Products" on home page?
    By jthurman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2010, 03:30 PM
  4. How to display more products on the main page or "new Products"
    By corditreasures in forum General Questions
    Replies: 2
    Last Post: 9 Mar 2010, 04:03 AM
  5. how to display text link in "New Products"、"Featured Products"....?
    By boy123 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 24 Dec 2006, 06:07 AM

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