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

Product Extra Fields for text, pdfs and flash

Views: 74,657

Results 81 to 100 of 381
16 Jan 2010, 1:57 PM
#81
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,807
Plugin Contributions:
22

Product Extra Fields for text, pdfs and flash

Firefox 3.0.17, IE9, Opera 10.10
every time i get the same thing
Do i have to install something else before this module? I've tried on a clean install...

My site - Pro ZC Help
My portfolio | My plugins

16 Jan 2010, 2:01 PM
#82
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

give me a url to see so I can look at the source code

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

16 Jan 2010, 2:08 PM
#83
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,807
Plugin Contributions:
22

Re: Product Extra Fields for text, pdfs and flash

link on PM...

My site - Pro ZC Help
My portfolio | My plugins

3 Feb 2010, 10:35 PM
#84
patrickuzu avatar

patrickuzu

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
1

Re: Product Extra Fields for text, pdfs and flash

delia:

I have the fixes, delete and copy edits done and would like someone to test them as I don't actually have a cart I can play with right now. Just let me know and I'll send you the link to the files.

Delia
I am interested in corrections files, you can send me the link files by MP. I perform the tests.
Thank you
Patrick

8 Feb 2010, 6:57 AM
#85
kgmmusic avatar

kgmmusic

New Zenner

Join Date:
Nov 2005
Posts:
76
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

Pathan:

Since I have applied this mod I get this error on Product info page in Admin area:

Warning: reset() [function.reset]: Passed variable is not an array or object in D:\xampplite\htdocs\shop\admin\includes\classes\object_info.php on line 29

Warning: Variable passed to each() is not an array or object in D:\xampplite\htdocs\shop\admin\includes\classes\object_info.php on line 30

> 
> Previous values are not populating anywhere. 
> Any Solution or at least tell me how to revert old settings.

I am having the very same problem. Anyone know of a fix for this error when copying products?
8 Feb 2010, 12:55 PM
#86
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

Working on a solution now. I had not incorporated the copy function before.

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

9 Feb 2010, 7:42 AM
#87
kgmmusic avatar

kgmmusic

New Zenner

Join Date:
Nov 2005
Posts:
76
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

delia:

Working on a solution now. I had not incorporated the copy function before.

Thank you Delia! Please let me know when a fix is released.

10 Feb 2010, 2:45 PM
#88
thessa avatar

thessa

New Zenner

Join Date:
Feb 2010
Posts:
2
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

I have installed the contribution and have altered it so it only shows extra text fields. Is there a possibility to show these textfields also on the invoice and in the admin orders.

24 Feb 2010, 9:28 PM
#89
bcaa8ra avatar

bcaa8ra

New Zenner

Join Date:
Jan 2008
Posts:
5
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

Couldn't find this anywhere in the thread. I would like one of the extra fields to show up on orders in the admin screen.
Do anyone have a good idea for this?

Bernie

Zen Cart Specialists
PayPal Partner and PayPal Certified Developer
Providing Zen Cart Hosting, Custom programming and maintenance.

24 Feb 2010, 9:40 PM
#90
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

since this mod has nothing to do with orders or attributes, it would have to be coded into the mod. Not easily done and I don't know why you want it. These fields are for extra information, not vital product info.

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

1 Mar 2010, 11:00 PM
#91
swanninc avatar

swanninc

New Zenner

Join Date:
Mar 2010
Posts:
1
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

kgmmusic:

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 Mar 2010, 12:13 AM
#92
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

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

4 Mar 2010, 2:50 PM
#93
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

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

12 Mar 2010, 4:01 PM
#94
mprior avatar

mprior

New Zenner

Join Date:
Oct 2005
Location:
Norfolk, UK
Posts:
2
Plugin Contributions:
0

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 :)

12 Mar 2010, 4:08 PM
#95
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

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

13 Mar 2010, 5:46 PM
#96
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

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

14 Mar 2010, 10:57 AM
#97
eyecube_art avatar

eyecube_art

New Zenner

Join Date:
Nov 2009
Location:
Sweden
Posts:
7
Plugin Contributions:
0

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

14 Mar 2010, 1:22 PM
#98
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

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

14 Mar 2010, 3:26 PM
#99
eyecube_art avatar

eyecube_art

New Zenner

Join Date:
Nov 2009
Location:
Sweden
Posts:
7
Plugin Contributions:
0

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

14 Mar 2010, 3:37 PM
#100
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

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