-
Re: Product Extra Fields for text, pdfs and flash
Delia,
Minor issue here. I had your previous version installed. From your new version (that I got from your PM) I updated and uploaded everything until the sql patch.
When I try to get that done through the admin, here is what I get:
1146 Table 'thenameofmydatabase.products' doesn't exist
in:
[INSERT INTO zen_product_extra_fields (products_id) SELECT products_id FROM products where products_type = 1;]
What am I missing? :blush:
Thanks,
Damien
-
Re: Product Extra Fields for text, pdfs and flash
There were no changes to the database so there is no need to run the install sql script unless you've not created the required data base table.
-
Re: Product Extra Fields for text, pdfs and flash
and - looking at the error message closer - you might have a prefix on your tables so therefore the table doesn't exist as in the sql file.
-
Re: Product Extra Fields for text, pdfs and flash
Hello,
I am sorry if I am placing this on a wrong discussion. I am testing this on a non-active site just to make sure I am doing everything right and I don't seem to be able to correct some of the errors. I get the following errors in the product page.
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/poshkid1/public_html/admin/includes/classes/object_info.php on line 29
Warning: Variable passed to each() is not an array or object in /home/poshkid1/public_html/admin/includes/classes/object_info.php on line 30
any help would be appreciated.
I am thinking about installing this on a site that has over 1600 products and I don't want to mess with it unless I know I can get it to work right.
-
Re: Product Extra Fields for text, pdfs and flash
have you run the sql yet?
-
Re: Product Extra Fields for text, pdfs and flash
Hi,
Are you talking about the SQL Patch? If so, yes I have.
-
Re: Product Extra Fields for text, pdfs and flash
I had the same issue. Same error popped up in the Admin, on the already existing product pages.
I noticed that I didn't have that error message on a product create AFTER installing "Product Extra Fields".
The only solution I found was to get rid of all my products, uploaded all the products again and problem solved.
It works for me as I have about 80 products. But maybe Delia has a better idea...
I would pay to have someone upgrading "Product Extra Fields" to a version that would work with Easy Populate!!! :yes:
Damien
-
Re: Product Extra Fields for text, pdfs and flash
i have actually installed the Extra description files mod, everything works fine in admin, files are uploaded etc but nothing appears on the product page, although the product page shows the code to show it?
is there any point trying to fix this or should i install the extra products field mod?
-
Re: Product Extra Fields for text, pdfs and flash
I am having an issue understaing the download and upload in order for the MOD to work properly. I have over 1700 products and when I install the mod there is nothing in the admin area's product fields, however on the customer side the product shows without any problems. I can't afford to screw this up and that is why I asked for a more clear direction on how to export prodcuts in MYPHPADMIN and then Import them back in. So far, no response....
Oh Well.
-
Re: Product Extra Fields for text, pdfs and flash
The new version has an sql patch to use that will set it up completely without having to use phpmyadmin.
If necessary, go get new version and start over.
-
Re: Product Extra Fields for text, pdfs and flash
Quote:
Originally Posted by
samanthar
i have actually installed the Extra description files mod, everything works fine in admin, files are uploaded etc but nothing appears on the product page, although the product page shows the code to show it?
is there any point trying to fix this or should i install the extra products field mod?
I wrote this extra fields mod because he had not actually finished or finessed the description one.
-
Re: Product Extra Fields for text, pdfs and flash
NOTICE:
The new version of zen cart does change some of the files for this mod. I will upload a new version when I get a chance. Just be forewarned - you cannot upgrade to version 1.39 yet. If you have installed the new version - DO NOT INSTALL THIS MOD yet!
-
Re: Product Extra Fields for text, pdfs and flash
Is it possible to add the extra field below the description on a product listing page?
I have tried all sorts of variations but haven't had any luck on this page.
Any pointers would be much appreciated.
Thanks,
K
-
Re: Product Extra Fields for text, pdfs and flash
Sure thought that was where it showed up.
-
Re: Product Extra Fields for text, pdfs and flash
Quote:
Originally Posted by
delia
Sure thought that was where it showed up.
modules/product_listing.php is not part of this mod.
It works great for the product info page but I also need the field to show on the product listing page.
Have you done this before?
-
Re: Product Extra Fields for text, pdfs and flash
Oh, sorry, didn't read it thoroughly!
haven't done it but is doable. PM me.
-
Re: Product Extra Fields for text, pdfs and flash
Did anyone ever find a solution to this problem? I have the same one. Can no longer edit products. I *think* the problem stems from installing the product extra fields mod into a subfolder of public_html. But I don't know what to change to fix it.
When I go to classes/object_info.php, lines 29 & 30 are comment lines......
Quote:
Originally Posted by
jezjones29
hi, thanx for this great mod. The only problem I have is when I try and copy a product. Please can you confirm that this works?
When I copy a product at the moment, the new item just gives me errors:
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/cashback/public_html/....../includes/classes/object_info.php on line 29
Warning: Variable passed to each() is not an array or object in /home/cashback/public_html/....../admin/includes/classes/object_info.php on line 30
-
Re: Product Extra Fields for text, pdfs and flash
Are you using the latest version? It's supposed to work. It was never set up to copy in the first version.
-
Re: Product Extra Fields for text, pdfs and flash
I just checked this mod against the 1.3.9.c version and it looks like it will work fine.
-
Re: Product Extra Fields for text, pdfs and flash
-
Re: Product Extra Fields for text, pdfs and flash
Quote:
Originally Posted by
weirdorecords
Did anyone ever find a solution to this problem? I have the same one. Can no longer edit products. I *think* the problem stems from installing the product extra fields mod into a subfolder of public_html. But I don't know what to change to fix it.
When I go to classes/object_info.php, lines 29 & 30 are comment lines......
I was also same as you, had the same problem. Using quilck update module,after of quicy Copy display this error.
-
Re: Product Extra Fields for text, pdfs and flash
Quote:
Originally Posted by
dajiaoyazi
I was also same as you, had the same problem. Using quilck update module,after of quicy Copy display this error.
Which version are you using? What quick update module? If you are using an add on besides this one for changing your products, then you have to merge the two. This would overwrite another mod most likely.
-
Re: Product Extra Fields for text, pdfs and flash
Quote:
Originally Posted by
delia
Which version are you using? What quick update module? If you are using an add on besides this one for changing your products, then you have to merge the two. This would overwrite another mod most likely.
V1.3
Quick Updates Modules,after quick copy products.open edit products page display this error.....
-
Re: Product Extra Fields for text, pdfs and flash
No which version of the product extra fields - You have to merge the files to get it to work with the quick update module. I know nothing about that.
-
Re: Product Extra Fields for text, pdfs and flash
Hi,
I'm using v1.3 with zencart 1.3.9d.
How do I make the pdf files open in a new browser window/tab please? (i.e. target=_blank)
Cheers
Claire
:blink:
-
Re: Product Extra Fields for text, pdfs and flash
open up modules/pages/main_template_vars_product_type.php
There are 4 lines for the pdfs/attachment files, lines 50 - 53.
after the <a place your html, ie:
<a target="_blank" href
-
Re: Product Extra Fields for text, pdfs and flash
I just installed this on version v1.3.9e. I uploaded the files, changed the permission, ran the sql and selected the appropriate template. When I add a new product the extra fields aren't listed for me to fill in. If I go into the database through myphpadmin I can add a pdf file that does appear on the product page. How do I enter the field information through the admin, not the database?
Thanks.
-
Re: Product Extra Fields for text, pdfs and flash
If you uploaded the files correctly to admin, you would see those fields on the page, so I suggest going folder by folder to make sure you have uploaded all files properly.
-
Re: Product Extra Fields for text, pdfs and flash
Hey guys and gals, I'm consider this mod but would like some examples where this is fully functional, especially would like to see a flash embed.
Thanks for the hard work Delia.
It does this zenner body & mind good when I see ZC service providers volunteering their time here.
Thanks again.
-
Re: Product Extra Fields for text, pdfs and flash
The customer I have isn't using this to display flash so I don't have a suggestion for you.
-
Re: Product Extra Fields for text, pdfs and flash
does or has someone got this to work on 1.3.9f?
I had it on 1.3.8a and upgraded and now item like video links and extra text no longer show up.
Admin area work fine and i can upload videos (fla's) and look at the Db and they are there but nothing on the site itself.
-
Re: Product Extra Fields for text, pdfs and flash
I've had no complaints but that doesn't mean anything. What you are talking about should not be affected by any changed files. I see a date change on the product info template file and one page file. Would you send me the url of your site?
-
Re: Product Extra Fields for text, pdfs and flash
-
Re: Product Extra Fields for text, pdfs and flash
Are you sure you uploaded the template for the product page to the right place? I don't see the code I'm expecting in that page.
the file structure in the zip file has that file at:
includes/templates/your_template/templates.
If you uploaded the package without changing the your_template to your custom template then it's not in the right place.
-
Re: Product Extra Fields for text, pdfs and flash
looks like the code is there, i reuploaded my backup copy of the file.
but still no link
we are talking about the tpl_product_info_display.php file. Right?
-
Re: Product Extra Fields for text, pdfs and flash
can you take a look and see if the info you are looking for is there now or not?
Thanks
-
Re: Product Extra Fields for text, pdfs and flash
I want to show on the product listing (product_listing.php) if the product has a flash file included.
So i have the product_listing and now i want an extra column with the following: Video: Yes/No.
I tried alot of things but i cant get it to work. Does anyone have any idea?
-
Re: Product Extra Fields for text, pdfs and flash
Quote:
Originally Posted by
d1rage5
can you take a look and see if the info you are looking for is there now or not?
Thanks
sorry, didn't get notified that you had responded. There is an error in that file in the contribution. Don't know how in the world that escaped notice this long.
I'll be uploaded the correct edition shortly that will also have small changes due to the recent upgrades.
Lowie,
Sorry, but that's a bit of complicated programming in several files to get that to work.
-
Re: Product Extra Fields for text, pdfs and flash
But! Just realized.
d1rage5
There are no list items in your html. So the mod is now in but with no list items showing, it makes me think that you either haven't added the new fields, or the datasbase table isn't uploaded or filled out or something bigger.
I'll be glad to look at it for you at this point. Send me a message or look for my website to send me an email.
-
Re: Product Extra Fields for text, pdfs and flash
That sux ive been working on it for like 4 hours now and im really pissed haha!
I gto this far:
http://www.devuurwerkhandel.nl/profe...rwerk-c-5.html
But it wont check the video linked to id, only the last video in the sql database table...
Code:
case 'PRODUCT_LIST_WEIGHT':
$lc_align = 'right';
mysql_connect("localhost","","");
mysql_select_db("");
// Make a MySQL Connection
// Construct our join query
$query3 = "SELECT products_description.products_id, product_extra_fields.video ".
"FROM products_description LEFT JOIN product_extra_fields ".
"ON products_description.products_id = product_extra_fields.products_id";
$result3 = mysql_query($query3) or die(mysql_error());
while($row = mysql_fetch_array($result3)){
$lc_text = '' . $listing->fields['products_id'] . ' heeft ' . $row['video'] . '';
}
break;
-
Re: Product Extra Fields for text, pdfs and flash
Delia,
Thanks for building and supporting this mod! I'm looking at a major upgrade of our product info pages and I think this will help. What we need is a short bit of description on the right-top of the page with the image on the left-top then below that we want the main description area where we'd like to use Tabbed Products Pro. Do you know if they're compatible? Also, if we have Quick Updates but we don't use it for the descriptions (only quantity and model number) will we be OK or do we still need to do a merge?
-
Re: Product Extra Fields for text, pdfs and flash
Hy Delia! Great to see you've fixed many things about your contrib, it has now become almost a standard install on my shops...
Do you perhaps know how I could get the advanced search to look in the extra description field? I have some parameters in that field, but when I do a search on the exact keyword from the extra description, no results are found.
Thank you!
-
Re: Product Extra Fields for text, pdfs and flash
The search only searches on the product title and description so it would have to be altered to include that new table. I'm not sure how possible it would be - it's kinda like the attributes - just maybe not possible tho I think it should be. I'll keep it in mind tho; I had it come up this morning as well.
-
Re: Product Extra Fields for text, pdfs and flash
I have the new zencart, but when i install the latest product extra fields addon and i type some text int the extra field, it also outputs the html code. So the page looks like this:
When i put in this:
##########_
HOOOI
HOI
##########_
it outputs this on the product page:
HOOOI<br /><br /><br /><br />HOI
I tried reuploading and stuff, and changing browsers but nothing works. Also moving in to plain text mode does not work. it keeps outputting the HTML code too.
-
Re: Product Extra Fields for text, pdfs and flash
You must be using 1.3.9g?
-
Re: Product Extra Fields for text, pdfs and flash
-
Re: Product Extra Fields for text, pdfs and flash
1.3.9g has screwed up a lot of things that will be fixed with the next version.
There is a fix published that will correct this in many areas of zen cart such as the define pages but in the case of this mod, I simply recommend only using text for the moment until the zen cart folks decide how they are going to handle the next set of changes.
-
Re: Product Extra Fields for text, pdfs and flash
That kinda sucks very bad. I need this contrib asap. Oh well, I'll wait then
-
Re: Product Extra Fields for text, pdfs and flash
HI there,
I am building a site in EN, FR and DE. How would I edit this mod to make it offer the 3 language text boxes. I don't need it to offer different language for the file uploads, just the text input fields.
Your help would be great!
Thanks
Matt
-
Re: Product Extra Fields for text, pdfs and flash
I've never done a mod with the languages in mind so I'm a little fuzzy on that myself.
Definitely would require major changes to the mod and the database. Not simply edits.
-
Re: Product Extra Fields for text, pdfs and flash
Hi Delia,
I installed this but unfortunately, I was using ZC 1.39g. There is now ZC 1.39h released. Do you know yet if your addon will work with it?
Also, after installing this, where are we supposed to see your extra fields? In the product editing area? As of now, I don't see any extra fields.
Thanks,
Bill
-
Re: Product Extra Fields for text, pdfs and flash
is it possible to show the SWF (flash) upload in a lightbox/fancybox mode? To make it a little more fancy instead of a popup.
Thanks!
-
Re: Product Extra Fields for text, pdfs and flash
Nevermind i found the solution
-
Re: Product Extra Fields for text, pdfs and flash
People who also want to show the flash file in a dynamic popup (example: http://www.devuurwerkhandel.nl/kruit...hots-p-26.html)
- Download Fancybox: http://fancybox.net/
- Upload the following files into: includes/templates/YOURTEMPLATEFOLDER/templates
- the map fancybox (drag and drop)
- the file jquery-1.4.3.min.js
- Open de example index.html file included in the .rar file
- now copy the javascript out of it (you can also copy this one):
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script>
!window.jQuery && document.write('<script src="http://www.URL.nl/includes/templates/TEMPLATE/templates/jquery-1.4.3.min.js"><\/script>');
</script>
<script type="text/javascript" src="http://www.URL.nl/includes/templates/TEMPLATE/templates//fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="http://www.URL.nl/includes/templates/TEMPLATE/templates//fancybox//jquery.fancybox-1.3.3.pack.js"></script>
<link rel="stylesheet" type="text/css" href="http://www.URL.nl/includes/templates/TEMPLATE/templates//fancybox/jquery.fancybox-1.3.3.css" media="screen" />
<script type="text/javascript">
$(document).ready(function() {
/*
* Examples - images
*/
$("a#example1").fancybox();
$("a#example2").fancybox({
'overlayShow' : false,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
});
$("a#example3").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none'
});
$("a#example4").fancybox({
'opacity' : true,
'overlayShow' : false,
'transitionIn' : 'elastic',
'transitionOut' : 'none'
});
$("a#example5").fancybox();
$("a#example6").fancybox({
'titlePosition' : 'outside',
'overlayColor' : '#000',
'overlayOpacity' : 0.9
});
$("a#example7").fancybox({
'titlePosition' : 'inside'
});
$("a#example8").fancybox({
'titlePosition' : 'over'
});
$("a[rel=example_group]").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' ' + title : '') + '</span>';
}
});
/*
* Examples - various
*/
$("#various1").fancybox({
'titlePosition' : 'inside',
'transitionIn' : 'none',
'transitionOut' : 'none'
});
$("#various2").fancybox();
$("#various3").fancybox({
'width' : '80%',
'height' : '80%',
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe'
});
$("#various4").fancybox({
'padding' : 0,
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none'
});
});
</script>
Be sure to edit the URLS at the top of this script. Then copy the whole script into your tpl_products_info_display.php page somewhere at the top.
- You now need to edit the link that opens the flash file/video:
- go to: includes/modules/pages/product_info/main_template_vars_product_type.php
- edit this line:
<a href="javascript:popupWindow(\''.zen_href_link(FILENAME_FLASH).'&id='.$_GET[products_id]. '\') ">'. $products_video_title . '</a>
into this:
if (!empty($products_video)) $products_video_link = '<a id="various3" href="'.zen_href_link(FILENAME_FLASH).'&id='.$_GET[products_id]. ' ">'. $products_video_title . '</a>';
Thats it!
Please keep in mind this is just a quick solution and not very smart. I just needed this done asap. When you use lightbox (or slimbox) for your product images to enlarge, fancybox will possibly disable that.
You need to use fancybox for your images also by doing this:
go to includes/templates/yourtemplatefolder/templates/tpl_modules_main_product_image.php and add id="example1" to the <a> functions. Very easy.
:D
-
Re: Product Extra Fields for text, pdfs and flash
When i try to upload a flash movie i get the same error over and over!
Anyone know whats wrong?
Code:
1054 Unknown column 'pe.products_code' in 'field list'
in:
[select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_virtual, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id, pe.products_code, pe.file_1, pe.file_2, pe.file_3, pe.file_4, pe.file_1_title, pe.file_2_title, pe.file_3_title, pe.file_4_title, pe.video,pe.video_title, p.products_quantity_order_min, p.products_quantity_order_units, p.products_priced_by_attribute, p.product_is_free, p.product_is_call, p.products_quantity_mixed, p.product_is_always_free_shipping, p.products_qty_box_status, p.products_quantity_order_max, p.products_sort_order from products p, products_description pd, product_extra_fields pe where p.products_id = pd.products_id and p.products_id = pe.products_id and p.products_id = '0']
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
-
Re: Product Extra Fields for text, pdfs and flash
Now that's just bizarre, Lowie. I'm not sure how that happened because no one has reported that error before but it sure is an error.
I've updated to the 1.3.9h version and corrected the bug. I just uploaded it to contributions so you won't be able to see it yet.
-
Re: Product Extra Fields for text, pdfs and flash
Quote:
Originally Posted by
delia
Now that's just bizarre, Lowie. I'm not sure how that happened because no one has reported that error before but it sure is an error.
I've updated to the 1.3.9h version and corrected the bug. I just uploaded it to contributions so you won't be able to see it yet.
:clap:
Hi Delia,
How long does it take before we will see it?
Thanks!
-
Re: Product Extra Fields for text, pdfs and flash
I can't forecast - depends on when they get to it.
-
Re: Product Extra Fields for text, pdfs and flash
-
Re: Product Extra Fields for text, pdfs and flash
Well this is for another website with version 1.38 and i never had the error before untill some days back!
-
Re: Product Extra Fields for text, pdfs and flash
How long does it take for the new version of the plugin to show up on the Add-Ons Page? Are they usually this slow?
Thanks,
Bill
-
Re: Product Extra Fields for text, pdfs and flash
I finally got the checking if the video field in database is filled function done. Just need a little copy-paste so ill explain it to you guys. This adds a column to your prodcut listing showing if there is a flash file or not linked to the product.
You need to edit one of the excisting columns so i picked WEIGHT (so this function can be turned off or on when you disable WEIGHT at Admin->Product Listing)
Go to includes/modules/product_listing.php and then go to case 'PRODUCT_LIST_WEIGHT':
Delete the whole code within the case 'PRODUCT_LIST_WEIGHT': and the break; tag. Then add the following code:
Code:
$sql5 = "select * from " . TABLE_PRODUCT_EXTRA_FIELDS . "
where products_id = '" . $listing->fields['products_id'] . "'";
$files = $db->Execute($sql5);
$products_video = $files->fields['video'];
if (!empty($products_video))
{
$lc_text = 'This product has a flash file';
} else {
$lc_text = '';
}
This is a quick solution and i havent tested it fully yet, but it seems to work perfect. Good luck
Example:
http://alturl.com/in5vr
(check the column to the left named Movie)
-
Re: Product Extra Fields for text, pdfs and flash
Hi
I seem to almost have this working with the latest zen cart (1.3.9h) but not quite ....
When I go to look at one of the files, I get the following error message:
Forbidden
You don't have permission to access /product_extra_files/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Any idea what I need to do? I have changed the permissions ... and uploaded the document (a pdf) but cannot get it to open.
Arrrgghhh ... so close and yet so far. When I hover over the link, it shows the folder but not the particular file ...
Any help, gratefully received ...
Gillian
-
Re: Product Extra Fields for text, pdfs and flash
You shouldn't be able to view that folder in a browser - only thru ftp.
If the file itself isn't showing in the link, then something isn't working.
At this point, I'll send the newest version via email since it hasn't been added to this site. Obviously, whoever is in charge is on vacation.
Just PM me with your email address.
-
Re: Product Extra Fields for text, pdfs and flash
The newest version for 1.3.9h is up in the contributions finally:
http://www.zen-cart.com/index.php?ma...oducts_id=1331
-
1 Attachment(s)
Re: Product Extra Fields for text, pdfs and flash
Hi Delia
I have gone through the new files and merged the changes to my Zen Cart. However, I still cannot get it to work entirely. Attached is a screen shot of what is showing.
The top section are some fields I altered using product_weight as a starting point. Most of those work (except one which inexplicably will work if I populate it from the database but not from the admin pages).
Below are your extra fields. The first is a Youtube video but all I get is text. The other documents are pdf but when I go to click on them I get the following error message ...
Forbidden
You don't have permission to access /product_extra_files/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Any ideas what I am doing wrong?
Many thanks.
Gillian
-
Re: Product Extra Fields for text, pdfs and flash
I would guess you are on zen cart version 1.3.9g - upgrade to h, the problems have been fixed.
-
Re: Product Extra Fields for text, pdfs and flash
Hi Delia
No, I have already upgraded to h ...
Gillian
-
Re: Product Extra Fields for text, pdfs and flash
Hi
I have compared all files and ensured that I have everything updated correctly (using 1.3.9h and product_extra_fields ver. 5)
Slowly getting closer but still not got it working ...
Now when I add a file (e.g. Redwood.pdf), I can see the file in the link ... See the attached jpg. At the top of the attachment you can see it shows that the pdf has been successfully added and at the bottom it shows the location of the file when I hover over the link ...
For some reason, it is showing the product_extra_fields folder as being in the Admin folder. I had put it into the main folder ... So that is the first problem ....
Next, when I update the product, and then hover over the link, it no longer shows the document, nor does it show it as being in the ADMIN folder ... so there is something going wrong there.
Also, when I go to the store, the file is not showing up ... still just going to the folder and not the file itself.
Any ideas?
Gillian
-
1 Attachment(s)
Re: Product Extra Fields for text, pdfs and flash
Oops here is the attachment ...
-
Re: Product Extra Fields for text, pdfs and flash
I'm going to install this on a site to see if I can get it to work out of the box for me. However, I'm about to leave for vacation so I may not get back about this right away.
-
Re: Product Extra Fields for text, pdfs and flash
Hi Delia
Much appreciated. I am really trying to make this work by following all the instructions carefully. However, this is still stumping me ...
Any help would be gratefully received.
Gillian
-
Re: Product Extra Fields for text, pdfs and flash
Thanks for this post. I have been having the same problem.
When I look in the Database table I see that the entry of file_1_title has been written no probs. But the file name hasn't, the file_1 field is still blank. When I manually enter the file-name the links perform as expected.
Unfortunately I am not sure enough with php scripting to debug what the error for me might be...
Also any help appreciated.
-
Re: Product Extra Fields for text, pdfs and flash
I will be glad to use someone's site to install this package so that I can see what's happening. Contact me via pm.
-
Re: Product Extra Fields for text, pdfs and flash
I have the same problem using v1.3.9h...the links are created and the documents are uploaded. The problem is the store links to the folder but the filename is ommitted from the link.
-
Re: Product Extra Fields for text, pdfs and flash
I have installed this wonderful mod on 1.3.9h. After importing the fields for the existing products the links show up on the product page as expected. So far so good.
But when I go to the admin there is nothing to see. No new (sub) product type. No extra fields on the edit product pages.
I have checked over and over if i have uploaded all files but everything is there.
Am I overlooking something? Please help.
-
Re: Product Extra Fields for text, pdfs and flash
Quote:
Originally Posted by
FransDo
I have installed this wonderful mod on 1.3.9h. After importing the fields for the existing products the links show up on the product page as expected. So far so good.
But when I go to the admin there is nothing to see. No new (sub) product type. No extra fields on the edit product pages.
I have checked over and over if i have uploaded all files but everything is there.
Am I overlooking something? Please help.
You must not have uploaded the changed files. Check the file names in the package and then check to see if the files on the site have changed dates - the date you uploaded the files in admin.
-
Re: Product Extra Fields for text, pdfs and flash
Hi Delia,
So right you are!
Indeed one of the files appeared to be empty.
It is working great now.
Many thanks .
-
Re: Product Extra Fields for text, pdfs and flash
Hi,
I have just dowloaded your latest version posted just a couple of days ago. The problem is the same - I can see the "files for download" on produc preview page, but not on me web-page.:(
Could you please help out?
-
Re: Product Extra Fields for text, pdfs and flash
Are you sure that you are using the version 1.5.1? The changed file is admin/includes/modules/product/preview_info.php. I suggest uploading it separately to make sure.
Starting at line 192, I added these lines back in:
// extra fields mod
echo zen_draw_hidden_field('extra_field' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_name[$languages[$i]['id']])));
echo zen_draw_hidden_field('file_1', stripslashes($products_file_1_name));
echo zen_draw_hidden_field('file_2', stripslashes($products_file_2_name));
echo zen_draw_hidden_field('file_3', stripslashes($products_file_3_name));
echo zen_draw_hidden_field('file_4', stripslashes($products_file_4_name));
echo zen_draw_hidden_field('video', stripslashes($products_video_name));
//eof extra field mod
-
Re: 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?
-
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.
-
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?
-
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');
-
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?
-
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:
-
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.
-
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.
-
Re: Product Extra Fields for text, pdfs and flash
The extra fields only show up if they have something in them.
-
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?
-
Re: Product Extra Fields for text, pdfs and flash
Sorry, but it's a one language only mod at this point.
-
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.
-
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?
-
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.
-
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.
-
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!
-
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.
-
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
-
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.
-
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?