VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: dsrpmedia on January 24, 2012, 21:03:51 PM

Title: Downloadable products?
Post by: dsrpmedia on January 24, 2012, 21:03:51 PM
has the downloadable products plugin been published yet?
if so where do I get it?
if not, does anyone know when we can expect it?
Title: Re: Downloadable products?
Post by: jenkinhill on January 24, 2012, 23:32:37 PM
Downloadables is now included - http://forum.virtuemart.net/index.php?topic=96945.0
Title: Re: Downloadable products?
Post by: dsrpmedia on January 24, 2012, 23:37:53 PM
awesome - thank you!
Title: Re: Downloadable products?
Post by: variant on February 23, 2012, 15:36:00 PM
Can someone help with downloadable products? How can I creat it?
And how it creates for sale?

I can add a file in Shop -> Media Files
But how it relate to products or how create a products with this file.

Used VirtueMart 2.0.1 H

Thanks
Title: Re: Downloadable products?
Post by: bohemier on March 20, 2012, 02:43:00 AM
Hello jenkinhill,

Is the feature for downloadable products available in 2.0.2? If so, how can we use it? I've been searching all around for this... thanks!
Title: Re: Downloadable products?
Post by: jenkinhill on March 20, 2012, 15:45:53 PM
Use the product download plugin for saleable downloads. - http://virtuemart.cloudaccess.net/extensions-virtuemart-2/shipment-for-virtual-products-detail

For free downloads auch as datasheets or instruction files the links for these can be displayed using custom fields in VM2.0.2 and later.
Title: Re: Downloadable products?
Post by: dsrpmedia on March 20, 2012, 17:16:47 PM
it`s now $40.00 for what was a free feature in 1.1?
Title: Re: Downloadable products?
Post by: bohemier on March 21, 2012, 16:02:42 PM
I'm totally fine with that, I think the VM guys are entitled for some revenue for all the hard work they did for VM2.

Where can we get support for the plugin? The download link I am getting doesn't work. It downloads an index.php file containing

<br />
<b>Fatal error</b>:  Class 'JFile' not found in <b>X/plugins/vmcustom/st42_download.php</b> on line <b>311</b><br />


Edit: Strange... why is it not picking up the JFile class? Shouldn't it be included with the Joomla Core?

Fixed myself: It seems the solution lies in Virtuemart. When it uses the JFile class, there's a check to make sure it is included. So just insert that at the beginning of function startDownload in st42_download.php:

if(!class_exists('JFile')) require(JPATH_VM_LIBRARIES.DS.'joomla'.DS.'filesystem'.DS.'file.php');

...though the licence prohibits to modify code  :-X



Thanks
Title: Re: Downloadable products?
Post by: jenkinhill on March 21, 2012, 17:43:20 PM
Electrocity wrote that plugin, but he is not on the forum at this time - maybe later. Or PM him.