Show certain categories on the index page

Open to all! Ask other shopowners for help.
Post Reply
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Has thanked: 48 times
Been thanked: 9 times

Show certain categories on the index page

Post by lecarlb »

Hello,

First, the link in the Addons section for s06e01 - Index Page Layout leads to yoursite.com.

I'm looking for something that will show the categories I choose on the index page. Something similar to Category Images which I couldn't get to work. Perhaps a module for s06e01 - Index Page Layout.

Thanks for your time and help.


Join The Code Co-op to get access to your library in the Code Co-op Forum
admin
Contributor
Posts: 217
Joined: Wed Oct 30, 2019 1:34 pm
Phoenix Version:
Has thanked: 20 times
Been thanked: 22 times

Re: s06e01 - Index Page Layout

Post by admin »

lecarlb wrote: Sat May 01, 2021 6:52 amFirst, the link in the Addons section leads to yoursite.com.
TY - fixed.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Show certain categories on the index page

Post by ecartz »

I split this off from the other topic, as it seems tangentially connected at best.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Show certain categories on the index page

Post by heatherbell »

lecarlb wrote: Sat May 01, 2021 6:52 amI'm looking for something that will show the categories I choose on the index page. Something similar to Category Images which I couldn't get to work.
We used the Advert Manager to create some 'adverts' for the categories and assigned them to a 'group'. Then used one of the PI addons included in the package as a starting point to make another addon that displayed the group. Just DIY that works for us but Certified Developers could do a proper job.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Show certain categories on the index page

Post by heatherbell »

lecarlb wrote: Sat May 01, 2021 6:52 amI'm looking for something that will show the categories I choose on the index page. Something similar to Category Images which I couldn't get to work. Perhaps a module for s06e01 - Index Page Layout.
So we made 2 Index Layout addons that display what we configured in The Advert Manager.
advert.jpg
One shows Categories. Set up adverts for each category URL you want and assign them to a 'Categories' Group and configure the addon to show that group. The addon will show the Title, Image and HTML Text entered in the advert all linking to the URL.
We made the second one for adverts to show whatever URLs we want that are assigned to a different group.
index.jpg
Attached the whole package here for Supporters only - tested on 1.0.8.0 but might work on some earlier versions.
sHBe01 - Index Layout Categories Adverts.zip
You do not have the required permissions to view the files attached to this post.
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Has thanked: 48 times
Been thanked: 9 times

Re: Show certain categories on the index page

Post by lecarlb »

heatherbell wrote: Mon May 10, 2021 6:00 am
lecarlb wrote: Sat May 01, 2021 6:52 amI'm looking for something that will show the categories I choose on the index page. Something similar to Category Images which I couldn't get to work. Perhaps a module for s06e01 - Index Page Layout.
So we made 2 Index Layout addons that display what we configured in The Advert Manager.
advert.jpg
One shows Categories. Set up adverts for each category URL you want and assign them to a 'Categories' Group and configure the addon to show that group. The addon will show the Title, Image and HTML Text entered in the advert all linking to the URL.
We made the second one for adverts to show whatever URLs we want that are assigned to a different group.
index.jpg
Attached the whole package here for Supporters only - tested on 1.0.8.0 but might work on some earlier versions.
sHBe01 - Index Layout Categories Adverts.zip
@heatherbell Thank you. I'll give it a try.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Show certain categories on the index page

Post by heatherbell »

lecarlb wrote: Mon May 10, 2021 6:09 amI'll give it a try.
A better example for the second 'Adverts' addon would be use of the Keyword Search Engine.
Make sure Modules>Header Tags>Product SEO is installed and Enable Keyword Search Engine is set to True.
Then add a random keyword to Product Keywords (Categories/Products>Edit>Language specific) to products required to be shown together.
By random, that is a 'word' not used elsewhere in your store e.g. advert12345
Then set up an advert in Advert Manager with URL advanced_search_result.php and keywords=advert12345 which will show a page with that unique grouping of products.
Of course, the advert URLs could also show Info Pages or create a new page that shows all Info Pages assigned to a 'Folder' and link to that.
Clone the addons in the package and play with the addon template files to create any display on index required - fun with Phoenix!


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply