Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: How to remove ATTRIBUTES_PRICE_DELIMITER_PREFIX+ ATTRIBUTES_PRICE_DELIMITER_SUFFIX

Started 1 month, 1 week ago by Liz01
How do you remove the extra text that is on the attributes. ATTRIBUTES_PRICE_DELIMITER_PREFIX+ ATTRIBUTES_PRICE_DELIMITER_SUFFIX I am using version1.3.8, I am new to zencart and have been playing with it but can not get it to change to just the amount I want to add.
Site: Zen Cart Support  Zen Cart Support - site profile
Forum: Attributes - Product Options   Attributes - Product Options   - forum profile
Total authors: 4 authors
Total thread posts: 13 posts
Thread activity: no new posts during last week
Domain info for: zen-cart.com

Other posts in this thread:

Ajeh replied 1 month, 1 week ago
These should be defined in your language files, per Product type, for example: /includes/languages/english/product_info.php However, if those are remove, missing or commented out you will see the CONSTANT rather than the defined value ... Check and see if your language files are out of date, damaged etc.

Liz01 replied 1 month, 1 week ago
The language file is mostly dated 2005, 2006, 2007. Where do I find a update for them and which ones do I need to update? Oh by the way, thank you very much for replying.

Ajeh replied 1 month, 1 week ago
First, try switching to the Classic Template ... does this take away the constants? If so, then compare the original language files to your templates and overrides language files ... If not, get a clean Zen Cart v1.3.8 and compare the language files to see where you are missing the definitions ... A program such as Beyond Compare from scootersoftware.com would help you with the ...

Liz01 replied 1 month, 1 week ago
I forgot to add something, it only does this when I add a price to the attributes. When I only have like a color it does not show up like that.

stevesh replied 1 month, 1 week ago
As Ajeh suggested, switch to the Classic template and see if the problem goes away. If so, then your product_info.php file in your custom template is corrupted or has been edited improperly. You can copy a new version from a new Zencart zip file. The problem only shows up when you add a price because those are the constants which deal with prices.

Liz01 replied 1 month, 1 week ago
Okay I changed it back to the classic one and it still did the same thing. Do I need to just upload that one file or do I need to upload everything again.

Ajeh replied 1 month, 1 week ago
You appear to be missing language definitions, example: Quote: /includes/languages/english/document_ge neral_info.php Line #42 : define('ATTRIBUTES_PRICE_DELIMITER_PREFIX', ' ( '); Quote: /includes/languages/english/document_pr oduct_info.php Line #42 : define('ATTRIBUTES_PRICE_DELIMITER_PREFIX', ' ( ');...

Liz01 replied 1 month, 1 week ago
I tried to compare them using the software you told me to and it could not read a php file.

Liz01 replied 1 month, 1 week ago
okay I uploaded a new language file and it still doing the same thing.

Liz01 replied 1 month, 1 week ago
Thank you everyone for your help. I finally got it.

 

Top contributing authors

Name
Posts
Liz01
7
user's latest post:
How to remove...
Published (2009-11-16 23:18:00)
Thank you everyone for your help. I finally got it.
Ajeh
4
user's latest post:
How to remove...
Published (2009-11-17 00:45:00)
What was the solution that finally worked for you?
stevesh
1
user's latest post:
How to remove...
Published (2009-11-14 11:58:00)
As Ajeh suggested, switch to the Classic template and see if the problem goes away. If so, then your product_info.php file in your custom template is corrupted or has been edited improperly. You can copy a new version from a new Zencart zip file. The problem only shows up when you add a price because those are the constants which deal with prices.
kobra8
1
user's latest post:
How to remove...
Published (2009-11-20 13:42:00)
I had this problem and solved it in the following steps: In: /incudes/languages/english/ document_general_info.php document_product_info.php product_free_shipping_info.php product_info.php product_music_info.php Put the code in line 46 as Ajeh explain define('ATTRIBUTES_PRICE_DELIMITER_PREFIX', ' '); End Put the code in line 47 define('ATTRIBUTES_PRICE_DELIMITER_SUFFIX', ' ');

Related threads on "Zen Cart Support":

Related threads on other sites:

Thread profile page for "How to remove ATTRIBUTES_PRICE_DELIMITER_PREFIX+ ATTRIBUTES_PRICE_DELIMITER_SUFFIX" on http://www.zen-cart.com. This report page is a snippet summary view from a single thread "How to remove ATTRIBUTES_PRICE_DELIMITER_PREFIX+ ATTRIBUTES_PRICE_DELIMITER_SUFFIX", located on the Message Board at http://www.zen-cart.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity