Developer forum

Forum » Development » eCom customers who bought this ...

eCom customers who bought this ...


Reply
When showing a product, i want to show some kind of statistical data from eCom orders that can tell the customer what other products customers usually buys together with this specific product.

Can that be done using default functions in eCom, or should i extract the data from eCom Orders and create a file using f.ex. databasepublishing ?

Rgds
Lars

Replies

 
Reply
lb wrote:
When showing a product, i want to show some kind of statistical data from eCom orders that can tell the customer what other products customers usually buys together with this specific product.



Can that be done using default functions in eCom, or should i extract the data from eCom Orders and create a file using f.ex. databasepublishing ?



Rgds

Lars








We don't support the feature right now, but it's one of the features we plan to support in the future.

There no "official" way of doing it. But looking at the order/orderline tables is the way to go.

A few ideas:


  • Create an index table of some kind in the database.

  • Use the Notification API to update the index table when you recieve an OrderComplete Notification.

  • Write a Template Extender to query the index and create a template loop with the the required tags.



  • I'll post more info on using Notifications and Template Extenders on my weblog next week.


     

    You must be logged in to post in the forum