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

Product Extra Fields for text, pdfs and flash

Views: 74,458

Results 181 to 200 of 381
25 Mar 2011, 12:55 AM
#181
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Product Extra Fields for text, pdfs and flash

Looks like a great mod, Thanks.
I'm having trouble with the pdf upload. When i preview a new product I get "Error: Destination does not exist /home/newmedia/public_html/newmediastudio/onlinequote/download/products_extra_files"

My site is in a subdirectory of my site - http://newmediastudio.com.au/onlinequote so this looks right to me. I have created the download/products_extra_files folder at the root level as well and set all4 folder permissions to 777.
I also tried changing define('DIR_FS_PRODUCT_EXTRA', 'product_extra_files/');
to
define('DIR_FS_PRODUCT_EXTRA', 'onlinequote/product_extra_files/');

in product_database_names.php but still get the same error. I guess it's something to do with being in a subdirectory?

25 Mar 2011, 4:06 AM
#182
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

Just found another problem Iam have. I think it's related to Easy Populate. When I try to add a new product I get this error -

1146 Table 'newmedia_zc8.TABLE_PRODUCT_EXTRA_DESCRIPTION_EXTRA' doesn't exist
in:
[insert into TABLE_PRODUCT_EXTRA_DESCRIPTION_EXTRA (products_id, products_code, file_1, file_2, file_3, file_4, file_1_title, file_2_title, file_3_title, file_4_title) values ('1', null, '/tmp/php1F2Kbl', null, null, null, 'CSS Cheat', null, null, null)]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I saw some other posts about using this with Easy populate. can they be used together?

Thanks.

25 Mar 2011, 11:54 AM
#183
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 haven't run the sql file or else you have a prefix on your database tables. This has nothing to do with EZ populate.

That error message is putting the onlinequote into a folder called newmediastudio so it's a sub directory of a subdirectory. That sounds like an incorrect or unusable setting in your admin configure file. Are you able to click on the online catalog link on admin and get to your cart?

25 Mar 2011, 9:38 PM
#184
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

Thanks,

the zencart was installed with fantastico so it has zen_ prefix. How do i fix that?

Yes, the admin link takes me to the catalogue. Here's my config file.

define('HTTP_SERVER', 'http://newmediastudio.com.au');
define('HTTPS_SERVER', 'https://newmediastudio.com.au');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/onlinequote/');
define('DIR_WS_HTTPS_CATALOG', '/onlinequote/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

define('DIR_WS_PHPBB', '/');

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home/newmedia/public_html/newmediastudio/onlinequote/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'XXXXXX');
define('DB_SERVER_PASSWORD', 'XXXXXX');
define('DB_DATABASE', 'XXXXXXXX');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');
// for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '/home/newmedia/public_html/newmediastudio/onlinequote/cache');

26 Mar 2011, 11:47 AM
#185
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 would need to change the table name in your database. Do you know how to do that? Do you have access to your database to do that?

26 Mar 2011, 1:44 PM
#186
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

I'm sorry but I do not understand the purpose of this module, if anyone can explain me for what purpose can be used? :blush:

26 Mar 2011, 2:00 PM
#187
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

Adds extra fields to a products and provides automatic display of pdfs for download or display of flash or display of extra text. Each field can be individually displayed and formatted if one wants to reformat the product info template.

26 Mar 2011, 3:36 PM
#188
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

Thanks delia on responce,

when I install add ons can I determine which products to have Extra Fields for text, pdfs and flash or all products have Extra Fields?

Because it would be great to only certain products may assign this function.

26 Mar 2011, 4:02 PM
#189
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 extra fields only show up if they have something in them.

5 Apr 2011, 2:14 AM
#190
pizza392 avatar

pizza392

New Zenner

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

Re: Product Extra Fields for text, pdfs and flash

in the "extra field", i can only input one language, what do i make it used for multi languages just like the description area?

5 Apr 2011, 10:21 AM
#191
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

Sorry, but it's a one language only mod at this point.

8 Apr 2011, 5:42 AM
#192
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

Hi Delia,

I'm still having this problem.

1146 Table 'newmedia_zc8.zen_product_extra_description_extra' doesn't exist
newmedia_zc8 is the database name, zen is the table prefix.

I have access to phpmyadmin, I'm just not sure what to rename the table to?

Thanks.

8 Apr 2011, 1:42 PM
#193
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

When I looked at that closer I realized there's something majorly wrong there.

There is no TABLE_PRODUCT_EXTRA_DESCRIPTION_EXTRA in this mod.

How did you install this? Did you just use the files in the zip package or did you try to merge files?

8 Apr 2011, 9:59 PM
#194
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

i just uses the files in this mod but I had tried Extra Description product mod. Looks like the error comes from that one. I must have left some of those files on the server. I'll remove those and try again. I'll let you know, thanks.

8 Apr 2011, 11:10 PM
#195
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

i just used the files in this mod but I had tried Extra Description product mod. Looks like the error was coming from that one. I should have looked closer, fixed now, thanks.

I am trying to use this mod along with easy populate. When i upload the product data through easy populate the products show on the site but since i have installed 'products Extra Fields' the product is empty in admin. The categories and products are listed in admin but when i go to edit a product all the fields are empty. Would you have any ideas why that would happen? Both of these mods were working seperatly.

Thanks again.

12 May 2011, 1:59 PM
#196
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

Hi Delia,

Thank you for this WONDERFUL mod! I have a quick question that I cannot figure out for the life of me...I uploaded the SQL you supplied - just added the Zen prefix. When I add a new product everything is fine and it updates with no problem, but if I go to edit the product and go to save changes I get the following error:

1062 Duplicate entry '3' for key 1
in:
[insert into zen_product_extra_fields (products_id, extra_field, file_1, file_2, file_3, file_4, file_1_title, file_2_title, file_3_title, file_4_title) values ('3', 'fdfdfdffdsfdsfdfdfdsfdsttttttttttt', 'test.pdf', null, null, null, 'tytytytytyt', null, null, null)]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I cannot figure out why it will not let me add additional PDF's or do any edit once the product is in there?

Any thoughts of something i am blatantly missing here?!?!

Thank you!

12 May 2011, 2:04 PM
#197
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

This happened the first time you tried to edit a product? That message tells me something has definitely gone wrong. Contact via pm and I'll take a look at it.

12 May 2011, 2:09 PM
#198
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

Thanks Delia,

Yes I only have 2 products in the store...it is an advanced site I am working on so doing a lot of coding and testing...usually I can figure these things out but I am stumped on this one....

I'll pm you!

Thanks,

J

26 May 2011, 3:08 PM
#199
wizer avatar

wizer

Zen Follower

Join Date:
Jul 2010
Location:
London, UK
Posts:
135
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

Thanks for this mod. I just installed it and it seems to be working.

Does the Extra Text Field have to be a large text box? I actually need to enter a 2nd Model Number (Part Number). So just need a short text input box. Is this possible?

Also, would there be a way to link to YouTube videos instead of uploading flash? I know I can cut and paste the embed code, but I would rather have it entered as a field.

28 May 2011, 2:19 PM
#200
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: Product Extra Fields for text, pdfs and flash

I wish to use the extra text field for suggested age for my product....Childrens products - eg age 3.

How do I get the advance search to pick up this field and allow a search by age similar to the search by price?