Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2007
    Posts
    16
    Plugin Contributions
    0

    Default Products clickable on order or invoice

    What version of Zen Cart are you using?
    1.3.8a

    Hello everyone, is there a way to make the products clickable when viewing the order or invoice or packaging lable so that I can see what has been ordered.

    I dont complete the Modle number and the titles of my products are not very descriptive so its hard to determine what product the customer has orded. It would be nice if I can click them and see exactly what the customer wants.

    Im selling clothes so all I can really write about the title is Baby shorts and t shirts eith hat ect and there are lots of them in the store.

    Thanks for your time and look forward to your reply.

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

    Default Re: Products clickable on order or invoice

    You could edit the /admin/orders.php and change the code from:
    Code:
          echo '          <tr class="dataTableRow">' . "\n" .
               '            <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . '&nbsp;x</td>' . "\n" .
               '            <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
    to read:
    Code:
          echo '          <tr class="dataTableRow">' . "\n" .
               '            <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . '&nbsp;x</td>' . "\n" .
               '            <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
          echo '<br /><a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . zen_get_product_path($order->products[$i]['id']) . '&pID=' . $order->products[$i]['id'] . '&product_type=' . zen_get_products_type($order->products[$i]['id'])) . '">' . zen_image_button('button_details.gif', IMAGE_DETAILS) . '<br />' . TEXT_PRODUCT_DETAILS . '</a>';
    I included a button and text so you can play with the results ... then when you hit the Edit on the Order it will list for each product ...
    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: v1.5.5]
    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 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Products clickable on order or invoice

    Thank you very much I will try the code tomorrow and let you know of the result and any modifications I make.
    Great support.

 

 

Similar Threads

  1. v139h Main Page: "New" Products - turn off clickable link and DISPLAY new products
    By lissa in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Sep 2014, 02:20 AM
  2. Sorting "Products Model" in numerical order on INVOICE?
    By RayGabriel in forum Managing Customers and Orders
    Replies: 1
    Last Post: 20 Feb 2010, 06:33 PM
  3. Changing the sort order of the Products on the super invoice + packing slip
    By DisgruntledGeorge in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 14 Nov 2007, 12:24 PM
  4. Clickable image link in New Products section
    By chillout_buddha in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 May 2006, 05:16 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