VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Edvinas on February 25, 2013, 17:34:09 PM

Title: Problems with Cart buttons and Custom Image in Checkout
Post by: Edvinas on February 25, 2013, 17:34:09 PM
Hello,

Facing these small problems, but frustrated by trying to fix them. First one, I'm trying to fix these multiple add/subtract buttons, they both work, but as you see the image layout is terrible. (for some reason)
In second image I would love to put clickable image, is that possible?
Website:
www.twogentlemen.co.uk

(http://www.part.lt/img/f9f68a6cbce040917b9318a63f48fec343.png)
(http://www.part.lt/img/b6f1c5131aa447b0f772395dbb794d25144.png)
Title: Re: Problems with Cart buttons and Custom Image in Checkout
Post by: Edvinas on February 27, 2013, 16:40:33 PM
Maybe I can find similar info somewhere here in the forums? I cannot though. Could someone lead me to the right direction.
Title: Re: Problems with Cart buttons and Custom Image in Checkout
Post by: jenkinhill on February 28, 2013, 11:01:40 AM
1. There is obviously a problem with you category template override - I assume you are using overrides as you have a non-standard layout. Use Firebug to work out the cade around the duplication.  http://forum.virtuemart.net/index.php?topic=102850.0

2. Use an override to add your image code in the relevant template (possibly default.php) in joomla_root/components/com_virtuemart/views/cart/tmpl/

References here:
http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system
http://www.ostraining.com/blog/joomla/overrides
http://forum.virtuemart.net/index.php?topic=90935.0
http://forum.virtuemart.net/index.php?topic=106459.0

And more.....
Title: Re: Problems with Cart buttons and Custom Image in Checkout
Post by: Edvinas on February 28, 2013, 22:56:12 PM
Thank you for your reply and these references.