VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: ViceMart on February 07, 2013, 16:56:24 PM

Title: Download Area page for virtual products in VM2
Post by: ViceMart on February 07, 2013, 16:56:24 PM
Hello,

I understand virtual products are not supported in VM2, but I've got them going using a third party plugin called Shipment for Virtual Products which is developed by one of the Virtuemart core team members.

The plugin uses some of the same methods as the old Virtuemart virtual download, such as placing a download link in the email and in the order invoice. This works great, but it doesn't have the old downloads page that VM1 had called Download Area. The customer could enter their download code number into a form box and begin the download. This was very convenient and provided the customer with another method to access their virtual purchase.

I would like to restore that capability to VM2. The new plugin Shipment for Virtual Products uses a download ID and password for each order. Does anyone a bit of PHP code they could post here that would a allow a user to enter this download ID and password and begin the download? With that I could  build a page and link to it from the menu, for the customers.

Thanks!
Title: Re: Download Area page for virtual products in VM2
Post by: reinhold on February 10, 2013, 13:38:30 PM
Quote from: ViceMart on February 07, 2013, 16:56:24 PM
The plugin uses some of the same methods as the old Virtuemart virtual download, such as placing a download link in the email and in the order invoice. This works great, but it doesn't have the old downloads page that VM1 had called Download Area. The customer could enter their download code number into a form box and begin the download. This was very convenient and provided the customer with another method to access their virtual purchase.

While I can't help you with the Shipment for Virtual Products, I can recommend you my "Downloads for Sale" plugin, which provides such a download area:
http://www.open-tools.net/virtuemart-2-extensions/vm2-downloads-for-sale.html

In the documentation, you can see screenshots of the downloads page:
http://www.open-tools.net/component/content/article.html?id=47#downloadspage

And on the demo-server, you can try it out. The user "demo" (pw is the same) has some orders with downloadable files, and you can also add some more orders, so you can see how things look.