Thank you for your contribution about "Also Purchase". I set up the files as you says but I don't know how to use -
3) Schedule a daily cron job. This job will do the hard part and fill the table with the products_id and the ap_id.- this part!
Would you show me the SQL query for example?