Page 1 of 1
Next up... products show in all categories instead of just the one I upload it to
Posted: Fri Jun 02, 2023 4:34 pm
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.
Re: Next up... products show in all categories instead of just the one I upload it to
Posted: Fri Jun 02, 2023 4:38 pm
by heatherbell
Check that you have modules enabled to show categories and product listing.
E,g, Modules > Content > Product Listing in index_products
Re: Next up... products show in all categories instead of just the one I upload it to
Posted: Fri Jun 02, 2023 6:31 pm
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.
Re: Next up... products show in all categories instead of just the one I upload it to
Posted: Fri Jun 02, 2023 6:59 pm
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.
Re: Next up... products show in all categories instead of just the one I upload it to
Posted: Fri Jun 02, 2023 7:29 pm
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.
Re: Next up... products show in all categories instead of just the one I upload it to
Posted: Sun Jun 04, 2023 9:25 am
by burt
Supply URL so that your shop can be seen as that may help diagnosis.
Re: Next up... products show in all categories instead of just the one I upload it to
Posted: Sun Jun 04, 2023 6:05 pm
by PBR Streetgang
products1.jpg
divebombinc.com
Re: Next up... products show in all categories instead of just the one I upload it to
Posted: Sun Jun 04, 2023 8:00 pm
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
Re: Next up... products show in all categories instead of just the one I upload it to
Posted: Sun Jun 04, 2023 8:51 pm
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.
Re: Next up... products show in all categories instead of just the one I upload it to
Posted: Mon Jun 05, 2023 4:34 pm
by PBR Streetgang
Thanks! I'll get on that when I finish painting.