News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Hello... I want to put the product image above, remove the product name and...

Started by texturesdepot, October 17, 2012, 09:22:14 AM

Previous topic - Next topic

texturesdepot

Hello... Im new in Virtuemart... In the front page and in each category list-grid I would like to put the product image above, remove the product name and put the "view details" button below the image... how could I do this?

Thanks in advance for your reply and help...!

Eugen S.

Hello ,

this can be done by joomla template overrides or by modifying the core files.

Following files are responsible for the output of products:

Products within a category:
/components/com_virtuemart/views/category/tmpl/default.php

Products on VirtueMart frontage:
/components/com_virtuemart/views/virtuemart/tmpl/default_products.php


I don`t think that you will have a good change in the forum that somebody will describe every line of code which you have to change. But with a little PHP understanding this is easy. It`s just moving some code blocks. A developer should be able to do this within 15 - 20 minutes.



Sincerely,

Eugen Stranz
Send me a pm ;-)

texturesdepot

Thanks for your reply... I really prefer to modify the theme... Im using atisteer and stylizer for that. TAlking about the theme, do you know what files contain that info? I know how to modify colors, sizes, etc., but I dont know how to modify order of elements into that container... what variable need I to include or modify?

Just to be sure, Im talking about to put the product name and all text below the image product, not beside...

Thanks a lot for your help...!

jenkinhill

This has got nothing to do with Artisteer - although the css that system uses can play havoc with styling VirtueMart. That is for your Joomla template. Components display by using view templates, which can be edited and then used as overrides to control the component layout.

Try these:
http://forum.virtuemart.net/index.php?topic=90935.0
http://forum.virtuemart.net/index.php?topic=98505.0
http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

BKintera

Quote from: Eugen S. on October 17, 2012, 10:57:48 AM
Hello ,

this can be done by joomla template overrides or by modifying the core files.

Following files are responsible for the output of products:

Products within a category:
/components/com_virtuemart/views/category/tmpl/default.php

Products on VirtueMart frontage:
/components/com_virtuemart/views/virtuemart/tmpl/default_products.php


I don`t think that you will have a good change in the forum that somebody will describe every line of code which you have to change. But with a little PHP understanding this is easy. It`s just moving some code blocks. A developer should be able to do this within 15 - 20 minutes.



Sincerely,

Eugen Stranz

I register just to say thank you, thank you, thank you very much!

Eugen S.

Quote from: BKintera on September 19, 2013, 00:26:25 AM
Quote from: Eugen S. on October 17, 2012, 10:57:48 AM
Hello ,

this can be done by joomla template overrides or by modifying the core files.

Following files are responsible for the output of products:

Products within a category:
/components/com_virtuemart/views/category/tmpl/default.php

Products on VirtueMart frontage:
/components/com_virtuemart/views/virtuemart/tmpl/default_products.php


I don`t think that you will have a good change in the forum that somebody will describe every line of code which you have to change. But with a little PHP understanding this is easy. It`s just moving some code blocks. A developer should be able to do this within 15 - 20 minutes.



Sincerely,

Eugen Stranz

I register just to say thank you, thank you, thank you very much!

You are welcome ;-)
Send me a pm ;-)