VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Master_gray on May 06, 2013, 12:54:12 PM

Title: Change cart layout
Post by: Master_gray on May 06, 2013, 12:54:12 PM
Hi there all,sorry if this has been asked before but i can't find anything about this.

I need to get my cart to look something like this:

At the top the total amount - below that a simple cart image that is linked to checkout page.
Now is there anybody that can help me with this please i have no idea where to start,i know this has to do with php and i do not know anything about it,i know some css and html (not a lot) if that can help,

My setup:

Joomla:2.5.9
VM:2.0.6
Running on: wamp (for now till the site is done)

Thanks for reading.
Title: Re: Change cart layout
Post by: jenkinhill on May 07, 2013, 10:12:26 AM
I think you are describing the VirtueMart Cart module? The display template used is quite simple , /modules/mod_virtuemart_cart/tmpl/default.php

Edit the file (it has only a small php element) and use the edited file as a module template override.

See http://www.ostraining.com/blog/joomla/overrides  and  http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system  for how to use template overrides
Title: Re: Change cart layout
Post by: Master_gray on May 07, 2013, 21:40:45 PM
Thanks jenkinhill !!!

That worked - will post screen shot when done

Thanks again! ;D