Results 1 to 5 of 5
  1. #1
    Join Date
    May 2007
    Posts
    23
    Plugin Contributions
    0

    Default How to edit text for minimum order mod?

    Hello, I installed a minimum order mod found at http://www.modyourzencart.com/free-o...n-order-amount



    How can I change this text (TWENTY_DOLLAR_MINIMUM_ORDER_PLEASE_) to $20 Minimum order please. And instead of burgandy change the notification area red.

    I was messing around with tpl_shopping_cart_default.php

    <?php // BOF MIN ORDER AMOUNT
    if ($_SESSION['cart']->total < MIN_ORDER_AMOUNT) {?>
    <div class="messageStackError"><?php echo sprintf(TWENTY_DOLLAR_MINIMUM_ORDER_PLEASE, $currencies->format(MIN_ORDER_AMOUNT)); ?></div>

    Every time a I take out the under scores or try to add $20 in the line I get an error message on my websites shopping cart content display.

    Does anyone know a solution for this.

    Thank you

  2. #2
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: How to edit text for minimum order mod?

    In your includes/languages/english/your_template/shopping_cart.php file,

    find:

    PHP Code:
    define('TABLE_HEADING_REMOVE''Remove'); 
    add right below:

    PHP Code:
    define('TWENTY_DOLLAR_MINIMUM_ORDER_PLEASE'CURRENCY_SYMBOL '20 minimum order please'); 
    This should work as expected.

  3. #3
    Join Date
    May 2007
    Posts
    23
    Plugin Contributions
    0

    Default Re: How to edit text for minimum order mod?

    Thank you, for your reply.

    I added the code that you provided but now is shows this in the shopping cart contents area

    CURRENCY_SYMBOL20 minimum order please

    How can I make it so that the $ show?

    Thank you

  4. #4
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: How to edit text for minimum order mod?

    Replace:

    PHP Code:
    define('TWENTY_DOLLAR_MINIMUM_ORDER_PLEASE'CURRENCY_SYMBOL '20 minimum order please'); 
    with:

    PHP Code:
    define('TWENTY_DOLLAR_MINIMUM_ORDER_PLEASE''$20 minimum order please'); 
    Simple as that.

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

    Default Re: How to edit text for minimum order mod?

    That did it. Thank you for all you help TheOracle.

 

 

Similar Threads

  1. How to add an instruction note (edit text) for a product?
    By mdhoang in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Jul 2015, 12:55 AM
  2. Replies: 8
    Last Post: 10 Apr 2012, 12:45 PM
  3. Anyone use Minimum Order Mod? Questions here...
    By mrssocolov in forum Addon Payment Modules
    Replies: 2
    Last Post: 15 Jun 2011, 07:37 PM
  4. Auction Mod: unable to edit minimum bid
    By coolscrapbook in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 12 Mar 2009, 12:36 PM
  5. where is text for order edit page status options
    By spjrr in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Aug 2008, 06:34 PM

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