News:

Support the VirtueMart project and become a member

Main Menu

Remove Quantity box from Product Module

Started by croppertiger, November 07, 2012, 09:59:40 AM

Previous topic - Next topic

croppertiger

I was wondering how you can remove the quantity box from the virtuemart product module?



If anyone knows your help would be appreciated.

Thanks

bytelord

Hello,

You could use some CSS for that:

.span.quantity-box {
display:none;
}

.span.quantity-controls {
display:none;
}

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

croppertiger

Which CSS file would this be for?

This is for the module?

Many thanks!

bytelord

Hello,

You should create a CSS override for that and also use firebug to examine it.

Some more information regarding template system and template overrides:
Template overrides: http://forum.virtuemart.net/index.php?topic=98505.0
Template System: https://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system
Using firebug to examine your code & css styling: http://forum.virtuemart.net/index.php?topic=102850.0

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

croppertiger

Will take a look - I just want to remove it from the module not the entire shop

bytelord

Hello,

Then use

.vmproduct span.quantity-box {
display:none;
}

.vmproduct span.quantity-controls {
display:none;
}

Is that work for you?

Please don't forget to make a CSS override: http://forum.virtuemart.net/index.php?topic=90968.0

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!