Forums / Addon Admin Tools / Product Extra Fields for text, pdfs and flash

Product Extra Fields for text, pdfs and flash

Views: 74,657

Results 361 to 380 of 381
29 Oct 2018, 7:23 AM
#361
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

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

30 Oct 2018, 12:47 PM
#362
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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
New template for 2.0 viewable here: 2.0 Demo

30 Oct 2018, 10:06 PM
#363
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

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

28 Jun 2019, 11:19 AM
#364
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

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: ########################################_

28 Jun 2019, 3:43 PM
#365
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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
New template for 2.0 viewable here: 2.0 Demo

28 Jun 2019, 11:01 PM
#366
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

i figured it out,
i changed it to this, ```

<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('file_1') . ' '. 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.
16 Jul 2019, 11:10 AM
#367
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

how can i add your modification into this modification?

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'] . "'");
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'] . "'");
22 Sep 2019, 11:53 AM
#368
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

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

22 Sep 2019, 1:28 PM
#369
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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
New template for 2.0 viewable here: 2.0 Demo

2 Oct 2019, 11:21 PM
#370
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

delia:

last version updated to is 1.5.4
anyway of making it compatible with v 1.56c

3 Oct 2019, 8:07 PM
#371
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Product Extra Fields for text, pdfs and flash

I truly don't know what the issue is.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

6 Nov 2019, 5:34 PM
#372
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Product Extra Fields for text, pdfs and flash

jimmie:

anyway of making it compatible with v 1.56c

When you say the link doesn't work, what link are you talking about? I'm presently working on an update. The changes from 1.5.4 to 1.5.5 are so minor that the mod should work fine. It should work fine with 1.5.6 as well but the changes in the code (which are probably updates for higher levels of PHP) are significant, so though it may work on your cart, it may have issues on php 7.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

29 Aug 2020, 1:38 PM
#373
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

In the sql is ENGINE=MyISAM DEFAULT CHARSET=latin1

Should this reference utf8 now?

29 Aug 2020, 2:24 PM
#374
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Product Extra Fields for text, pdfs and flash

sure. I have not touched this one in years so it is out of date.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

29 Aug 2020, 2:28 PM
#375
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

Thanks for the lightning-fast reply on a Saturday.

29 Aug 2020, 6:00 PM
#376
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

I got interested in your plugin because google got more serious about using the gtin attribute to submit Global Trade Item Numbers (GTINs).
They say "Products submitted without any unique product identifiers are difficult to classify and may not be eligible for all Shopping programs or features.
Your plugin is more than I need, probably I will set up a new DB table with one gtin field that I can update manually.

BTW, it is no longer possible to upload all plugin files, they will need to be merged with any existing files.

9 Sep 2020, 2:29 PM
#377
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Product Extra Fields for text, pdfs and flash

I'm well aware this is not up-to-date. It hasn't been touched in a number of versions. I'm no longer able to maintain all my plugins. Therefore, one should use extreme caution and be prepared to merge files into any version you are presently using.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

9 Jun 2024, 3:37 PM
#378
siilike1232 avatar

siilike1232

New Zenner

Join Date:
Mar 2011
Posts:
56
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

Upgrading from v1.5.5 to 2.0.1.
My v1.5.5 had products_extra_files plugin and all my products have 4-5 files attached to them.
I cannot find anything similar for newer versions.
Any recommendations?

10 Jun 2024, 2:14 PM
#379
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Product Extra Fields for text, pdfs and flash

One of the reasons I did this mod was because I didn't find or didn't like anything that was available at the time. I don't know of a substitute. I also have no idea if this is even possible with 2.0.1 like I did it initially as there has been some major changes to core code since. It is upsetting to me that you will be so impacted by upgrading. I actually wrote this more for the flash element than anything else so I assume you have heavily invested in the text fields? If so I expect a careful merge of the database tables would be possible.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

13 Jun 2024, 8:03 AM
#380
siilike1232 avatar

siilike1232

New Zenner

Join Date:
Mar 2011
Posts:
56
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

I managed to solve it by connecting database tables products_description and products_extra_fields by Products_id - now the files are displayed at the end of product description.