Next up... products show in all categories instead of just the one I upload it to
-
- Posts: 48
- Joined: Fri Nov 19, 2021 4:09 pm
- Has thanked: 24 times
Next up... products show in all categories instead of just the one I upload it to
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.
-
- VIP Member
- Posts: 2030
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 times
Re: Next up... products show in all categories instead of just the one I upload it to
Check that you have modules enabled to show categories and product listing.
E,g, Modules > Content > Product Listing in index_products
E,g, Modules > Content > Product Listing in index_products
-
- Lead Developer
- Posts: 2441
- Joined: Tue Oct 29, 2019 9:37 am
- : Buy Me A Beverage
- Has thanked: 51 times
- Been thanked: 138 times
Re: Next up... products show in all categories instead of just the one I upload it to
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.
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.
Gamechanger Addon: Queued Emails, try before you buy.
-
- Lead Developer
- Posts: 2441
- Joined: Tue Oct 29, 2019 9:37 am
- : Buy Me A Beverage
- Has thanked: 51 times
- Been thanked: 138 times
Re: Next up... products show in all categories instead of just the one I upload it to
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.
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.
Gamechanger Addon: Queued Emails, try before you buy.
-
- Posts: 48
- Joined: Fri Nov 19, 2021 4:09 pm
- Has thanked: 24 times
Re: Next up... products show in all categories instead of just the one I upload it to
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.
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.
-
- Lead Developer
- Posts: 2441
- Joined: Tue Oct 29, 2019 9:37 am
- : Buy Me A Beverage
- Has thanked: 51 times
- Been thanked: 138 times
Re: Next up... products show in all categories instead of just the one I upload it to
Supply URL so that your shop can be seen as that may help diagnosis.
Gamechanger Addon: Queued Emails, try before you buy.
-
- Posts: 48
- Joined: Fri Nov 19, 2021 4:09 pm
- Has thanked: 24 times
Re: Next up... products show in all categories instead of just the one I upload it to
divebombinc.com
You do not have the required permissions to view the files attached to this post.
- Kofod95
- VIP Member
- Posts: 615
- Joined: Sat Feb 06, 2021 7:38 pm
- Has thanked: 80 times
- Been thanked: 142 times
Re: Next up... products show in all categories instead of just the one I upload it to
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
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
Here are a lot of corns: Phoenix user guide
-
- Lead Developer
- Posts: 2441
- Joined: Tue Oct 29, 2019 9:37 am
- : Buy Me A Beverage
- Has thanked: 51 times
- Been thanked: 138 times
Re: Next up... products show in all categories instead of just the one I upload it to
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.
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.
Gamechanger Addon: Queued Emails, try before you buy.
-
- Posts: 48
- Joined: Fri Nov 19, 2021 4:09 pm
- Has thanked: 24 times
Re: Next up... products show in all categories instead of just the one I upload it to
Thanks! I'll get on that when I finish painting.