I think thats a plugin that does that.
You should try and ask the developers of the plugin
Thread Starter
dompl
(@dompl)
Hi Mihai,
Thanks for your reply.
I can see that this functionality is in the wp e-commerce folder
wp-content\plugins\wp-e-commerce\wpsc-components\theme-engine-v1\helpers\product.php
Would that be an independent plugin?
Thanks!
ohh yeah 🙂
Not exactly sure how to chage it. From what i see in the code it shows products that have been purchased along with the product you are viewing.
So if someone buys PROD1 and PROD2, when you view PROD2 it will show PROD1 because it was bought at the same time with PROD2
Try adding in that file on line 720 where you have:
SELECT
” . $wpdb->posts . “.* FROM
” . WPSC_TABLE_ALSO_BOUGHT`
Add DISTINCT after the select
Thread Starter
dompl
(@dompl)
Works like a charm, thanks!