VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: zanardi on October 26, 2012, 10:58:01 AM

Title: Add optional insurance cost to cart
Post by: zanardi on October 26, 2012, 10:58:01 AM
I would like to add an optional "insurance" voice to the cart (basically is an additional cost for some shipping methods, that the user may or may not enable).
I guess this may be handled by a plugin, but before starting to code I would like to know if anyone did already something about it.

Thank you in advance for your time.
Title: Re: Add optional insurance cost to cart
Post by: jenkinhill on October 26, 2012, 15:34:10 PM
I have not seen one or seen mention of anybody creating one. But it may already be present in the USPS plugin - http://forum.virtuemart.net/index.php?topic=101816.msg345017#msg345017

There has been a similar request for an addon to the cart which suggests there is a use for a more flexible use of such a plugin - http://forum.virtuemart.net/index.php?topic=109253.0
Title: Re: Add optional insurance cost to cart
Post by: zanardi on October 26, 2012, 16:39:02 PM
Hi Kelvyn and thank you for pointing that out. Definitely time for a new plugin then :-)
I will see what I can do.
Title: Re: Add optional insurance cost to cart
Post by: rainman2000 on April 21, 2013, 22:29:28 PM
I am curious to know if someone actually implemented this.

We simply want to offer an additional insurance without it being tied into a particular carrier. For example, if the person selects "Yes", then the'll have to sign for package or if the person says "No" then they are responsible for lost or stolen package.
Title: Re: Add optional insurance cost to cart
Post by: liquid.ideas on May 23, 2013, 00:57:19 AM
Hi Guys,

I would also be interested in this plugin, please email me if there is any new development!  ;)
Title: Re: Add optional insurance cost to cart
Post by: zanardi on July 16, 2013, 11:15:10 AM
This is a very, very basic plugin that automatically adds a product to the cart. E.g. you create a "Insurance" product and it will always be added to the cart as soon as the user starts the checkout.
Of course the user is able to remove it from cart and it will not be added again in the same session.

https://github.com/gibilogic/autoadd