♥multimixer Posted October 1, 2015 Share Posted October 1, 2015 Unfortunately I cannot upload it here because of the 300KB file limit so if anyone wants this PM me. If my PM box should be full and you can't reach me just post here in this thread. Why don't you upload it to the add ons area? burt 1 Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
♥Tsimi Posted October 1, 2015 Share Posted October 1, 2015 Done! http://addons.oscommerce.com/info/6818 Quote Link to comment Share on other sites More sharing options...
Irin Posted October 1, 2015 Share Posted October 1, 2015 I have a problem with product options being added twice to the database when order is placed and also showing twice in confirmation email, order details, invoices, etc. like this: Product Name- Options: Option #1 (+$1.50)- Options: Option #1 (+$1.50) I can't figure out what can be a problem here. Any help will be appreciated.Thanks. Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted October 2, 2015 Share Posted October 2, 2015 (edited) @@Irin What version of osCommerce are you using? Which version of Option Types did you install? Edited October 2, 2015 by Tsimi Quote Link to comment Share on other sites More sharing options...
Irin Posted October 2, 2015 Share Posted October 2, 2015 @@Tsimi I'm using osCommerce v2.3.4 with OptionTypes v2.1.3. Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted October 2, 2015 Share Posted October 2, 2015 @@Irin Try to download the latest version of Option Types v2 (http://addons.oscommerce.com/info/6818) which includes an install manual for osC 2.3.4. Take a look at it and compare it with your files see if the changes are the same. Version 2.3.1 was not perfectly working on a osC 2.3.4 shop. application_top.php is maybe a good place to start. Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted October 3, 2015 Share Posted October 3, 2015 Option Types BS now available! http://addons.oscommerce.com/info/9367 NOTE: This version is not compatible with normal osC 2.3.4! Quote Link to comment Share on other sites More sharing options...
Irin Posted October 21, 2015 Share Posted October 21, 2015 I compared my files with the ones from the contribution, and they seem to be very similar. I have no idea why product options double and where to look for a solution. Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted October 23, 2015 Share Posted October 23, 2015 (edited) ...and they seem to be very similar... very similar is not same. Why don't you use pastebin.com and show us for starters your application_top.php file. There are many files that need to be changed for this Addon to run and to bug hunt something like you have is not an easy task without looking at the code at least or better touching your files. P.S. When you use pastebin make sure it is setup to "unlisted", "no expire date" and coding language PHP. Once you uploaded your code it will provide you with an URL to that code, that URL you post here. Edited October 23, 2015 by Tsimi Quote Link to comment Share on other sites More sharing options...
Irin Posted October 26, 2015 Share Posted October 26, 2015 My oscommerce version is heavily modified with add-ons, and this makes it even harder to troubleshoot. Here is the link to my application_top.php file: http://pastebin.com/embed_js.php?i=kZ5ZVxsQ. Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted October 27, 2015 Share Posted October 27, 2015 (edited) @@Irin I just took a look at your file. Man those are a lot custom changes in there. Anyways, the code for the Option Types is correct and same as the one in the install manual. So the issue must be somewhere else then. You have something installed called qpbpp 2.0 (quantity price break per product, maybe?) could it be that something is not working properly there? Edited October 27, 2015 by Tsimi Quote Link to comment Share on other sites More sharing options...
Irin Posted December 27, 2015 Share Posted December 27, 2015 No, the qpbpp 2.0 works properly. Do you have any idea where else I could look for the problem? Thanks. Quote Link to comment Share on other sites More sharing options...
LeeFoster Posted January 10, 2016 Share Posted January 10, 2016 Does anyone know how to add the datepicker as an option on this? I've searched and not found anything. Quote Link to comment Share on other sites More sharing options...
fotogaaf Posted March 1, 2016 Share Posted March 1, 2016 (edited) @@TsimiThanks for http://addons.oscommerce.com/info/9367 Try to install, but................... 1) in Option Types v2 Install Instructions 2.3.4 BS catalog.txt you mention a change will be made in catalog/includes/database_tables.php 2) in Option Types v2 Install Instructions 2.3.4 BS admin.txt you mention a change wil be made in catalog/admin/includes/database_tables.php BUT both changes i cannot find in the manuals!!PLEASE advise and yes.....i did Run SQL file: OptionTypes v2 SQL.sql on your database Edited March 1, 2016 by fotogaaf Quote Link to comment Share on other sites More sharing options...
fotogaaf Posted March 1, 2016 Share Posted March 1, 2016 And i think i made an error. See image, i think the `option value` must be text, because i want the customer to fill in some numbers..... But i can´t check anything!Image url www.fotogaaf.eu/osc.jpg PLEASE advise Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted March 1, 2016 Share Posted March 1, 2016 (edited) @@fotogaaf Regarding the database_tables.php that could be a leftover from the old manual which I forgot to remove. Will check again to make sure and update the manual accordingly. Thanks. Regarding your second issue. What exactly are you trying to achieve? What do you want the customer to be able to do? Not sure since it's been a while, I will take a look today as soon I get back from work. Edited March 1, 2016 by Tsimi Quote Link to comment Share on other sites More sharing options...
fotogaaf Posted March 2, 2016 Share Posted March 2, 2016 @Tsimi Thanks . What i'm trying to achieve is simple: see my old shop : http://www.fotogaaf.eu/schoolfotograaf-shop/catalog/product_info.php/cPath/10/products_id/42 When a cusomer buys something, he/she HAS to fill in a photonumber ( i sell photo's :) )That is why i need a "text-field" where the cutomer can fill in the number! btw; in the old shop i used Option_Type_Feature_1.7.2-2.zip, but now i have to upgrade (see error message in the webshop), so thats how i found your add-on! Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted March 2, 2016 Share Posted March 2, 2016 Ok I see. I will be home soon and then I'll take a look at it. Just curious, why not use radio buttons? Give each radio button a number. Quote Link to comment Share on other sites More sharing options...
fotogaaf Posted March 2, 2016 Share Posted March 2, 2016 No radio buttons because there are thousends of numbers a customer can fill in ! Quote Link to comment Share on other sites More sharing options...
fotogaaf Posted March 2, 2016 Share Posted March 2, 2016 (edited) @Tsimi A little bit further....... 1) I see that my "option name" is blank ?? 2) i see an option ID 0 with option value CUSTOMER-INPUT ; this one i cannot delete ?? also not in te database ?? see image: http://www.fotogaaf.eu/osc2.jpg Mystery....maybe an idea to give you (in a PM :) ) my database logins ?? Edited March 2, 2016 by fotogaaf Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted March 2, 2016 Share Posted March 2, 2016 (edited) @@fotogaaf Hi Roy So I just took a look at it and there is nothing wrong with it at least not that I can see. Maybe setting up a text field might be a bit confusing since it doesn't work exactly same as radio buttons or dropdowns. Here is how I setup a text field as example. Under Product Options - Set Option Name -> Voer hier uw fotonummer in - Select Option type -> Text - Sort Order -> 1 - Value Length -> set here max length for the text field - Comments -> add comments here if needed - Click the + Insert button Under Option Values Nothing to do here. Just leave it as is. Do not try to delete ID 0 CUSTOMER-INPUT that is needed for all the text input fields. Under Products Attributes - Product Name -> Choose product that will have that text field - Option Name -> Select Voer hier uw fotonummer in from the drop down - Option Value -> ignore here and leave as is - Value Price/Prefix -> set price if needed - Sort order -> if only one field set to 1 - Click the + Insert button Now you should see a text input field on the product info page of that product that you chose. If you need to remove or delete that Option just delete it first from the Products Attributes section then from the Product Options section. Never delete the CUSTOMER-INPUT from the Option Values section otherwise all the text field options will not work anymore. Edited March 2, 2016 by Tsimi Quote Link to comment Share on other sites More sharing options...
fotogaaf Posted March 2, 2016 Share Posted March 2, 2016 (edited) @Tsimi Hi Lambros, thanks again for your time and answer. BUT...... I did get this far, but when i'm a customer i can't fill in anything ???!!See for example : http://www.fotogaaf.eu/schoolfotograaf-nederland-aanbieding-betaalbaar-prijs-actie-goedkoop/catalog/product_info.php/cPath/22/products_id/30(I made a test catagory with products 1,2 3 :) ) see image for my settings : http://www.fotogaaf.eu/osc3.jpg Edited March 2, 2016 by fotogaaf Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted March 2, 2016 Share Posted March 2, 2016 (edited) I see... there is definitely something wrong. The text field suppose to be empty of course. Here a screenshot of my test store. I hate to tell you but you will have to go over the install manual again and see if anything went wrong during the installation. Maybe a copy&paste error somewhere? It is hard to tell you what went wrong since I never had that issue. Edited March 2, 2016 by Tsimi Quote Link to comment Share on other sites More sharing options...
fotogaaf Posted March 2, 2016 Share Posted March 2, 2016 Wow.....that's to bad :( I don't think you have a clean install of osc-edge with this add-on included o:) Quote Link to comment Share on other sites More sharing options...
fotogaaf Posted March 2, 2016 Share Posted March 2, 2016 btw i used YOUR shopping_cart.php and YOUR products_attributes.php (66,3kb 1-10-2015-16:37) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.