Welcome Guest
(
Login
|
Register
)
Latest Posts
Popular Topics
Home
Search
Tags
Members
Home
»
Kartris ASP.NET Ecommerce Software
»
Kartris technical issues
»
Frontend Version Ordering issue
Frontend Version Ordering issue
Posted By
metalmania
Tue 30 Jun 2015
1
POST REPLY
LIKE
658
Frontend Version Ordering issue
Flat Ascending
Flat Descending
Threaded
Topic View
Add To Favorites
Print This Topic
Goto Topics Forum
Topic Options
Author
Message
metalmania
Posted Tue 30 Jun 2015
Supreme Being
Group: Forum Members
Last Active: Tue 21 Jun 2016
Posts: 36,
Visits: 165
25,816
I think I've spotted a small issue with ordering versions where the product is set to use the config defaults.
My Scenario:-
Product Settings
P_OrderVersionsBy = '-'
P_VersionsSortDirection = '-'
which means the sorting should come from the defaults:-
Config Settings
frontend.versions.display.sortdefault = 'V_OrderByValue'
frontend.versions.display.sortdirection = 'A'
However this does not produce the required result on the frontend.
I believe the problem is in the spKartrisVersions_GetByProductID stored procedure
because it is checking for an OrderDirection of null or empty before it will use the default config settings.
However in this case the value stored in the product row column (P_VersionsSortDirection) is '-'(Hyphen) - so the
products get sorted by V_Price DESC (i.e. the ELSE statement in the procedure).
I guess the fix would be to check for null,empty OR '-' in the stored procedure before using the config defaults.
Tags
config
,
frontend
,
ordering
,
version
REPLY
QUOTE
LIKE
351
shulemj
Posted Mon 12 Sep 2016
Supreme Being
Group: Forum Members
Last Active: Thu 11 Jul 2019
Posts: 115,
Visits: 565
58,869
I have the same issue, with the following setting:
frontend.versions.display.sortdefault = 'V_Name'
Tags
config settings
,
display
,
sort by
,
version
REPLY
QUOTE
LIKE
307
POST REPLY
LIKE
658
Similar Topics
Reading This Topic
Powered By InstantForum.NET 2012-1 © 2024
Execution: 0.047.
6 queries.
Compression Enabled.