Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2011
    Posts
    135
    Plugin Contributions
    0

    Default ATTRIBUTES_PRICE_DELIMITER_PREFIX problem again

    When I add an attribute with a price I get the extra text in the attribute of
    "ATTRIBUTES_PRICE_DELIMITER_PREFIX " etc

    Ive looked around and have found this is a known problem and the fix is to add this code to a couple of language files-

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

    But that code is already in the language files. I read that the template folder in the english folder can also be a location for these but they arent there, I even tried added them to that folder but it made no difference.

    So what do I need to do to get attributes working with a price attached?

    I work on many 1.39h sites and have never had this issue before...

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

    Default Re: ATTRIBUTES_PRICE_DELIMITER_PREFIX problem again

    The language defines are in each Product Type:
    /includes/languages/english/product_info.php
    /includes/languages/english/product_free_shipping_info.php
    /includes/languages/english/product_music_info.php

    etc. etc.


    So if using Templates and Overrides, you need to check that they are also in the files:
    /includes/languages/english/your_template_dir/product_info.php
    /includes/languages/english/your_template_dir/product_free_shipping_info.php
    /includes/languages/english/your_template_dir/product_music_info.php

    etc. etc.
    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!

  3. #3
    Join Date
    Sep 2011
    Posts
    135
    Plugin Contributions
    0

    Default Re: ATTRIBUTES_PRICE_DELIMITER_PREFIX problem again

    THANKS!
    This was a free shipping product I think that was why I didnt find the solution.

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

    Default Re: ATTRIBUTES_PRICE_DELIMITER_PREFIX problem again

    Thanks for the update that you were able to fix the missing define ...
    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. v139c Attributes_price_delimiter_prefix
    By kitu in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 May 2012, 09:42 PM
  2. Attributes problem "ATTRIBUTES_PRICE_DELIMITER_PREFIX"
    By ADWheeler in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 4 Feb 2011, 10:03 PM
  3. 10413 problem again
    By alan145 in forum PayPal Express Checkout support
    Replies: 20
    Last Post: 8 Nov 2010, 10:37 AM
  4. How to remove ATTRIBUTES_PRICE_DELIMITER_PREFIX+ ATTRIBUTES_PRICE_DELIMITER_SUFFIX ?
    By Liz01 in forum Setting Up Categories, Products, Attributes
    Replies: 12
    Last Post: 20 Nov 2009, 01:42 PM
  5. Multiple Images Problem ... Again
    By cyberoidx in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 Jul 2008, 06:03 PM

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