• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 23.09.17, 10:10
  • Opened by: Tomas Stopka
  • Closed by: Marek
  • Closed on: 29.10.17, 15:40
  • Reason: Closed
  • Comment: Glad to help!

Ticket #10844 - Missing label in order by for product date

Hi,

at first I’v tried to find this topic but unfortunately I did not find anything.. My customer want’s to have default order setting set to product add date. the problem is, when i save this option. In front-end there is no option in selector. As you can see in attachement. But when i set this option to order by name it works fine.

TS v.1.7.3
Alysum v.5.1.3
PS v.1.7.1.2

I don’t know if it’s a bug or I am missing something..

Thank you for your answer.

Comments

Marek 23 Sep 2017, 10:26

Hi Tomas.
Could you please give me a link to a page where I can see the issue?

Tomas Stopka 23 Sep 2017, 10:44

Hello, thank you for your quick answer :)

Here is the link: https://bobuadmin.savana-hosting.cz/index.php?id_category=91&controller=category, the option is set to order by: product name, but I will change it. I am working on that page right now :)…

Marek 23 Sep 2017, 10:49

I see the issue. Now I need access to your server through FTP to check theme files

Tomas Stopka 23 Sep 2017, 11:15

Hi Marek, I’v sent you an email with connection details.

Marek 23 Sep 2017, 11:23

Yes, I see.
One last question is how did you change the order setting to product add date?

Tomas Stopka 23 Sep 2017, 11:26

Shop parameter → Product settings → Pagination

As you can see in attachement.

Marek 23 Sep 2017, 11:27

Thank you, I even didn’t know about that :)

Tomas Stopka 23 Sep 2017, 11:34

Hh good :) And do you think that you can solve my issue? I dont know from where you are getting labels to the “select placeholder”.

Marek 23 Sep 2017, 11:58

I just found out that is not an issue of our theme, that is Prestashop bug. You can check default prestashop theme “Classic”

Tomas Stopka 23 Sep 2017, 12:11

Oh ok, I can see. But maybe its thing to improve, you can do something similar (picture in attachement) for future :). I mean, this box could have min-height:??px. Anyway… thank you for your help and for now I will use sort by name.

Marek 23 Sep 2017, 12:14

I can try to make it work, give me a time

Marek 23 Sep 2017, 12:33

I have tried to add one more item, but it’s not so easy.
To fix the height of empty select use following CSS:

.products-sort-order .select-title {min-height:32px}
Tomas Stopka 23 Sep 2017, 14:52

Oh awesome, I ment for future release :D. Thanks for that :)…

Marek 23 Sep 2017, 14:53

Glad to help!

Tomas Stopka 23 Sep 2017, 15:04

Great, maybe one more question, could you please tell me the tmp file with that code? I would like to add some default text there. Something like: latest.

Marek 23 Sep 2017, 15:06

The file is /themes/alysum/templates/catalog/_partials/sort-orders.tpl