Hi Everyone,
I'm looking to add the category of the product next to the name on the shopping cart,
I imagine you will be changing the includes/templates/yourtemp/templates/tpl_shopping_cart_default.php
But im not sure what to put.
Danny
Hi Everyone,
I'm looking to add the category of the product next to the name on the shopping cart,
I imagine you will be changing the includes/templates/yourtemp/templates/tpl_shopping_cart_default.php
But im not sure what to put.
Danny
You could customize the file:
/includes/templates/template_default/templates/tpl_shopping_cart_default.php
using your templates and overrides with the code in RED:
Code:<a href="<?php echo $product['linkProductsName']; ?>"><span id="cartImage" class="back"><?php echo $product['productsImage']; ?></span><span id="cartProdTitle"><?php echo zen_get_categories_name_from_product($product['id']) . '<br />' . $product['productsName'] . '<span class="alert bold">' . $product['flagStockCheck'] . '</span>'; ?></span></a>
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!
Exactly What I was looking for,
Thanks!
Bookmarks