osCmax v2.5 User Manual
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

text field product option

This is a discussion on text field product option within the osCMax v1.7 General Mods Discussion forums, part of the osCmax v1.7 Forums category; I've used osCommerce for years - this is my first ocMax installation. I know many, many people have used the ...

      
  1. #1
    New Member
    Join Date
    Jan 2005
    Posts
    6
    Rep Power
    0


    Default text field product option

    I've used osCommerce for years - this is my first ocMax installation.
    I know many, many people have used the product attribute text option for personalization. What am I doing wrong?? I can't get the option information passed to the order from the shopping cart.

    Any help is greatly appreciated!

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: text field product option

    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Jan 2005
    Posts
    6
    Rep Power
    0


    Default RE: text field product option

    Thanks for the reply. I have already seen that post, and am using oscMax v1.7. The attributes make it into the basket fine - but they are not carried through to the order table.

    I have it working on standard osCommerce with the contribution...

  4. #4
    Member
    Join Date
    Dec 2004
    Posts
    75
    Rep Power
    8


    Default Same problem here...

    This is major - we're just getting our store opened up and realized the text fields are not being recorded. The post referenced does not address this issue. All text entered disappears from the cart during checkout and does not get passed to the database - what is going on?
    Brian Neuman
    Webmaster
    www.honeybeadjewelry.com

  5. #5
    Member
    Join Date
    Dec 2004
    Posts
    75
    Rep Power
    8


    Default Think i've solved it...

    Okay, here's the deal.

    #1 There was a misspelling in my catalog/includes/configure.php. the line looked like this (at the bottom of the file in mine):

    define('PPRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); //Must match id for user defined "TEXT" value in db table TABLE_PRODUCTS_OPTIONS_VALUES

    See the double P's in PPRODUCTS? Deleting the duplication allows the text value the customer entered to be passed to checkout/admin/email confirmation and so on. However, the text field definition is still omitted. For example, my form says "Enter custom size:". If they enter "8 inches", the checkout/email/admin order will show ":8 inches".

    #2 I believe the problem lies with the attribute manager. In order for the check box to be available in attribute manager, I entered some default text when setting up attributes. So for "Enter custom size:", I entered "Custom Size" in the admin under Option Values - I believe this to be the wrong procedure. The note next to the line I fixed above says the OPTIONS_VALUES must match the id for user defined TEXT. When you enter a default value for each of these attributes like I did, they end up with different id's.

    So, the fix is to reset all of my text fields to point to the same Option Value, "TEXT" which will all have the same id (in my case, 0). I think I'll do this via PHPadmin - but I've got a lot of products to change!

    In the future, you cannot use the attribute manager to assign text fields to products - they have to be assigned from the bottom of the Product Attributes in admin - this is the old way, prior to attribute manager.

    Does the guru agree with this?
    Brian Neuman
    Webmaster
    www.honeybeadjewelry.com

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Same problem here... Here is the fix

    Not major. A glitch was introduced in one of the updates. The fix is attached here and is just a couple of lines of code.

    The file checkout_process.php is the only one that needs to be modified. You can either overwrite your existing file or compare the attached file to your existing one and merge the changes manually. I recommend doing it manually, as there are several different versions floating around out there.

    This has also been updated in the main osCMax 1.7 download as of this post.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Same problem here... Here is the fix

    bdneuman,

    It looks like you have a couple of things going on in addition to the bugfix I posted.

    Before you change anything, incorporate the bugfix and see if that fixes your issue. It worked for my test store without changing anything else.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  8. #8
    Member
    Join Date
    Dec 2004
    Posts
    75
    Rep Power
    8


    Default Corrupt download...

    The zipfile is corrupt...

    I'm just sitting here going through my attributes and products_options_values_to_products_options tables setting all my text fields option_values to "0". I'll hold up until I can check out your fix...be great if it works!

    Thanks.
    Brian Neuman
    Webmaster
    www.honeybeadjewelry.com

  9. #9
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Corrupt download...

    The zip is not corrupt. I just downloaded it and opened it and it works fine.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  10. #10
    Member
    Join Date
    Dec 2004
    Posts
    75
    Rep Power
    8


    Default Hmmm...

    I tried winzip and winrar and i keep getting this:

    ! Unexpected end of archive
    Brian Neuman
    Webmaster
    www.honeybeadjewelry.com

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Need to add input text field in product attributes
    By bethphilbin in forum osCommerce 2.2 Modification Help
    Replies: 15
    Last Post: 08-07-2006, 07:48 PM
  2. no text field in attributes - please help!
    By johnr3 in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 05-16-2006, 09:47 AM
  3. TEXT Product Option Attribute Broken Out of the Box?
    By chageman in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 09-13-2005, 01:03 AM
  4. product attribute text option question
    By SkidMark in forum osCMax v1.7 General Mods Discussion
    Replies: 5
    Last Post: 04-29-2005, 10:46 AM
  5. 2 questions (STMP & text field under New products)
    By dunik in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 03-25-2005, 03:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •