Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010
    Posts
    28
    Plugin Contributions
    0

    Default Duplicate definitions

    I downloaded zen-cart-v1.5.6a-01042019.zip and try to translate for updating.
    It seems that the file has duplicate definitions.

    \zen-cart-v1.5.6a-01042019\admin\includes\languages\english\attributes_controller.php

    line 89-95
    define('TEXT_ATTRIBUTES_FLAGS','Attribute Flags:');
    define('TEXT_ATTRIBUTES_DISPLAY_ONLY', 'Used For<br />Display Purposes Only:');
    define('TEXT_ATTRIBUTES_IS_FREE', 'Attribute is Free<br />When Product is Free:');
    define('TEXT_ATTRIBUTES_DEFAULT', 'Default Attribute<br />to be Marked Selected:');
    define('TEXT_ATTRIBUTE_IS_DISCOUNTED', 'Apply Discounts Used<br />by Product Special/Sale:');
    define('TEXT_ATTRIBUTE_PRICE_BASE_INCLUDED','Include in Base Price<br />When Priced by Attributes');
    define('TEXT_ATTRIBUTES_REQUIRED','Attribute Required<br />for Text:');


    line 178-184
    define('TEXT_ATTRIBUTES_FLAGS', 'Attribute Flags:');
    define('TEXT_ATTRIBUTES_DISPLAY_ONLY', 'Used For Display Purposes Only:');
    define('TEXT_ATTRIBUTES_IS_FREE', 'Attribute is Free When Product is Free:');
    define('TEXT_ATTRIBUTES_DEFAULT', 'Default Attribute to be Marked Selected:');
    define('TEXT_ATTRIBUTE_IS_DISCOUNTED', 'Apply Discounts Used by Product Special/Sale:');
    define('TEXT_ATTRIBUTE_PRICE_BASE_INCLUDED', 'Include in Base Price When Priced by Attributes');
    define('TEXT_ATTRIBUTES_REQUIRED', 'Attribute Required for Text:');

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,699
    Plugin Contributions
    123

    Default Re: v156a Duplicate definitions

    Thanks for reporting this. Submitted as PR https://github.com/zencart/zencart/pull/2115
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. v151 Duplicate credit card charges, duplicate admin emails
    By ATLowther in forum General Questions
    Replies: 2
    Last Post: 14 May 2018, 02:09 AM
  2. v151 Definitions of controls
    By mespe in forum General Questions
    Replies: 5
    Last Post: 30 Dec 2014, 10:51 AM
  3. Can I Duplicate my Zone Definitions?
    By dealbyethan.com in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 23 Dec 2009, 09:57 AM
  4. Duplicate description and duplicate subcategory etc
    By fajmp in forum General Questions
    Replies: 32
    Last Post: 9 Sep 2008, 01:44 AM
  5. [duplicate report] Duplicate option values in admin
    By joystick in forum Bug Reports
    Replies: 3
    Last Post: 6 Mar 2008, 02:54 AM

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