Hello,
I would like to add a brand page that lists all brands and add a link to that page in Horizontal menu.
Will it require an addon?
Thanks
How to add a brand page?
- 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: How to add a brand page?
It's not a core feature, so in that sense it will require an add-on. However, it's not one of the most complicated tasks, and could be done mostly by copying core-files, so in that sense it's not a complicated task to do.
You'd need something like:
/brands.php
/includes/{language}/brands.php
/templates/default/includes/pages/brands.php
and then, of course, to add the link to the header - either through a new module or, if your existing modules are able to, through an existing module. (Could be done in other ways, but a module seems the most logical place for it).
I would copy core files (or segments from them) that does something similar:
- you have a box in core that lists all manufacturers
- you have a few pages in core that makes a nice list of "cards"
- you have a box in core that shows more than the name of the manufacturer.
I hope that will be helpful for you! I will gladly try to assist further, should you need it!
//Daniel
You'd need something like:
/brands.php
/includes/{language}/brands.php
/templates/default/includes/pages/brands.php
and then, of course, to add the link to the header - either through a new module or, if your existing modules are able to, through an existing module. (Could be done in other ways, but a module seems the most logical place for it).
I would copy core files (or segments from them) that does something similar:
- you have a box in core that lists all manufacturers
- you have a few pages in core that makes a nice list of "cards"
- you have a box in core that shows more than the name of the manufacturer.
I hope that will be helpful for you! I will gladly try to assist further, should you need it!
//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
-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times
Re: How to add a brand page?
I'll look at it then get back with you. I'm sure I'll need help. Thank you for your replyKofod95 wrote: ↑Wed Jun 21, 2023 6:39 am It's not a core feature, so in that sense it will require an add-on. However, it's not one of the most complicated tasks, and could be done mostly by copying core-files, so in that sense it's not a complicated task to do.
You'd need something like:
/brands.php
/includes/{language}/brands.php
/templates/default/includes/pages/brands.php
and then, of course, to add the link to the header - either through a new module or, if your existing modules are able to, through an existing module. (Could be done in other ways, but a module seems the most logical place for it).
I would copy core files (or segments from them) that does something similar:
- you have a box in core that lists all manufacturers
- you have a few pages in core that makes a nice list of "cards"
- you have a box in core that shows more than the name of the manufacturer.
I hope that will be helpful for you! I will gladly try to assist further, should you need it!
//Daniel
-
gabbysplaza
- Member
- Posts: 45
- Joined: Tue Oct 26, 2021 5:33 pm
- Phoenix Version:
- Has thanked: 24 times
- Been thanked: 2 times
Re: How to add a brand page?
How can I use this to add just another page similar to privacy policy, contacts etc? My page won't be as complicated as that requested by @lecarlb
Thanks.
Thanks.
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: How to add a brand page?
https://phoenixcart.org/phoenixcartwiki ... Info_Pagesgabbysplaza wrote: ↑Fri Jun 28, 2024 11:00 am How can I use this to add just another page similar to privacy policy, contacts etc? My page won't be as complicated as that requested by @lecarlb
Thanks.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
gabbysplaza
- Member
- Posts: 45
- Joined: Tue Oct 26, 2021 5:33 pm
- Phoenix Version:
- Has thanked: 24 times
- Been thanked: 2 times