Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Nov 2007
    Posts
    2
    Plugin Contributions
    0

    help question Weird Attributes error

    Hey guys,

    I've got a weird error while trying to setup attribute based pricing
    It shows up alright on the admin panel but when I implement it on the page it comes out such like this:
    https://www.tersusdirect.com/index.p...products_id=10
    15 GallonATTRIBUTES_PRICE_DELIMITER_PREFIX+$285.00ATTRIBUTES_PRICE_DELIMITER_SUFFIX ATTRIBUTES_WEIGHT_DELIMITER_PREFIX+95lbsATTRIBUTES_WEIGHT_DELIMITER_SUFFIX
    2.5 Gallon
    5 Gallon ATTRIBUTES_WEIGHT_DELIMITER_PREFIX+38lbsATTRIBUTES_WEIGHT_DELIMITER_SUFFIX
    Any idea what the cause for this could be, most other things that I encountered I managed to solve by searching the forum but this one doesn't seem to have been answered yet.

    tia,
    Peter

  2. #2
    Join Date
    Dec 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: Weird Attributes error

    I have the same error when in set the price of the 2-nd attribute +5 price. I have 2 bottle of liquid first is 200 ml and the 2nd is 500. The price when I buy the 500 ml bottle is right (15) but in the drop down menu it looks like ATTRIBUTES_PRICE_DELIMITER_PREFIX+5.00RONATT RIBUTES_PRICE_DELIMITER_SUFFIX

  3. #3
    Join Date
    Jan 2008
    Posts
    39
    Plugin Contributions
    0

    Default Re: Weird Attributes error

    I'm also having the same problem here. Could anyone help us from this? I checked all the language files and everything seems to have the ATTRIBUTES_PRICE_DELIMITER_PREFIX '(' thing... Thank you..

  4. #4
    Join Date
    Jan 2008
    Posts
    39
    Plugin Contributions
    0

    Default Re: Weird Attributes error

    found the answer.. check in the product_info.php and add in the following:

    define('ATTRIBUTES_PRICE_DELIMITER_PREFIX', ' ( ');
    define('ATTRIBUTES_PRICE_DELIMITER_SUFFIX', ' )');
    define('ATTRIBUTES_WEIGHT_DELIMITER_PREFIX', ' (');
    define('ATTRIBUTES_WEIGHT_DELIMITER_SUFFIX', ') ');

    *I put it after define('TEXT_PRODUCT_MODEL', 'Model: ');*

    Cheerz

  5. #5
    Join Date
    May 2007
    Posts
    471
    Plugin Contributions
    0

    Default Re: Weird Attributes error



    Thank you for sharing---just saved me lots of time I am sure!!!

  6. #6
    Join Date
    Aug 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Weird Attributes error

    Quote Originally Posted by mfashraf View Post
    found the answer.. check in the product_info.php and add in the following:

    define('ATTRIBUTES_PRICE_DELIMITER_PREFIX', ' ( ');
    define('ATTRIBUTES_PRICE_DELIMITER_SUFFIX', ' )');
    define('ATTRIBUTES_WEIGHT_DELIMITER_PREFIX', ' (');
    define('ATTRIBUTES_WEIGHT_DELIMITER_SUFFIX', ') ');

    *I put it after define('TEXT_PRODUCT_MODEL', 'Model: ');*

    Cheerz
    Thanks so much for sharing this! I was tearing my hair out! LOL

  7. #7
    Join Date
    Oct 2007
    Location
    North Carolina
    Posts
    98
    Plugin Contributions
    0

    Default Re: Weird Attributes error



    Thanks for this thread as I was also tearing my hair out about this.


  8. #8
    Join Date
    May 2005
    Location
    Leicester, UK
    Posts
    91
    Plugin Contributions
    0

    Default Re: Weird Attributes error

    Hi,
    Thanks for this. I'm running Zen Cart 1.3.8a & I'm surprised this is still an issue? Is this a bug or a feature?

    Eddie

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

    Default Re: Weird Attributes error

    It has never been a bug ... if you are missing definitions then you need to update your shop ...

    When upgrades are release there is code, definitions and database updates ...

    If not all are applied you will have a problem on your site ...
    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!

  10. #10
    Join Date
    Feb 2008
    Location
    Western Australia
    Posts
    192
    Plugin Contributions
    0

    Default Re: Weird Attributes error

    Woo hoo!!! mfashraf you're a bloomin legend!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Attributes Issue---Weird
    By timhersh in forum Customization from the Admin
    Replies: 9
    Last Post: 4 Nov 2011, 02:12 PM
  2. Weird error
    By SonyaT in forum General Questions
    Replies: 2
    Last Post: 21 Oct 2008, 08:10 PM
  3. weird error
    By Merlinpa1969 in forum General Questions
    Replies: 3
    Last Post: 23 Oct 2007, 09:32 PM
  4. Weird Error
    By Pablosan in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 17 Feb 2007, 04:35 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