![]() |
Short description for Product Recommends
I'm trying to show the short description for the recommend products and am working with the file /modules/Recommended_Products/recommends.tpl
Throwing {$product.descr} simply echoes the short description of the product the customer is looking at, not the recommends. So I'm wondering how I can call on the short description of each product recommendation. Any ideas? |
Re: Short description for Product Recommends
Did you tried this:
{$recommends[num].descr} |
Re: Short description for Product Recommends
I just did, but nothing is returned -- just blank.
|
Re: Short description for Product Recommends
Quote:
I am not sure that this is a good solution, but it was invented for 5 minutes. Open file "include/func/func.product.php" and find next lines: PHP Code:
add after this text next line: PHP Code:
.... now you can use in the template /modules/Recommended_Products/recommends.tpl variable: {$recommends[num].descr} |
Re: Short description for Product Recommends
Awesome, that worked flawlessly.
Another question I had was along the same lines and probably requires a similar edit (I think.) Would it be possible to add an 'add to cart' button into the Upselling/Related products module? |
Re: Short description for Product Recommends
Quote:
Add the following line for every products in the file "skin1/modules/Upselling_Products/related_products.tpl" PHP Code:
Instead of text "Add to cart", you can use image or button. |
Re: Short description for Product Recommends
Thanks again Yurij,
Worked flawleslly. |
Re: Short description for Product Recommends
How can you add a buy now button to 4.2.1 for this?
|
All times are GMT -8. The time now is 01:19 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.