Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2006
    Posts
    109
    Plugin Contributions
    0

    help question Error when add +$ to attribute

    I am getting this code when I put +5 to be added to a product

    6ft by 1 inchATTRIBUTES_PRICE_DELIMITER_PREFIX+$5.00ATTRIBUTES_PRICE_DELIMITER_SUFFIX

    why the heck is it doing that?
    anyone?

    thanks :)

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Error when add +$ to attribute

    What characters are you typing into the input field?

    If you want PLUS five dollars, then simply enter:

    5.0000

    into the field... No dollar sign, no + sign, just:

    5.0000

  3. #3
    Join Date
    Aug 2006
    Posts
    109
    Plugin Contributions
    0

    Default Re: Error when add +$ to attribute

    when I enter it into the attributes I put the 5 into the price area

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

    Default Re: Error when add +$ to attribute

    This looks like you are missing the language define statements for:
    ATTRIBUTES_PRICE_DELIMITER_PREFIX
    ATTRIBUTES_PRICE_DELIMITER_SUFFIX

    These belong in each of the language files for the product types, example:
    /includes/languages/english/product_info.php

    Line #42 : define('ATTRIBUTES_PRICE_DELIMITER_PREFIX', ' ( ');
    /includes/languages/english/product_info.php

    Line #43 : define('ATTRIBUTES_PRICE_DELIMITER_SUFFIX', ' )');
    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!]
    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!

  5. #5
    Join Date
    Aug 2006
    Posts
    109
    Plugin Contributions
    0

    Default Re: Error when add +$ to attribute

    Linda
    thank you so much :)
    not sure why those were missing but they were :)

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

    Default Re: Error when add +$ to attribute

    Thanks for the update that you were just missing the defines on those constants ...

    Rule of thumb is, if you see it in ALL_CAPS then most likely there is a define statement of a constant missing from one of the language files ...
    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!]
    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!

 

 

Similar Threads

  1. v155 Attribute controller - error message when adding attribute values
    By rustwood in forum General Questions
    Replies: 8
    Last Post: 11 Jul 2016, 10:26 PM
  2. Replies: 3
    Last Post: 28 Aug 2012, 07:31 AM
  3. Error when trying to copy attribute
    By scoutdog in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 6 Sep 2006, 03:44 AM
  4. attribute error when adding to cart
    By newagekat in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 8 Jul 2006, 02:08 AM
  5. attribute error when adding to cart
    By newagekat in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Jul 2006, 05:40 AM

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