Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2012
    Posts
    66
    Plugin Contributions
    0

    Default shopping cart contents - add manufacterer

    Can somebody tell me how I might also include the manufacturer in the details of my shopping cart?

    http://server2.geekhost.ca/~shopyand...=shopping_cart

    I would like to have it in my third column above the size...

    any help is appreciated...

    thanks

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

    Default Re: shopping cart contents - add manufacterer

    You can use your templates and overrides on the file:
    /includes/templates/your_template_dir/templates/tpl_shopping_cart_default.php

    and add the code in RED:
    Code:
           <td class="cartProductDisplay">
    <a href="<?php echo $product['linkProductsName']; ?>"><span id="cartImage" class="back"><?php echo $product['productsImage']; ?></span><span id="cartProdTitle"><?php echo $product['productsName'] . '<span class="alert bold">' . $product['flagStockCheck'] . '</span>' . '<br />' . zen_get_products_manufacturers_name($product['id']); ?></span></a>
    <br class="clearBoth" />
    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
    Nov 2012
    Posts
    66
    Plugin Contributions
    0

    Default Re: shopping cart contents - add manufacterer

    Thanks Ajeh, that worked but I'm having the issue where its above the product image and I want it below with the other information down there: http://server2.geekhost.ca/~shopyand...=shopping_cart

    Also having the same problem in my product pages: http://server2.geekhost.ca/~shopyand...e=products_new

    I want it under the product image in both instances, any ideas how I can do that?

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

    Default Re: shopping cart contents - add manufacterer

    Adjust on your template where the code is added:
    Code:
    '<br />' . zen_get_products_manufacturers_name($product['id'])
    Example, place it below the Attributes:
    Code:
      echo '</ul>';
      echo '</div>';
      }
    // bof: add manufacturers_name
      echo  '<br />' . zen_get_products_manufacturers_name($product['id']);
    // eof: add manufacturers_name
    ?>
    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!

 

 

Similar Threads

  1. v150 Can I add shopping-cart contents to the contact-us emails sent to storeowner?
    By Whot in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Oct 2012, 01:35 AM
  2. Replies: 2
    Last Post: 22 May 2011, 05:13 PM
  3. shopping cart contents
    By stitchnkitty in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 12 Nov 2009, 05:16 PM
  4. Shopping Cart Contents
    By grgolf in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Dec 2008, 11:03 PM
  5. Shopping Cart Contents
    By metalarea in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Sep 2007, 09:53 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