News:

Looking for documentation? Take a look on our wiki

Main Menu

Category layout sort order is backwards?

Started by mahout, November 09, 2018, 20:41:08 PM

Previous topic - Next topic

mahout

How can I reverse or change this sort order? Title is on the bottom?!?
I'm using VM 3.4.2


https://screenshots.firefox.com/ohPF2KE799RfzZEJ/casite-976312.cloudaccess.net


StefanSTS

In your template in the folder

/templates/my-template/html/com_virtuemart/category/ you probably have an override for the default.php.

That's where to look for the code to change.

Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

mahout

Thanks for the tip, but I'm not using a template so those files are not there.

StefanSTS

Then you are probably using protostar or vmbeez3.
You have to add the original file from VirtueMart in the folder I said before.

/components/com_virtuemart/views/category/tmpl/default.php

If you copy that into the template folder it will be used instead, it's called an override.
Do not alter the original, it will be overridden when you update VM.

Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.