Hi Rainer,
As the store I am working on has over 4k products it would take forever to go and create related products.
Please can you advise on changing the sql to display products from the same category as the product being viewed???
Thanks
Mark
Related Products
Random products from same category - Related Products
-
- VIP Member
- Posts: 253
- Joined: Mon Mar 01, 2021 5:55 pm
- Contact:
Re: Random products from same category
Hi Mark,
You could do it much easier starting with a copy of the also purchased products module and using the query from the index_nested new products module (cm_in_card_products.php).
Just change the sort order from newest (products_id) to random.
If needed further advice, please post in the general support forum.
Best wishes
Rainer
You could do it much easier starting with a copy of the also purchased products module and using the query from the index_nested new products module (cm_in_card_products.php).
Just change the sort order from newest (products_id) to random.
If needed further advice, please post in the general support forum.
Best wishes
Rainer
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
- PhoenixCart Developer
- Posts: 1215
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Contact: