VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: manipur on June 26, 2014, 06:19:51 AM

Title: Getting the contents of Cart
Post by: manipur on June 26, 2014, 06:19:51 AM
Hello folks,
I am a noob with Virtuemart and i am needing some help from you guys. How do i get the contents of cart? I think it is stored as session, but i am having trouble finding it hard to get it.
What i am trying to do is, get the contents of the cart and send it to an email... Will this be possible>?

Thanks a lot
Title: Re: Getting the contents of Cart
Post by: jenkinhill on June 26, 2014, 10:27:20 AM
Quote from: manipur on June 26, 2014, 06:19:51 AM
get the contents of the cart and send it to an email

That is exactly what VirtueMart does - the generated order is emailed to the store owner. So do you mean something different?
Title: Re: Getting the contents of Cart
Post by: manipur on June 26, 2014, 15:56:13 PM
Hello jenkinhill,
Thanks for the reply.
I think the orders email are mailed when the order is complete. But i need the contents before the order is complete. Say when someone adds products to his cart and then he will have the option to send the contents of the cart via email, before the order is completed, or maybe as a downloadable PDF. Is this possible?
And can you please guide me on how to capture the contents of the cart?

Thanks a lot
Title: Re: Getting the contents of Cart
Post by: manipur on June 28, 2014, 04:47:18 AM
BUMP...anyone??
Title: Re: Getting the contents of Cart
Post by: jenkinhill on June 28, 2014, 13:09:57 PM
Please don't bump! See http://forum.virtuemart.net/index.php?topic=104795.0

You could look at this save cart plugin and maybe use the data stored for your email. http://forum.virtuemart.net/index.php?topic=103570.0
Title: Re: Getting the contents of Cart
Post by: manipur on July 02, 2014, 18:46:30 PM
Thanks for the reply..
I have sorted that out,