Post by szilard.kun » Tue Nov 17, 2015 11:05 pm

Hello,

I have the following problem:

I have a lot of product with same names and different numbers:
Product name 1.
Product name 2.
Product name …….
Product name 10.
Product name ……
Product name 100
etc.

When I set sorting in alphabetical order, the sorting will be wrong:
(A-Z sorting):
Product 1., Product 10., Product 100., Product 101, ….. Product 2., Product 20., Product 21, etc.

I need to sort it correctly:
Product 1., Product 2., Product 3., …… Product 100, Product 101., etc.

How can I fix this issue, when the product name contains numbers? I don’t want to set different sort order numbers for each products.

Here is an example:
https://www.ajandek24.hu/fenykepes-napt ... s-naptarak

Thanks,
Szilard

Newbie

Posts

Joined
Sat Dec 08, 2012 8:12 pm

Post by smiesek » Thu Oct 20, 2016 11:55 am

hi i have same question, help me ???

New member

Posts

Joined
Thu Aug 07, 2014 9:00 am

Post by fido-x » Thu Oct 20, 2016 5:33 pm

szilard.kun wrote:Hello,

I have the following problem:

I have a lot of product with same names and different numbers:
Product name 1.
Product name 2.
Product name …….
Product name 10.
Product name ……
Product name 100
etc.

When I set sorting in alphabetical order, the sorting will be wrong:
(A-Z sorting):
Product 1., Product 10., Product 100., Product 101, ….. Product 2., Product 20., Product 21, etc.
You are sorting in alphabetical order not in numerical order.
szilard.kun wrote:I need to sort it correctly:
Product 1., Product 2., Product 3., …… Product 100, Product 101., etc.

How can I fix this issue, when the product name contains numbers? I don’t want to set different sort order numbers for each products.
Changing your product names to:
  • Product 001
    Product 002
    Product 003, etc.
will fix your "problem".

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia
Who is online

Users browsing this forum: No registered users and 56 guests