Re: Customer who bought this also bought...
Customer who bought this also bought... (13 replies) Wed, 09/26/2007 - 09:27
- Re: Customer who bought this also bought... (01/21/2008 - 00:26)
- Re: Re: Customer who bought this also bought... (01/21/2008 - 02:40)
- Re: Re: Re: Customer who bought this also bought... (01/21/2008 - 19:19)
- Re: Re: Re: Re: Customer who bought this also bought... (01/21/2008 - 20:38)
- Re: Re: Re: Re: Re: Customer who bought this also bought... (01/31/2008 - 20:41)
- Re: Re: Re: Re: Re: Re: Customer who bought this also bought... (02/01/2008 - 09:12)
- Re: Re: Re: Re: Re: Re: Re: Customer who bought this also bought (02/01/2008 - 10:36)
- Re: Re: Re: Re: Re: Re: Re: Re: Customer who bought this also bo (02/01/2008 - 10:41)
- Re: Re: Re: Re: Re: Re: Re: Re: Re: Customer who bought this als (02/03/2008 - 23:41)
- Re: Re: Re: Re: Re: Re: Re: Re: Customer who bought this also bo (02/01/2008 - 10:41)
- Re: Re: Re: Re: Re: Re: Re: Customer who bought this also bought (02/01/2008 - 10:36)
- Re: Re: Re: Re: Re: Re: Customer who bought this also bought... (02/01/2008 - 09:12)
- Re: Re: Re: Re: Re: Customer who bought this also bought... (01/31/2008 - 20:41)
- Re: Re: Re: Re: Customer who bought this also bought... (01/21/2008 - 20:38)
- Re: Re: Re: Customer who bought this also bought... (01/21/2008 - 19:19)
- Re: Re: Customer who bought this also bought... (01/21/2008 - 02:40)
- Re: Customer who bought this also bought... (09/26/2007 - 09:36)
- Re: Customer who bought this also bought... (09/26/2007 - 09:33)
- Re: Re: Customer who bought this also bought... (10/07/2007 - 07:34)
- Re: Re: Re: Customer who bought this also bought... (10/07/2007 - 14:37)
- Re: Re: Customer who bought this also bought... (10/07/2007 - 07:34)

Others have asked about it before, but all that got lost in the server crash. No one's announced that they're working on anything like that. I started a marketing module to hold this kind of functionality, but I really only got as far as this query:
<?php$result = db_query("SELECT that.nid, COUNT(that.nid) AS frequency FROM {uc_order_products} AS this LEFT JOIN uc_order_products AS that ON this.order_id = that.order_id LEFT JOIN uc_orders AS orders ON that.order_id = orders.order_id WHERE this.nid = %d AND that.nid != %d GROUP BY that.nid ORDER BY frequency DESC, orders.created DESC LIMIT %d", $nid, $nid, variable_get('uc_marketing_display_limit', 6));
?>
I don't see myself going back to it unless I get really burnt out on other problems. Anybody is welcome to take this and run with it.