Author Topic: Adding additional files eg product instructions/specs NOT downloads.  (Read 18830 times)

craig_wild

  • Beginner
  • *
  • Posts: 2
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)

Lindhardsen

  • Beginner
  • *
  • Posts: 18
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #1 on: January 19, 2012, 11:07:46 am »
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  :-[

Lindhardsen

  • Beginner
  • *
  • Posts: 18
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #2 on: February 01, 2012, 23:08:31 pm »
Please... ;)

channelvision

  • Beginner
  • *
  • Posts: 7
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #3 on: February 09, 2012, 18:32:07 pm »
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.

kriz

  • Beginner
  • *
  • Posts: 2
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #4 on: February 10, 2012, 11:03:27 am »
I would like to know how to do this

there are various products which have brochures :(

kriz

  • Beginner
  • *
  • Posts: 2
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #5 on: February 29, 2012, 09:46:39 am »
Any update on this?? :(

need help with this asap

nunomigpe

  • Beginner
  • *
  • Posts: 21
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #6 on: March 06, 2012, 01:45:17 am »
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

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4067
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #7 on: March 06, 2012, 14:12:39 pm »
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

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #8 on: March 06, 2012, 14:18:38 pm »
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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

nunomigpe

  • Beginner
  • *
  • Posts: 21
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #9 on: March 06, 2012, 23:33:36 pm »
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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27598
  • Always on vacation
    • Jenkin Hill Internet
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #10 on: March 07, 2012, 10:59:41 am »
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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33

Pirosoft

  • Beginner
  • *
  • Posts: 34
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #11 on: March 19, 2012, 15:15:44 pm »
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

thanks

Parsimonious

  • Jr. Member
  • **
  • Posts: 51
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #12 on: July 28, 2012, 23:33:43 pm »
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.

captainahab

  • Beginner
  • *
  • Posts: 1
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #13 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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27598
  • Always on vacation
    • Jenkin Hill Internet
Re: Adding additional files eg product instructions/specs NOT downloads.
« Reply #14 on: September 05, 2012, 18:33:14 pm »
@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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33