Page 1 of 1
How to add a brand page?
Posted: Wed Jun 21, 2023 5:46 am
by lecarlb
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
Re: How to add a brand page?
Posted: Wed Jun 21, 2023 6:39 am
by Kofod95
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
Re: How to add a brand page?
Posted: Wed Jun 21, 2023 6:47 am
by lecarlb
Kofod95 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
I'll look at it then get back with you. I'm sure I'll need help. Thank you for your reply
Re: How to add a brand page?
Posted: Wed Jun 21, 2023 12:06 pm
by Omar_one
Re: How to add a brand page?
Posted: Fri Jun 28, 2024 11:00 am
by gabbysplaza
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.
Re: How to add a brand page?
Posted: Fri Jun 28, 2024 11:53 am
by burt
gabbysplaza 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.
https://phoenixcart.org/phoenixcartwiki ... Info_Pages
Re: How to add a brand page?
Posted: Fri Jun 28, 2024 1:52 pm
by gabbysplaza
Thank you @burt