| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Add Short Desc to simple_products_list.tpl | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Not sure if I'm going mad....
I'm trying to add a nice easy Product Short description to common_files/customer/simple_products_list.tpl template which appears on the products_t template (i.e. the associated products tables under the individual product details). I can't get it to appear?! I know its a Monday but what am I missing...?? Code I am using is below and just results in an empty div... Code:
XC4.6.1 Thanks Shaz
__________________
Shaz X-Cart Developer Sydney - Australia |
|||||||
#2
|
|||||||||
|
|||||||||
![]() are you sure descr exists in the product array? The simple list does not have all the product info to begin with
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
![]() Hi Steve,
Thanks for your response. The debugging console shows it is... I've tried a few other arrays also.. Quote:
Still just returns nothing....
__________________
Shaz X-Cart Developer Sydney - Australia |
|||||||
#4
|
|||||||||
|
|||||||||
![]() div inside link may throw a validation error.
customer/simple_products_list.tpl is called from other areas like modules/Recommends/recommends.tpl (Upselling Links). It has its own $product called from within its own foreach loop. This is a separate $product from the one on the product details page. Most likely descr is not in the simple list and would have to be added through a customization. |
|||||||||
#5
|
|||||||
|
|||||||
![]() Thanks Cherie, we ended up pulling the product name instead of the sdescr.
Cheers for your input ![]()
__________________
Shaz X-Cart Developer Sydney - Australia |
|||||||
|
|||
X-Cart forums © 2001-2020
|