Apologies if this has been discussed but I couldn't find it anywhere in this area while searching.
In VM 1.1.x you could add additional files to a product as well as images. These were not downloadable products but things like product specs or instructions say.
I did manage to get a pdf into the Media Manager via product images upload but it trys to open the pdf in a lightbox as an image.
Is the idea to add this as a plugin or is there a way to do this i've missed? I can just link in this stuff via the description for now but i'd be nice to have this.
One issue I did notice though is under products, clicking on the Media (1) etc comes up with a blank list and doesn't show that media?
Thanks. (VM 1.9.8M, J1.7)
I bump this thread... Does anyone know the answer to this one?
By the way, is there a manual for VM2, that would answer this kind of questions? I have not been able to find one :-[
Please... ;)
I also need to upload spec sheets and instruction manuals on my product pages. Please someone advise me how to do this, it is very important.
I would like to know how to do this
there are various products which have brochures :(
Any update on this?? :(
need help with this asap
Hi all
They say in the frontpage off version 2.0.2 that can handles download files in media, try everything and i cann´t see where i can put the pdf that is in media, in the product.
There is no way that we can say to the software go to media and attach this pdf for download.
I managed to upload the pdf and say that´s a pdf for download, i cann´t figure out where can i say to the product to pick up that file, or in the media if i open the file i cann´t put the product name so it appears on that product.
In 1.1.9 was very simple to do this.
Can anyone please help us out here?????
Best Regards
Hi,
PLZ try
http://dev.virtuemart.net/attachments/download/390/com_virtuemart.2.0.3_extract_first.zip
for the PDF Problem or some attached files in product details
And use role downloadable
Sorry, I see this post now the first time. It should also work with vm2.0.2. Just upload a media and activate downloadable. In that moment this image is downloadable. Example http://virtuemart.cloudaccess.net/extensions-virtuemart-2/quantity-related-calculation-detail look on the second image, the pdf icon. You can directly download it.
Hi there
That´s what i need to do.
But in VM 2.0.2 i try to put the file (pdf) as a image on a product and it dosen´t appear on the product.
I can see him in media but not in the product like a second image.
Should i make a PDF foto???
How you did that, that is what i need, for a wine store to have the pdf info about the wine.
Best Regards
PS: Great job on VM 2
This is how I have added pdf datasheets to products (using VirtueMart 2.0.3a on Joomla 2.5.2).
1. Uploaded via ftp the pdf files into the product media directory - joomla_root/images/stories/virtuemart/product (you could use Joomla's media uploader for this, but ftp is quick for multiple files)
2. Open VirtueMart Shop/Media File list - and Synchronize media to VirtueMart
3. Still in the media list edit each of the files and make them downloadable, enter a suitable title to be displayed (Displayed image title) and I also enter the "Used thumb url" for a 50x50 pdf icon I have uploaded to use rather than the default larger icon.
4. Open a product, go to the Custom Fields tab and create a Custom Field Type - Photo (even though it is a pdf file), select the file from the dropdown list and save.
5. The file appears as my pdf logo on the product details page with its title underneath. The standard display is not good for datasheets, so I have edited the default_customfields.php template to suit my site and set it as an override. Further styling can be accomplished using css added (in my case) to the Joomla template css.
i don't know if is important but u have creted a little hack for downloadable files:
http://forum.virtuemart.net/index.php?topic=99833.0 (http://forum.virtuemart.net/index.php?topic=99833.0)
thanks
Is there anyway to organize the dropdown list of files? I have hundreds of images and they're all there in no discernible order which makes this very time consuming.
Hi All
this might be a hack or whatever, but this is what I've done and it works....
<?php
$pdf_download = 'images/stories/virtuemart/product/'.$this->YagProduct->sku.'.pdf';
if (file_exists($pdf_download)) {
?>
<div id="product_pdf_download">
<a href="<?php echo $pdf_download; ?>" target="blank">Download Datasheet</a>
</div>
<?php } ?>
So all I've done is copied all the pdf's into the product folder and made sure they've got the same name as the SKU
that mod is in the productdetails/default.php
Hope it helps someone...
James
@captainahab That's a good solution, remember to use it in a template override, though, so it will not get overwritten during a VM update.
Quote from: captainahab on September 04, 2012, 22:52:02 PM
Hi All
this might be a hack or whatever, but this is what I've done and it works....
<?php
$pdf_download = 'images/stories/virtuemart/product/'.$this->YagProduct->sku.'.pdf';
if (file_exists($pdf_download)) {
?>
<div id="product_pdf_download">
<a href="<?php echo $pdf_download; ?>" target="blank">Download Datasheet</a>
</div>
<?php } ?>
So all I've done is copied all the pdf's into the product folder and made sure they've got the same name as the SKU
that mod is in the productdetails/default.php
Hope it helps someone...
James
Dear James
For the comment that jenkinhill write down, I guess the solution you give is a success. So I have to ask Where paste that code?. "I'm below the line beginning" so I have to ask possibly basic structures.
In my inexperience, I've never seen "YagProduct", that's code itself is custom virtuemart or you?
I appreciate your understanding.
Thank in advance
This subject is causing me no end of problems!
Using Joomla 2.5.7 and VM 2.0.12b Problem example here http://www.urbanenergyuk.com/air-source-heat-pump-distributor/air-source-heat-pump-cylinders/gledhill/gledhill-heat-pump-cylinder-210l-detail (http://www.urbanenergyuk.com/air-source-heat-pump-distributor/air-source-heat-pump-cylinders/gledhill/gledhill-heat-pump-cylinder-210l-detail)
I have 200+ products and each has a PDF spec sheet
I was adding product, then add main image then I uploaded the PDF same method in product all worked fine and the PDF would download. But I did not like the CSS
Thats when I found this forum post.
I added custom field called PDF then added custom field to test product, selected existing PDF all works great and CSS is better.
But I then tried uploading a PDF via media files but is states The server supports mime type recognition Supported filetypes for thumbnail creation GIF, JPG, PNG, WBMP
What have a done wrong? Is my only option to upload via FTP?
Oh Captain, my captain (like you haven't heard that before, right? LOL)....Could you share a link or screenshot of the final result of your mod?
See I don't understand why VM2 does not have the option to have a downloadable spec sheet on the product pages. You can upload pdf media to the product but there is no way to display it or automatically link it to the product.
So frustrating to have to edit code for something that should be a standard feature..
Here are the solution: http://cmsmart.net/virtuemart-extensions/attachment-for-virtuemart-product-plugin