Next up... products show in all categories instead of just the one I upload it to

Open to all! Ask other shopowners for help.
Post Reply
PBR Streetgang
Member
Posts: 48
Joined: Fri Nov 19, 2021 4:09 pm
Phoenix Version:
Has thanked: 24 times

Next up... products show in all categories instead of just the one I upload it to

Post by PBR Streetgang »

So my homepage shows 'New Products For June', and when I click a category it goes to /index.php?cPath=18 and 'New Products For June' is what I see again instead of what I've uploaded into that category.


Join The Code Co-op to get access to your library in the Code Co-op Forum
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Next up... products show in all categories instead of just the one I upload it to

Post by heatherbell »

Check that you have modules enabled to show categories and product listing.
E,g, Modules > Content > Product Listing in index_products
User avatar
burt
Core Team
Posts: 4561
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 422 times

Re: Next up... products show in all categories instead of just the one I upload it to

Post by burt »

Taking the online demo, which probably looks more or less like what you have installed;

Index Page:
https://phoenixcart.org/demo/index.php

Clicking to a SubCategory [SC] will show EITHER products [in other words, the SC has no further SC's];

https://phoenixcart.org/demo/index.php?cPath=2

Or it will show further SC's along with a few products from those SC's;

https://phoenixcart.org/demo/index.php?cPath=1

Your wording in the post seems to read that you have maybe uninstalled the "sub category list" which is an index_nested module found at admin > modules > content - Without that module installed, the page would look as you describe (new products for month).

Note that a category or sub-cat or sub-sub-cat etc can contain ONLY further subcats OR products. Never both.
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
burt
Core Team
Posts: 4561
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 422 times

Re: Next up... products show in all categories instead of just the one I upload it to

Post by burt »

To put it another way;

The "new products for <month>" on the index page shows products taken from all categories.

Whereas;

The "new products for <month>" on a category page shows only products from subcategories of that category.
I am not here to build for you.
I am here to build with you. Let's help each other.
PBR Streetgang
Member
Posts: 48
Joined: Fri Nov 19, 2021 4:09 pm
Phoenix Version:
Has thanked: 24 times

Re: Next up... products show in all categories instead of just the one I upload it to

Post by PBR Streetgang »

Thank you for your help.
I set New products to false when I found that option. Don't really need that.
The sub category list and product listing are both installed and set true. I made sure my items are active too. NO products showing up.
User avatar
burt
Core Team
Posts: 4561
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 422 times

Re: Next up... products show in all categories instead of just the one I upload it to

Post by burt »

Supply URL so that your shop can be seen as that may help diagnosis.
I am not here to build for you.
I am here to build with you. Let's help each other.
PBR Streetgang
Member
Posts: 48
Joined: Fri Nov 19, 2021 4:09 pm
Phoenix Version:
Has thanked: 24 times

Re: Next up... products show in all categories instead of just the one I upload it to

Post by PBR Streetgang »

products1.jpg
divebombinc.com
You do not have the required permissions to view the files attached to this post.
User avatar
Kofod95
Senior Contributor
Posts: 749
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: Next up... products show in all categories instead of just the one I upload it to

Post by Kofod95 »

Maybe a long shot, but have you tried removing the content->index_products->product_listing module and installing it again?
Also, are any errors logged? Just to make sure to try the obvious things.

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
User avatar
burt
Core Team
Posts: 4561
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 422 times

Re: Next up... products show in all categories instead of just the one I upload it to

Post by burt »

A suggestion would be to esure that you have no orphan files from your previous website - particularly .htaccess.

Looking at this page:
divebombinc.com/index.php?cPath=16

Gives some source code as so;

<div class="col-sm-12 cm-i-customer-greeting">

Along with other cm-i-* modules.

These modules only show on index.php (unless you have made changes), so it could be that something is interfering with page loading. Put more simply, this

divebombinc.com/index.php?cPath=16
is actually showing this
divebombinc.com/index.php

In addition, other pages are non reactive [not showing, they actually error out], for example:

divebombinc.com/specials.php
divebombinc.com/products_new.php

So, you have a broken installation OR you have files from the previous "We had a website crash, but we restored customer data finally! Working on products now" website, OR there are database discrepancies from the "pre website crash" site compared to the "post website crash" site.
I am not here to build for you.
I am here to build with you. Let's help each other.
PBR Streetgang
Member
Posts: 48
Joined: Fri Nov 19, 2021 4:09 pm
Phoenix Version:
Has thanked: 24 times

Re: Next up... products show in all categories instead of just the one I upload it to

Post by PBR Streetgang »

Thanks! I'll get on that when I finish painting.


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