Print

What's new in VM2.0? Templates!

Written by k0nan on .

One of the benefit that the switch to Joomla! MVC pattern brings to VirtueMart is the template overriding feature.

But we haven't stopped here: we have push it even further. How ? For example, did you know that you can assign a Joomla! template to a VirtueMart category page ? Or that in the same template you acn specify different views for the same page ?

Set up your testing server

I've downloaded VirtueMart 1.5 Beta 1 and installed it - choosing the "install sample data" option - upon a WAMP Joomla! 1.5 environment,  and i've set it up to operate with ja_purity as default template.

Then I create a new menu item, in order to access VirtueMart from the frontend,  by choosing VirtueMart Default Layout in the Menu Item Type Manager, thus i can browse my shop's catalogue. In particular , as i've installed simple data i have 3 categories: Hand, Power and Garden Tools

defaultmenu

 

Back to basic: file structure & location

The VirtueMart template files are located under the components\com_virtuemart\views directory , so just take a look at them

filepath

Here i can find a temporary list of the view that will be delivered in the stable release. In this article we'll concetrate on the Category view, which is the one that controls the behaviour of the page which list all products belonging to a specific category.

Comments   

 
#7 Alva 2013-07-17 01:34
Your post is so interesting and informative. I got a lot of useful and significant information. Thank you so much.!
Report to administrator
 
 
#6 Lokesh 2011-08-31 03:41
I want to change virtueMart theme as per category..
How can I do this?
Report to administrator
 
 
#5 audriusd 2011-01-26 07:50
and whats for 1,6 ?
Report to administrator
 
 
#4 Stefan | dpdk 2010-12-11 07:56
Glad to see a working version like this. Build on the MVC model of Joomla! and also extending this feature to give more flexibility/pow er to the VirtueMart component.

I'm confident that with this VM 1.5 release, VirtueMart will be back on the map as a solid & reliable Webshop Component.
Both for developers and the end user (clients).
Report to administrator
 
 
#3 Brian Murphy 2010-12-11 02:17
Tutorials like this are great. Would love to see more like this.

Thank you!
Brian Murphy
Xpleo Media
Report to administrator
 
 
#2 KDG 2010-12-10 00:26
So finally Virtuemart template system improved lot ! will surely try VM 15. for clients.

Thanks
KD
www.gadhavitechnologies.com
Report to administrator
 
 
#1 jetwang 2010-12-09 21:31
;-),very strong, very impressive, waiting the stable version...
Report to administrator
 

Add comment


Security code
Refresh