Totally Zenned
- Join Date:
- May 2006
- Location:
- Gardiner, Maine
- Posts:
- 2,383
- Plugin Contributions:
- 7
Product Extra Fields for text, pdfs and flash
Did you run the sql for the database?
Views: 74,446
Totally Zenned
Did you run the sql for the database?
New Zenner
songseng:
Just winmerge'd this mod with zencartV1.50, it works fine after applied of the differences to zencartV1.50 .
Thanks Delia for your contribution:clap:
Instead of showing a link to the swf, then pop up of the flash movie.
I sucessfully hardcoded in the Extra text field to have direct play for the flash as below:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="240" height="320">
<param name="movie" value="http://domain_name/product_extra_files/flash.swf"> <param name="quality" value="high"> <embed src="http://domainname/product_extra_files/flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="240" height="320"></embed> </object>Demo is here:
http://my.gobiztunnel.com/index.php?main_page=product_info&products_id=362
Hopefully, this will be useful for sharing here. Thanks.
New Zenner
Hi Delia
Just wanted to say thanks for this mod - I had been going down the route of altering products_description and the like and then I realised how short term that was going to be.
I do seem to have one small problem.
If I have no data in the field (for instance after setting up the mod or inserting a new product) then the More Information doesn't appear - which is fine, just what I want.
But when I delete the information from the field, two strange things happen.
First the preview page shows raw html instead of rich text
and secondly and more of a pain the More Information header appears on the product with just one bullet underneath it.
Any ideas?
An example is http://www.equivivre-shop.co.uk/index.php?main_page=product_info&cPath=1_18&products_id=55
(Yes I've hacked the name of the field to Elizabeth Says )
New Zenner
Actually, I've sorted the second part now - there must have been a little bit of formatting left in the field.
However, I am just seeing raw html on the preview page and I don't understand why - it only affects the original product description - not your extra fields but I didn't merge the files, I used your file in it's entirety.
I am also getting Error: Destination does not exist product_extra_files after I try and load a file. The directory does exist - but where is it looking for it - my directory exists in the store root - is that correct? Or should it be somewhere else?
Totally Zenned
kbear:
Actually, I've sorted the second part now - there must have been a little bit of formatting left in the field.
However, I am just seeing raw html on the preview page and I don't understand why - it only affects the original product description - not your extra fields but I didn't merge the files, I used your file in it's entirety.
I am also getting Error: Destination does not exist product_extra_files after I try and load a file. The directory does exist - but where is it looking for it - my directory exists in the store root - is that correct? Or should it be somewhere else?
None of that makes any sense - the raw html certainly shouldn't show - but do you mean only a bit of it showing or the whole thing? The preview is certainly not the important thing in this. If you confirm the changes, does the actual product page look okay?
If you put the product_extra_files in the root directory - there would be no problem but if your store is not in the root directory and is in a folder instead, then I made a goof. So let me know which is the case.
New Zenner
Sorry Delia
Forgot to check the box that says 'tell me when there's a reply' or whatever.
It's the preview box that it's doing it in - and yes I agree it doesn't make any sense, But yes the text is perfectly formatted on the product page. I'm not fighting it - it just seems bizarre and I can't see a reason for it.
Yes this particular website is in a subfolder of the root. I have another website which runs in root. Having said that, I may well want to use this mod on that site as well and I can see no reason why they shouldn't share the same resources. I'll get back to you if it solves the problem
I'm actually looking at writing some code which will split your fields up on to separate tabs - I fancy having the standard description as the first tab, your large text field as the second and the links on a third - is there anything I need to look out for in terms of potential 'gotcha's' if I do?
Totally Zenned
kbear:
Sorry Delia
I'm actually looking at writing some code which will split your fields up on to separate tabs - I fancy having the standard description as the first tab, your large text field as the second and the links on a third - is there anything I need to look out for in terms of potential 'gotcha's' if I do?
Nope because it actually can be done very easily with css and maybe a bit of javascript - it's set as an unordered list which is a nice start for that kind of thing.
New Zenner
This just isn't behaving well for me Delia. I can't seem to get the preview page right and it doesn't seem to make a difference where I put the directory, it still says it doesn't exist.
If I go into the db and add the name of the file manually, it then finds it OK
Is there anything I can check in the files to make sure I have the latest version? I can't believe I have anything different than your thousands of happy customers but I am using your files as they come out of the packet, there are no mods mixed in with them
John
Zen Follower
@Delia
Do youthink it is possible to have instead of text (as extra description link) but an image like in this image: and the by clicking the image it takes you to the extra description page or pdf?
Do you think it is possible to tweak your awesome plugin to have an iframe to pop up once you click instead of going on a new page?
Sort of like this:
Totally Zenned
John, sorry, I missed getting any notices about your reply in July. Don't know what to tell you about your problems.
Alepia, anything changes like are certainly possible. The original reason for the mod was a request from a customer who wanted to be able to upload pdfs more than anything else. When I've installed it for clients, I changed it for all sorts of purposes.
New Zenner
This is a nice and mod, but I can not find any instructions how to uninstall it.
Any help is greatly appreciated.
Totally Zenned
You just have to upload the same files from a default installation. The database changes do not affect the default cart and leaving the table that's been created is not a big deal.
New Zenner
Alright. Thank you so much.
New Zenner
Hello, Deila:
I just installed the Extra Field add-on on my 1.5 zencart.
There is an Extra Field in admin area, but none appears in online catalog.
Would you mind show me the right direction?
I installed sql patch and uploaded all files.
Thank you.
New Zenner
oh, found a mistake - template was not named properly.
thanks.
Totally Zenned
Did you notice that this mod is for 1.3.9? I have not yet uploaded the updated version for 1.5.
New Zenner
Hi Delia,
Unfortunately I tried to install the plugin for ZenCart 1.3.8 before I realized there was a version for 1.3.9. I am running 1.3.9.
Now when I try to update a product I get the following error:
1146 Table 'frogzski_znc1.znc_product_extra_description_extra' doesn't exist
in:
[update znc_product_extra_description_extra set products_code = null, file_1 = null, file_2 = null, file_3 = null, file_4 = null, file_1_title = null, file_2_title = null, file_3_title = null, file_4_title = null where products_id = '163']
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.
How can I fix this??
Thanks!
Totally Zenned
The same as any mod - go back thru and reupload the files in the mod from a fresh version of your old vulnerable cart - time to upgrade!
New Zenner
Thanks for responding!
Ok, still getting the same error. Any suggestions?
Totally Zenned
You haven't replaced all the files. Still have something from the mod installed.
Fields marked required must be completed.
Tell staff why this post should be reviewed.