Jump to content

[Solved] Alphabetical Sorting of Tag


Righthe

Recommended Posts

Do you mean the tag cloud? By default, the tags are sorted from most used to least used. That's how tag clouds work. You could make it alphabetical instead by changing line 129 of classes/Tag.php (in PrestaShop v1.3.1) from:

ORDER BY times DESC



to:

ORDER BY t.name

Link to comment
Share on other sites

  • 5 years later...

Hello,

 

Is there anyway I could change the product display orders in tag results? I tagged my all product with "All Product" tag, now when I click "All Products" the related products are displayed in ascending order (Old To New), I want to change it to descending order, I want to display newest products first.

Please help! I would be very thankful  :)

 

Best Regards

Zam


I'm using PS 1.6.1.6.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...