Page 37 of 38 FirstFirst ... 2735363738 LastLast
Results 361 to 370 of 377
  1. #361
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    help question Re: Product Extra Fields for text, pdfs and flash

    How can you delete or un associate the once you upload a pdf file?

    For example I have uploaded a pdf for product and it shows fine.
    Now I duplicate the product and then rename the product but I want to remove previously uploaded file. I do not want to link to any file. Just leave as blank.

    How?
    Downunder QLD

  2. #362
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

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

    well, that wasn't anticipated! and therefore not possible in admin if I remember correctly. It would have to be a database change. If you are comfortable with working with phpmyadmin, this information is all stored in one table named products_extra_fields. Do a search for the product id that you are wanting to change and edit the field that pdf is in. The only checks for displaying is to have something/ anything in that database field.
    The full-time Zen Cart Guru. WizTech4ZC.com

  3. #363
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

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

    Thank you for getting back to my question. Yes as you said I basically deleted in phpMyAdmin.
    It would be great if there was an option to delete in case file was old/incorrect one.

    Thank you
    Downunder QLD

  4. #364
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    hello, instead of uploading file,( i have problems uploading) is there a way we can add a field to put in file name, like we can do for images on product info page?
    like this Or, select an existing file from server, filename: ########################################_

  5. #365
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

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

    It's simply way more complicated than that. Otherwise there would be no need for a full mod.
    The full-time Zen Cart Guru. WizTech4ZC.com

  6. #366
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    i figured it out,
    i changed it to this,
    Code:
    <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_input_field('file_1') .  '&nbsp;'. TEXT_PRODUCTS_FILE_DESCRIPTION . ' ' . zen_draw_input_field('file_1_title', $pInfo->file_1_title) . zen_draw_hidden_field('previous_file_1', $pInfo->file_1).' '.$pInfo->file_1; ?></td>
    . first i upload file through ftp than put in info.

  7. #367
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    how can i add your modification into this modification?
    Code:
    FROM " . TABLE_PRODUCTS . " p
                                  LEFT JOIN " . TABLE_PRODUCTS_DESCRIPTION . " pd ON (p.products_id = pd.products_id)" . $npf_tables . "
                                  WHERE p.products_id = '" . (int)$_GET['pID'] . "'
                                  AND pd.language_id = '" . (int)$_SESSION['languages_id'] . "'");
    Code:
    from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd,
                                       " . TABLE_PRODUCT_EXTRA_FIELDS . " pe
                                  where p.products_id = '" . (int)$_GET['pID'] . "'
                                  and p.products_id = pd.products_id and p.products_id = pe.products_id
                                  and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'");

  8. #368
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    installed this on v 1.56 and it seems to work except when clicking the link, it goes to homepage

  9. #369
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

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

    last version updated to is 1.5.4
    The full-time Zen Cart Guru. WizTech4ZC.com

  10. #370
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    Quote Originally Posted by delia View Post
    last version updated to is 1.5.4
    anyway of making it compatible with v 1.56c

 

 
Page 37 of 38 FirstFirst ... 2735363738 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