PDA

View Full Version : Featured price



Petrache Nicolae
September 24, 2012, 07:50 AM
hello. what code should we use to show price in the featured section. the code from listings " {$listing.price|number_format:0:",":"."} {$config.system_currency} " is not working. price shows 0. thanks

Morgan Bohman
September 24, 2012, 08:09 AM
If you go to your categories, build category, build featured form, there you can add the price field.

Petrache Nicolae
September 24, 2012, 08:27 AM
If you go to your categories, build category, build featured form, there you can add the price field.
Thank your for the suggestion but that is not what i have asked -i shoulded specify listings box instead of featured (even if they are similar). The code wich i have specified up, reads the price value and so you can place it over a label- like you have sean into my website. That code works for list/grid view but not for featured ads. It shows 0 instead of the proper value

Mike
September 24, 2012, 11:36 AM
Try something like $featured_listing.fields.price.value

Petrache Nicolae
September 24, 2012, 12:05 PM
proper solution is
{$featured_listing.price|number_format:0:",":"."} {$config.system_currency}

thanks Mike. Can you please take a look at ticket IQE-300223

Mike
September 25, 2012, 03:30 AM
thanks Mike. Can you please take a look at ticket IQE-300223

Yes i will answer today to the ticket.