Page 10 of 39 FirstFirst ... 8910111220 ... LastLast
Results 91 to 100 of 381
  1. #91
    Join Date
    Mar 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Product Extra Fields for text, pdfs and flash

    Quote Originally Posted by kgmmusic View Post
    I am having the very same problem. Anyone know of a fix for this error when copying products?
    I have installed the Mod, exactly as described in the readme. but i get two errors

    1)The Extra Files for them to view dont show up in the store area (pdf data sheets, tech documentation).

    2 get this error any time im editing an existing product.
    "Warning: reset() [function.reset]: Passed variable is not an array or object in /home/content/s/w/a/swannassoc/html/store/admin/includes/classes/object_info.php on line 29

    Warning: Variable passed to each() is not an array or object in /home/content/s/w/a/swannassoc/html/store/admin/includes/classes/object_info.php on line 30 "

    i have looked for were the error is coming from but unable to see where and when its comeing from.

    -ANdrew

  2. #92
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Product Extra Fields for text, pdfs and flash

    have you added all the existing products into the new database table?
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  3. #93
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Product Extra Fields for text, pdfs and flash

    The new version is ready for testing. If you pm me, I'll send you the link to the new files.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  4. #94
    Join Date
    Oct 2005
    Location
    Norfolk, UK
    Posts
    2
    Plugin Contributions
    0

    Default Re: Product Extra Fields for text, pdfs and flash

    Very useful mod for product PDF brochures :)

    The magic spell you cast in Phpmyadmin if you have existing products when you intall this mod:

    INSERT INTO product_extra_fields (products_id) SELECT products_id FROM products;

    Much easier than messing about with excel as suggested earlier in this thread.

    Also, I prefer to have my product PDF's kept with my images, so if you do the following the extra files will be uploaded to whatever subdirectory of the images folder you have selected in the "Upload to directory" dropdown on the edit product page:

    in new_product_preview.php

    if ($_POST['file_1_title'] != '') {
    $products_file_1 = new upload('file_1');
    $products_file_1->set_destination(DIR_FS_CATALOG_IMAGES . $_POST['img_dir']);
    if ($products_file_1->parse() && $products_file_1->save(true)) {
    $products_file_1_name = $_POST['img_dir'] . $products_file_1->filename;
    } else {
    $products_file_1_name = (isset($_POST['previous_file_1']) ? $_POST['previous_file_1'] : '');
    }
    }

    in preview_info.php

    <?php echo "<a href='images/" . $products_file_1_name . "'>" . $pInfo->file_1_title . "</a>"; ?>

    in main_template_vars_product_type.php

    if (!empty($products_file_1_title)) $products_file_1_link = '<a href="' . "images/" . $products_file_1 . '">'. $products_file_1_title . '</a>';

    Obviously modify the file2, 3, & 4 bits in the same way :)

  5. #95
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Product Extra Fields for text, pdfs and flash

    You are quite correct about the sql statement and that is included in the next version.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  6. #96
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Product Extra Fields for text, pdfs and flash

    The newest version is now up in the contributions section!
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  7. #97
    Join Date
    Nov 2009
    Location
    Sweden
    Posts
    7
    Plugin Contributions
    0

    Default Re: Product Extra Fields for text, pdfs and flash

    How do I get the uploaded pdf files to be downloadable? btw great addon!
    Swedish officiall support forum: zencart swedish forum

  8. #98
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Product Extra Fields for text, pdfs and flash

    There are a number of ways for anyone to download a pdf - one is to click the save image once the pdf has opened in the browser window. The other is (in some browsers) to right click and save target or something like that. So you don't need to do anything for your customers to save it. You could, of course, put directions on your product page for that.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  9. #99
    Join Date
    Nov 2009
    Location
    Sweden
    Posts
    7
    Plugin Contributions
    0

    Default Re: Product Extra Fields for text, pdfs and flash

    Seems that I can't get it to work anyway.. "don't have permission to download file" What permission should it be with the product_extra_files?
    Swedish officiall support forum: zencart swedish forum

  10. #100
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Product Extra Fields for text, pdfs and flash

    what's the url of the product?
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

 

 
Page 10 of 39 FirstFirst ... 8910111220 ... LastLast

Similar Threads

  1. Replies: 1
    Last Post: 10 Sep 2013, 10:09 PM
  2. Can I add two extra fields for inputting time and date delivery wanted?
    By Desjames in forum Managing Customers and Orders
    Replies: 2
    Last Post: 20 Jun 2010, 08:56 PM
  3. Extra pages and flash movie
    By g.nencini in forum General Questions
    Replies: 1
    Last Post: 11 Oct 2009, 11:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR