Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2007
    Posts
    5
    Plugin Contributions
    0

    Default [Not a Bug] Products_options_values_text_id

    In the configuration table, I see the value of PRODUCTS_OPTIONS_VALUES_TEXT_ID as 0. However, the value of PRODUCT_OPTIONS_TYPE_TEXT is 1 so shouldn't PRODUCTS_OPTIONS_VALUES_TEXT_ID also be equal to 1? Or am I not understanding the purpose of PRODUCTS_OPTIONS_VALUES_TEXT_ID.

    Changing PRODUCTS_OPTIONS_VALUES_TEXT_ID to 1 results in the word "TEXT" showing up in the checkout cart if the product had a filled in TEXT attribute. I'm guessing this was done to truncate a potentially long text value in the cart???

    Anybody have any ideas as to if PRODUCTS_OPTIONS_VALUES_TEXT_ID should really be 0 or 1 and what the larger implications are?

    I'm new and came across this as I was trying to add a new type of product_option. Thanks

    Edit: A new install of 1.3.7 without any other patches.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Products_options_values_text_id

    The value 0 is put in by default for management of the TEXT attribute ... that belongs there ... do not remove it ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Products_options_values_text_id

    NOTE: the difference
    PRODUCTS_OPTIONS_VALUES_TEXT_ID
    PRODUCT_OPTIONS_TYPE_TEXT

    two different animals but related ...

    If you mix up values there will be a problem ...

    Browse the table: products_options_types

    That shows the values for each Option Name type ...

    Browse the table: products_options_values

    Notice the first one has TEXT set to 0 that is physically set by use to that value ...

    Hope this helps ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Oct 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: [Not a Bug] Products_options_values_text_id

    Ahhhh..... thanks, that makes more sense.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 24 Jul 2010, 01:06 PM
  2. [NOT A BUG] Minor bug in account edit template
    By jdcncsolutions in forum Bug Reports
    Replies: 3
    Last Post: 2 May 2010, 01:37 AM
  3. Replies: 7
    Last Post: 23 Jul 2009, 08:51 PM
  4. [Not a bug] Don't know if this is a bug or not
    By CCTVSupply2000 in forum Bug Reports
    Replies: 8
    Last Post: 7 May 2007, 05:28 AM
  5. [Not a Bug] EZ-Page Links IE bug when first clicking
    By NamSingh in forum Bug Reports
    Replies: 11
    Last Post: 25 Dec 2006, 03:40 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR