Author Topic: Quantity button  (Read 369 times)

alinamn

  • Beginner
  • *
  • Posts: 15
  • A beginner
  • VirtueMart Version: 3.8.4
Quantity button
« on: October 27, 2020, 10:18:01 am »
Hi,
The quantity button in the cart is not working, so it's not possible to add to that field. http://marketinghorloger.ch/index.php/e-shop
Please advise. Thanks.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27950
  • Always on vacation
    • Jenkin Hill Internet
Re: Quantity button
« Reply #1 on: October 27, 2020, 10:53:35 am »
It does actually work for me but the display of the quantity box and  +/- sprite is bad - also bad display on the category & product details page. You should either use a beter template of fix the CSS.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.7 10374 on Joomla 3.9.23 PHP 7.4.12

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9901
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Quantity button
« Reply #2 on: October 27, 2020, 12:35:34 pm »
add

span.quantity-controls input.quantity-controls {
    padding: 0;
}

span.addtocart-button input.addtocart-button {
    line-height: unset;
}
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

alinamn

  • Beginner
  • *
  • Posts: 15
  • A beginner
  • VirtueMart Version: 3.8.4
Re: Quantity button
« Reply #3 on: October 27, 2020, 16:17:40 pm »
GJC Web Design,
Where do I add this? is it in the CSS of the template?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9901
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Quantity button
« Reply #4 on: October 27, 2020, 19:44:10 pm »
css works anywhere .. normally it would be put in a custom.css or similar
depends entirely on your template
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

alinamn

  • Beginner
  • *
  • Posts: 15
  • A beginner
  • VirtueMart Version: 3.8.4
Re: Quantity button
« Reply #5 on: October 27, 2020, 20:52:44 pm »
I just added the code to the custom css and it fixed the spacing problems in the shop, but the shopping cart problem is still there. I can not add any numbers in the quantity box.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9901
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Quantity button
« Reply #6 on: October 27, 2020, 23:20:36 pm »
.cart-summary .quantity-input {
    padding: 0 !important;
}
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

alinamn

  • Beginner
  • *
  • Posts: 15
  • A beginner
  • VirtueMart Version: 3.8.4
Re: Quantity button
« Reply #7 on: October 28, 2020, 11:02:15 am »
GJC Web design. Thank you so much. You solved my problem!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9901
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Quantity button
« Reply #8 on: October 28, 2020, 11:32:43 am »
 :)
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation