order the products on the home page by price
-
abofayez
order the products on the home page by price
Is there a way to order the products on the home page by price?
- Kofod95
- Senior Contributor
- Posts: 748
- Joined: Sat Feb 06, 2021 7:38 pm
- Phoenix Version: 1.0.8.20
- Has thanked: 99 times
- Been thanked: 179 times
Re: order the products on the home page by price
You could make a copy of includes/modules/content/index/cm_i_card_products.php (I think that's the one), and corresponding language file. Rename it, and edit the file to make the class name and constants match the new file name, as well as add something similar to 'ORDER BY final_price' to the sql - it might not be 'final_price', and it might not work, but give it a shot!
//Daniel
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
-
abofayez
Re: order the products on the home page by price
I do not have enough experience to modify the codes.... I wish I could find someone to help me.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
- Kofod95
- Senior Contributor
- Posts: 748
- Joined: Sat Feb 06, 2021 7:38 pm
- Phoenix Version: 1.0.8.20
- Has thanked: 99 times
- Been thanked: 179 times
Re: order the products on the home page by price
As @heatherbell wrote; certified developers are there for you, and will happily qoute you!
In general, almost everything is possible with Phoenix. The code is flexible, built to allow easy modifications that won't break anything. This also means that a lot of the possible actions, features and functions does not exist yet, and wait for someone to make it or get it made - in truth, most features and functions haven't even been thought of yet, as so much is possible, and so little is limited.
You probably knew that already, but it might reach someone who didn't
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
-
abofayez
Re: order the products on the home page by price
You have given me more hope..I will try and I hope to succeed.
Thank you for your ideas and help
Thank you for your ideas and help
- Kofod95
- Senior Contributor
- Posts: 748
- Joined: Sat Feb 06, 2021 7:38 pm
- Phoenix Version: 1.0.8.20
- Has thanked: 99 times
- Been thanked: 179 times
Re: order the products on the home page by price
Sounds good, good luck! 
Please do not hestitate to report your progress, challenges and frustrations here! It might help others, and sometimes others will be able to help you as well.
//Daniel
Please do not hestitate to report your progress, challenges and frustrations here! It might help others, and sometimes others will be able to help you as well.
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide