| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Use {$product.descr|amp} in recommended products? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
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?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#2
|
|||||||||
|
|||||||||
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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Use {$product.descr|amp} in recommended products?
Thanks. Any idea what file I'd need to be looking in?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Use {$product.descr|amp} in recommended products?
Try modules/recommended_products/ directory
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||||
|
|||||||||
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?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Use {$product.descr|amp} in recommended products?
It is recommends.php in root. And $product_links is for upsell products not recommended products
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#7
|
|||||||||
|
|||||||||
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?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#8
|
|||||||||
|
|||||||||
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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#9
|
|||||||||
|
|||||||||
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.
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#10
|
|||||||||
|
|||||||||
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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|