Forums / Templates, Stylesheets, Page Layout / shopping cart contents - add manufacterer

shopping cart contents - add manufacterer

Views: 653

Results 1 to 4 of 4
16 Apr 2013, 1:47 PM
#1
noyloza avatar

noyloza

New Zenner

Join Date:
Nov 2012
Posts:
66
Plugin Contributions:
0

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/index.php?main_page=shopping_cart

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

any help is appreciated...

thanks

16 Apr 2013, 1:57 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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:

       <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>'[B] . '<br />' . zen_get_products_manufacturers_name($product['id'])[/B]; ?></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!

16 Apr 2013, 2:05 PM
#3
noyloza avatar

noyloza

New Zenner

Join Date:
Nov 2012
Posts:
66
Plugin Contributions:
0

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/index.php?main_page=shopping_cart

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

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

16 Apr 2013, 2:22 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: shopping cart contents - add manufacterer

Adjust on your template where the code is added:

'<br />' . zen_get_products_manufacturers_name($product['id'])

Example, place it below the Attributes:

  echo '</ul>';
  echo '</div>';
  }
[B]// bof: add manufacturers_name
  echo  '<br />' . zen_get_products_manufacturers_name($product['id']);
// eof: add manufacturers_name
[/B]?>

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!