News:

Looking for documentation? Take a look on our wiki

Main Menu

Add a fields in cart module

Started by biciodark, November 29, 2021, 22:15:29 PM

Previous topic - Next topic

biciodark

I have this need:
When a user is in the cart I would like to be able to add a checkbox where he can choose the gift box for my product that adds for example 3 euros to the total cost.

I managed to do it with the custom fields but he shows it to me only under the products, but it would be useful for me in the cart. Do you think it's possible? Thank you so much.

Fabrizio



VirtueMart version 3.2.14
Joomla versio 3.8.7
PHP version 7.3.5

GJC Web Design

I have done this with some code in the cart that is basically a link to add a (in your case a €3 product) named gift wrapping and some JS

the code is done in the cart over ride and a new additional template
GJC Web Design
VirtueMart and Joomla Developers - php developers [url="https://www.gjcwebdesign.com"]https://www.gjcwebdesign.com[/url]
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
[url="https://extensions.joomla.org/profile/profile/details/67210"]https://extensions.joomla.org/profile/profile/details/67210[/url]
Contact for any VirtueMart or Joomla development & customisation

Studio 42

Free XML sitemap generator [url="http://shop.st42.fr/en/catalog/products/virtuemart-2-sitemap.htm"]http://shop.st42.fr/en/catalog/products/virtuemart-2-sitemap.htm[/url]  , Free Unused Image cleaner [url="http://shop.st42.fr/en/products/virtuemart-media-folder-clear.htm"]http://shop.st42.fr/en/products/virtuemart-media-folder-clear.htm[/url]
Language Switch in product & category [url="http://shop.st42.fr/en/categories-tools/multi-language-for-virtuemart.htm"]http://shop.st42.fr/en/categories-tools/multi-language-for-virtuemart.htm[/url]
More extentions [url="http://shop.st42.fr/en/"]http://shop.st42.fr/en/[/url]