News:

Looking for documentation? Take a look on our wiki

Main Menu

HOW TO CREATE DRAAG N DROP CART

Started by vinmax, December 25, 2012, 12:45:24 PM

Previous topic - Next topic

vinmax

HI TO ALL,
I AM USING JOOMLA 2.5 AND VIRTUMART 2.0.14. I WANT TO CREATE A CART MODULE THAT WORK LIKE DRAG AND DROP.
WHEN I DRAG AND DROP THE PRODUCT IN THE CART IT WILL AUTOMATICALLY ADD IN THE CART.
ANY ONE KNOW ,
HOW TO CREATE DRAG AND DROP CART MODULE FOR VIRTUEMART 2.0.X?

THANKS IN ADVANCE

bytelord

#1
Hello,

You could use some jquery for that, here is a good example using jquery for drag & drop http://www.ericbieller.com/2010/06/24/how-to-create-a-simple-drag-and-drop-with-jquery/

Then just edit your templates and adjust them, or create a joomla plugin for that and trigger the add to cart function when a product dragged on the cart "icon"/module.

You will need some PHP/JS/CSS/HTML knowledge, but you are a PHP programmer so you will bot have any issues to accomplish it.

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!