We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Store 6.0.2 cats in sales/discounts issue

Expresso Store

travisb's avatar
travisb
172 posts
3 months ago
travisb's avatar travisb
Store 6.0.2

Issue: Categories don’t show in Sales & Discounts unless at least 1 channel has a Store field selected in "Edit Channel > Fields”.

Specifically: If site-wide in Channel settings your Store fields are all in "Edit Channel > Field groups", with none selected individually in "Edit Channel > Fields”, then the Sales & Discounts don’t show any categories for Match Categories.

Suggested cause:
/store/src/Service/ProductsService.php
The function get_categories() get’s no results in the sql query if all channels only have Store fields in channel field groups.
       
Tom Jaeger's avatar
Tom Jaeger
449 posts
2 months ago
Tom Jaeger's avatar Tom Jaeger
Quick update on this one.

A fix for this will be shipping in our next release.

Cheers,

-Tom Jaeger
       
MarianaAbshire's avatar
MarianaAbshire
1 posts
2 months ago
MarianaAbshire's avatar MarianaAbshire
Hi [geometry dash lite](https://geometrydashlite.online)!
Assign at least one Store field to Edit Channel → Fields for the category to reappear in Sales & Discounts.
? 1
       
Lifisselibee98's avatar
Lifisselibee98
1 posts
about 2 months ago
Lifisselibee98's avatar Lifisselibee98
Great
https://99-nightsintheforest.io
       
Chloe Phillips's avatar
Chloe Phillips
3 posts
one month ago
Chloe Phillips's avatar Chloe Phillips
This is a helpful find! It's good to know about this quirk in Store 6.0.2 regarding category visibility in Sales & Discounts. It sounds like the get_categories() function in ProductsService.php needs a little tweak to properly handle scenarios where Store fields are exclusively managed within channel field groups. This reminds me of some tricky configurations I've encountered while working on a side project involving car modifications and optimizing vehicle stats, a virtual garage of sorts you could say, it is as addictive as [Drift Hunters](https://drifthunters3d.io). Hopefully this gets addressed in the next update!

       
Owenpaul's avatar
Owenpaul
6 posts
3 weeks ago
Owenpaul's avatar Owenpaul
Could you clarify if there are any specific workarounds or solutions to ensure that categories appear in Sales & Discounts when no Store fields are selected in "Edit Channel > Fields"?
[slope](https://slope-play.com)
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.