![]() |
Use {$product.descr|amp} in recommended products?
Hi,
I'd love to be able to use {$product.descr|amp} in the Recommended Products section. {$product.product|amp} works fine, but for some reason descr doesn't deliver any content. Does anyone know how to make this happen? |
Re: Use {$product.descr|amp} in recommended products?
It is probably not part of the $product array in recommended products. If that is the case you need to modify the php script to include description
|
Re: Use {$product.descr|amp} in recommended products?
Thanks. Any idea what file I'd need to be looking in?
|
Re: Use {$product.descr|amp} in recommended products?
Try modules/recommended_products/ directory
|
Re: Use {$product.descr|amp} in recommended products?
Was looking there. The set up doesn't seem to offer any clues. I've been looking back through my 4.1.10 install (where I actually use Related Products) and in there was the ability to call {$product_links[cat_num].descr} to achieve this. That's not working in the 4.4x install I'm building on right now though.
Does anyone know if this functionality was replaced with something that still allows the product description to be displayed? |
Re: Use {$product.descr|amp} in recommended products?
It is recommends.php in root. And $product_links is for upsell products not recommended products
|
Re: Use {$product.descr|amp} in recommended products?
Can I bother you to confirm something for me? Should the Upselling Products module at least show the price natively?
|
Re: Use {$product.descr|amp} in recommended products?
It can show price, not sure if it's like this by default, but it's probably just a matter of modifying the template
|
Re: Use {$product.descr|amp} in recommended products?
For Upselling Products it seems to use the products_list.tpl file, but mine won't display the price either when I call the upselling module on product.tpl.
I'm confused because on my previous 4.1 installation I had this working perfectly but that code no longer works. Any idea how I can get the desc and price calls to work? I'm not sure why it works for the category listings (also uses products_list.tpl) but not here. |
Re: Use {$product.descr|amp} in recommended products?
Like I said this info may not be included in products array for upselling products. If that's the case the php script must be modified to query this info form the database and include it in the products array so you can call it in the template
|
All times are GMT -8. The time now is 04:37 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.