Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SI: Product Type Properties not sorted properly #209

Closed
WillStrohl opened this issue Jun 28, 2019 · 2 comments
Closed

SI: Product Type Properties not sorted properly #209

WillStrohl opened this issue Jun 28, 2019 · 2 comments
Labels
Milestone

Comments

@WillStrohl
Copy link
Member

Describe the bug

Despite the product type properties appearing to be sorted correctly in their edit view, the sort is not correct when viewing them in the drilldown category view, nor when editing a product that may have this feature including.

Software Versions

  • DNN: 09.01.01
  • Hotcakes: 03.02.01

To Reproduce

Steps to reproduce the behavior:

  1. Clean install
  2. Add sample products
  3. Create a multiple choice product type property that contains a list of values (e.g., the past 10 years in yyyy format)
  4. Save the product type property into a product type and apply it to a product.
  5. View the product in the store and it will likely look correct.
  6. Add new product type property and even sort it in the same view.

Expected behavior

The product type properties appear in the product edit and category viewer drill down views in the saved sort order.

Actual behavior

The product type properties are only in the correct sort order when viewing them on their own edit view.

Screenshots

image

image

image

@WillStrohl WillStrohl added this to the 03.03.00 milestone Jun 28, 2019
@WillStrohl WillStrohl added the bug label Jun 28, 2019
@WillStrohl
Copy link
Member Author

WillStrohl commented Nov 8, 2019

Example queries to find and potentially update the sort manually until this is resolved.

In DNN:

SELECT * FROM {databaseOwner}[{objectQualifier}hcc_ProductProperty] ORDER BY [PropertyName];
SELECT * FROM {databaseOwner}[{objectQualifier}hcc_ProductPropertyChoice] WHERE [PropertyId] = ;

In SSMS:

SELECT * FROM [dbo].[hcc_ProductProperty] ORDER BY [PropertyName];
SELECT * FROM [dbo].[hcc_ProductPropertyChoice] WHERE [PropertyId] = ;

WillStrohl added a commit to WillStrohl/hotcakes-commerce-core that referenced this issue May 17, 2020
WillStrohl pushed a commit that referenced this issue May 17, 2020
@WillStrohl
Copy link
Member Author

We just finished cooking up a fresh serving of Hotcakes for you. Enjoy! ;)

https://dnncommunity.org/blogs/Post/5689/Hotcakes-Commerce-03-03-00-Release-Marks-a-Major-Milestone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant