Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Alphabetize sorting of search words
Author « Topic »  

Terry Paulhus
Ecommerce Template Expert

Canada
580 Posts

Posted - 03/15/2025 :  10:45:29  
Is there a way to alphabetize the search words in order when they appear?

Terry (Redsei)

Vince
Administrator

42929 Posts

Posted - 03/17/2025 :  03:41:33  
Hi Terry
In the ECT Admin -> Product Attributes page you can set the order of the Attributes. Does that not solve this for you?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Terry Paulhus
Ecommerce Template Expert

Canada
580 Posts

Posted - 03/17/2025 :  06:39:54  
Thanks Vince for asking.

Maybe I didn't explain it right.

On a PRODUCT DETAIL page I list the search words for that product. (includes: $showsearchwords=true)

I'd like to see if there is a way to automatically list those alphabetically

Terry (Redsei)

Vince
Administrator

42929 Posts

Posted - 03/18/2025 :  01:30:28  
Hi Terry
I'm afraid there isn't as that is just a text list of the words.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Marshall
Ecommerce Template Guru

USA
1918 Posts

Posted - 03/18/2025 :  05:01:05  
Why not just enter them into the search words alphabetically?

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Terry Paulhus
Ecommerce Template Expert

Canada
580 Posts

Posted - 03/18/2025 :  06:07:10  
That would have been the thought but adding additional search terms, etc.... that just slows things down. I've looked for alternatives, like using excel to do that for me but as far as I can see, there is no way to do it all in one swoop.

Terry (Redsei)

Terry Paulhus
Ecommerce Template Expert

Canada
580 Posts

Posted - 03/18/2025 :  07:07:28  
OK EVERYONE I figured it out.

Using Excel copy the column rows of the pSearchParams into a new Excel sheet in column A.
In the column B, paste this code "=TEXTJOIN(",",TRUE,SORT(TRIM(TEXTSPLIT(A1,",")),,,TRUE))"
Copy and paste that code to the bottom of your total rows

COLUMN B will be the new pSearchParams alphabetized

Terry (Redsei)
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0 seconds. Snitz Forums 2000