News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Select quantity instead of input VM3

Started by fabioweb, October 06, 2016, 19:33:38 PM

Previous topic - Next topic

fabioweb

Hello,
is it possible to convert default input quantity into a select?

regards

GJC Web Design

don't see why not.. esp. as the addtocart is now a sublayout
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

fabioweb

Ok i did with this code :)

    <select class="quantity-input js-recalculate" name="quantity[]">
      <option value="0"> 0 </option>
      <option value="1"> opzione uno </option>
      <option value="2"> opzione due </option>
      <option value="3"> opzione tre </option>
      <option value="4"> opzione quattro </option>
      <option value="5"> opzione cinque </option>
    </select>


is it possibile to set select also in cart page?
Thank you


GJC Web Design

Its just an input like any other..  replace with a select as you have done in the cart list template
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

fabioweb

Okay but how to upload quantity when i select the number?
In cart page i need to click on the icon..

GJC Web Design

either keep the icon or JS to trigger if the select changes
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