VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: fanny0 on December 18, 2016, 15:29:38 PM

Title: order product in the Category Layout
Post by: fanny0 on December 18, 2016, 15:29:38 PM
VirtueMart 3.0.18

PHP 5.6

site: benisi.cl

hi,

I need something like a plugin that allows the user to change the order of the products in the category layaout

Does anyone know anyone who can help me

As on this website
http://joomdonationdemo.com/eshop/cameras.html

just like that

(http://www.benisi.cl/order-2.jpg)
(http://www.benisi.cl/order-1.jpg)


Title: Re: order product in the Category Layout
Post by: jenkinhill on December 18, 2016, 15:45:42 PM
That is done using template/css overrides.  And in VM configruation/Templates "Sublayouts for products in category" for use with default VM templates.
Title: Re: order product in the Category Layout
Post by: GJC Web Design on December 18, 2016, 16:59:15 PM
so u need to either buy a template that has grid and single layouts, or code this view yourself, or just use the cat view from a template that has this

the single and grid views are already in std. VM  (sublayout -> products_horizon.php & products.php

all thats needed is a switch to be coded
Title: Re: order product in the Category Layout
Post by: fanny0 on December 19, 2016, 20:00:29 PM
hi,

I have it as "no override" that's because nothing happens

(http://www.benisi.cl/no-override.png)
Title: Re: order product in the Category Layout
Post by: jenkinhill on December 19, 2016, 23:00:06 PM
That configuration option would apply if you are using the default VM templates. But http://www.benisi.cl/ is using a commercial template which has its own overrides. If you want to see the default templates switch to Beez or Protostar as your Joomla template.
Title: Re: order product in the Category Layout
Post by: fanny0 on December 20, 2016, 20:42:07 PM
hi


What happened was that I placed a default form of joomla and no longer takes the columns or rows ... it unfolds everything down


Also does not have the option that I ask, that the user can put the products in the layout with different design one with columns and another one that unfolds down

The only thing that appears to me is the option to add the car directly but it is very unconfigured and it looks very bad


How do I fix this?

url: http://www.benisi.cl/probando-template.html

(http://www.benisi.cl/planilla-1.png)
Title: Re: order product in the Category Layout
Post by: jenkinhill on December 23, 2016, 16:06:52 PM
Just looked at that page. You are not loading the VM css files.  Looks like "Using the VirtueMart CSS" is not selected in Config/templates

vm-ltr-common.css
vm-ltr-site.css
chosen.css
vm-ltr-reviews.css
Title: Re: order product in the Category Layout
Post by: fanny0 on December 26, 2016, 23:32:11 PM
I do not know how to load them, can you please indicate
Title: Re: order product in the Category Layout
Post by: jenkinhill on December 26, 2016, 23:33:50 PM
You have not looked at VM configuration?  Configuration/Templates/Activate Css Styles & Javascripts/Using the VirtueMart CSS - yes
Title: Re: order product in the Category Layout
Post by: fanny0 on December 27, 2016, 14:07:18 PM
thanks!
Title: Re: order product in the Category Layout
Post by: fanny0 on December 27, 2016, 14:08:53 PM
Anyway I do not see the functionality that I ask in the beginning, you can recommend some plugin but external sea to do that?
Title: Re: order product in the Category Layout
Post by: jenkinhill on December 27, 2016, 14:58:47 PM
Answer is in http://forum.virtuemart.net/index.php?topic=136295.msg475870#msg475870

I know of no already available plugin.
Title: Re: order product in the Category Layout
Post by: fanny0 on December 29, 2016, 15:06:48 PM
And as that is called, those buttons to change the appearance of the view of the products in horizontal and vertical, have some special name ... you know?


I do not know how to look for it

thanks!
Title: Re: order product in the Category Layout
Post by: jenkinhill on December 29, 2016, 15:32:07 PM
It is simply grid or list layout. If you look at this demo of the template I usually use for VM sites you will see menu options for grid/list layout which may help you see how the switching is done.
http://heravm3.olympianthemes.com/