concretecms-community-store / community_store

An open, free and community developed eCommerce system for Concrete CMS
https://concretecms-community-store.github.io/community_store/
MIT License
106 stars 66 forks source link

Categorize under page #714

Closed baxterdmutt closed 1 year ago

baxterdmutt commented 1 year ago

I am unable to get this to work. I’ve created a page type “Product Categories” a product list block is in that page with product list set to “Categorize under current page”. This new page type is place under “Products” in the site. When I go into a product - “Catagories and Groups” and choose the categories page I added. It shows chosen and after I click “update product” the selection goes blank and the new page does not show any products. If tried this a ton of different way and just can’t get it to work. I had a previous problem with php 8 so I’m no longer on php8. I’ve switched back to 7.4. I’m using Concrete 9.1.2. Oh, and I’m using the most recent community store. Downloaded it this morning.

Mesuva commented 1 year ago

I just tried this on my local development copy and wasn't hitting this issue. Could it be something simple like not having the product active?

Feel free to include some screenshots, or you're welcome to email through some details for me to look at.

baxterdmutt commented 1 year ago

Ok, I’m not able to include the screenshots today, but the products are active. I’ve tried with products that have variations as well as single products and the results are always the same. It lets me choose the page but then after I save the choice the selection goes right back to “choose page” Could this be some strange privilege issue. Or corrupt DB. Can you direct me to a log that I could look at? In the right side menu under “products”-> “Catagories” it always says no pages have been used to categorize. Have I missed a setting. Where in the database the Catagories get stored. I see the table CommunityStoreProductGroups but don’t see how the Categories are stored.

baxterdmutt commented 1 year ago

And now I’m seeing another issue. If I’m editing the page I wish to use for the catagorize page, the drop-down list give All Catagorize under page Catagorize under page and child pages Catagorize under a specific page (this option causes an error because there is no option for me to enter a specified page.

Mesuva commented 1 year ago

Are you able to actually select a page when you go 'categorize under page..', or does the page selector not appear? (it should look like this:)

Screen Shot 2022-12-13 at 8 21 13 am

baxterdmutt commented 1 year ago

Thanks for your help @Mesuva . Indeed the issue was that I installed from the "master" instead of the "latest release" I'm not sure how I missed it but I've got it working now. Thanks again