VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: probizz on January 19, 2015, 12:55:54 PM

Title: Hidding Qty selector
Post by: probizz on January 19, 2015, 12:55:54 PM
Hi,
I want to hide the Qty selector on all steps of shopping cart and product page.
What files and what needs to be changed in code to hide it?
Thanks
Title: Re: Hidding Qty selector
Post by: Matt_Ginn on January 19, 2015, 13:02:40 PM
That will depend on which version of VM you're using and whether you have a 3rd party template.
Title: Re: Hidding Qty selector
Post by: GJC Web Design on January 19, 2015, 13:13:47 PM
and simplest is just hide by css display:none
Title: Re: Hidding Qty selector
Post by: probizz on January 19, 2015, 13:21:13 PM
Sorry, my mistake, it is VM 3.0.2. no 3rd party templates.
Quote from: GJC Web Design on January 19, 2015, 13:13:47 PM
and simplest is just hide by css display:none
this where can be done and what code? Thanks,
Title: Re: Hidding Qty selector
Post by: GJC Web Design on January 19, 2015, 14:16:11 PM
it is normal that you do a bit of work yourself.. plenty of advice on here about firebug etc.
find the element
write some css to hide it

your starter

details view

.quantity-box, .quantity-controls {
display.none;
}

e.g. bottom of components/com_virtuemart/assets/css/vm-ltr-site.css