![]() |
Show manufacturer on products_t
Code:
{if $product.manufacturer ne ""} I can use this code perfectly on my product_details page but not on my products_t page. Any ideas? I want to call up the manufacturer name automatically under the item name. |
Re: Show manufacturer on products_t
It's been posted a few times, but here it is again...
products.php Before... Code:
$smarty->assign('cat_products', isset($products) ? $products : array()); Insert... Code:
# Get Product Manufacturer Then in... skin/common_files/customer/main/products.tpl skin/common_files/customer/main/products_t.tpl Insert... Code:
{if $product.manufacturer} You'll also need to add the PHP code to search.php Before... Code:
// Assign the current location line |
Re: Show manufacturer on products_t
Thank you for posting this. It works... sort of. The manufacturer is only showing up on the last product on the page?
Also where should I be putting the {if statement in the products.tpl exactly? I've got it in place where I want it on the products_t. If you go here: http://scrapseeds.com/shop/home.php?shopkey=975 then click "Alphas" at the top you will see what is happening. Many thanks!! |
Re: Show manufacturer on products_t
Any ideas? Our store is going live soon. Thanks!!
|
Re: Show manufacturer on products_t
Quote:
PHP Code:
PHP Code:
|
Re: Show manufacturer on products_t
Thank you once again cherie!! This worked great!
|
All times are GMT -8. The time now is 02:58 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.