VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Leonard Michael on May 27, 2012, 05:16:54 AM

Title: Lost My Quantity Button. Please help!
Post by: Leonard Michael on May 27, 2012, 05:16:54 AM
I made some modifications and forgot the name of the file where I removed my quantity box (thought I would need that but client changed their mind and wants it back now), can someone tell me the file name (path) and the code to replace so it comes back?

VM 2.06
Joomla 2.5

Respectfully,
LMW1
Title: Re: Lost My Quantity Button. Please help!
Post by: jenkinhill on May 28, 2012, 10:19:44 AM
I presume you mean the quantity box in the product details page? That file is joomla_root/components/com_virtuemart/views/productdetails/tmpl/default.php

But you should be using template overrides if you have changed the view, so all you need to do is remove the override.
Title: Re: Lost My Quantity Button. Please help!
Post by: Leonard Michael on May 29, 2012, 06:12:38 AM
Thank you sir! I straightened it out. I was using a template override and overrode my override. Never again will I do that.

Respectfully,
LMW1