Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

New Sort By Option

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 08-17-2021, 02:30 PM
 
LTucker LTucker is offline
 

Newbie
  
Join Date: Mar 2020
Posts: 6
 

Default New Sort By Option

I'm working on adding a new sort by option, amount/ stock level. I've tried following the X-Cart Documentation Adding New Sort Option to ItemList and have not had any success. Is this task completed differently for post 5.3 versions?

Thank you
__________________
Larry Tucker
Programmer Analyst, WPG Americas Inc.

X-Cart v5.4.0.1 [Linux]
Reply With Quote
  #2  
Old 08-18-2021, 01:29 AM
  pauldodman's Avatar 
pauldodman pauldodman is online now
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,025
 

Default Re: New Sort By Option

Probably - it looks like that documentation is for 5.3.
This is often the case - 5.4 is quite a bit different so a lot of these pages are out of date now.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 08-18-2021, 11:18 AM
 
LTucker LTucker is offline
 

Newbie
  
Join Date: Mar 2020
Posts: 6
 

Default Re: New Sort By Option

Yeah I've been noticing the documentation is outdated. I've also noticed a lack of standardization within the CDev and XC modules as well... which makes it difficult to understand how certain tasks are completed within this platform.

That's part of the reason why I'm reaching out here. As decorating View classes in X-Cart v5.4 or later seems to be an elusive task...
__________________
Larry Tucker
Programmer Analyst, WPG Americas Inc.

X-Cart v5.4.0.1 [Linux]
Reply With Quote
  #4  
Old 08-18-2021, 04:35 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,035
 

Default Re: New Sort By Option

Your best bet to learn how something is supposed to be done/work is to study the code within the version you are using.
The XC docs are either out of date or showing something very simple which doesn't help in most cases.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:31 PM.

   

 
X-Cart forums © 2001-2020