Post by claud9 » Sun Sep 18, 2016 1:24 pm

dl02.jpg

dl02.jpg (33.55 KiB) Viewed 700 times

dl01.jpg

dl01.jpg (26.15 KiB) Viewed 700 times

Hello everybody,

I have this problem hope someone can help me!

OC 2.3.0.2 default theme

I sell digital downloadable products. I don't understand why OC don't list in alphabetical order or numerical order the files my clients have to download causing a lot of confusion.
I have for example for a single product 10 files my client have to download.
I have named the files "01 product name" - "02 product name" etc etc but open cart, in the download page of my clients seems to order them randomly...
I have linked the files in the right numerical order.
Please see attached pictures


Any suggestion ?

Thanks a lot in advance for any help!

New member

Posts

Joined
Wed Aug 31, 2016 12:54 am

Post by artcore » Sun Sep 18, 2016 2:15 pm

The downloads are listed by order date added high to low

https://github.com/opencart/opencart/bl ... wnload.php line 39

changing to

Code: Select all

ORDER BY dd.name ASC, o.date_added DESC
should solve it.

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands
Who is online

Users browsing this forum: No registered users and 12 guests