Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Product Popularity Count Rate Topic   - - - - -

 
  • beta
  • Advanced Member
  • Trial users
  • Join Date: 18-Oct 11
  • 51 posts

Posted 10 January 2014 - 05:05 PM #1

Hi All,

Anyone have any idea on how to display the product popularity count of the detailed product store?

I think that {$product_popularity_count} would do it, but when I put this code in the product_data.tpl, it doesn't show. Do I need to put something else with it?

Like this: Popularity (1250)

My CS version: 2.1.x

Thanks.

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11660 posts

Posted 10 January 2014 - 10:05 PM #2

Popularity is a separate table and needs to be fetched separately or you need to add a PHP hook that will adjust the JOIN before the date is retrieved.

If you are wanting this for a specific page only, then it would be easiest to simply use a 'post' controller for the controller.mode you want the data available on and set the variable aor add the data to an existing variable.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • beta
  • Advanced Member
  • Trial users
  • Join Date: 18-Oct 11
  • 51 posts

Posted 25 January 2014 - 01:35 PM #3

thanks tbirnseth.