View Single Post
  #6  
Old 10-24-2012, 11:22 AM
 
hamid hamid is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 107
 

Default Re: Extra field value in products list

I'm using xcart 4.0.16 - and I also want to display extra fields on the products list page as well but this doesn't seem to work.

On the products list page, debug console lists the $extra_fields array like this:

{$extra_fields}
Array (2)
0 => Array (5)
fieldid => 1
provider => me
field => Bundle001
value => empty
active => Y
1 => Array (5)
fieldid => 2
provider => me
field => Bundle002
value => empty
active => Y


However on the product page debug console lists $extra_fields array like this:

{$extra_fields}
Array (2)

0 => Array (7)
fieldid => 1
provider => me
field => Bundle001
value => empty
active => Y
field_value => 2
is_value => Y
1 => Array (7)
fieldid => 2
provider => me
field => Bundle002
value => empty
active => Y
field_value => 7
is_value => Y


(The extra fields are displayed correctly on the product page, but not on the products list page)

As you can see, the products list page is missing the field_value, and is_value items.

Please can anybody help?
__________________
X-Cart Gold v4.6.5
Reply With Quote