News:

Support the VirtueMart project and become a member

Main Menu

Hidding Qty selector

Started by probizz, January 19, 2015, 12:55:54 PM

Previous topic - Next topic

probizz

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

Matt_Ginn

That will depend on which version of VM you're using and whether you have a 3rd party template.

GJC Web Design

and simplest is just hide by css display:none
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

probizz

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,

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation