Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default How to show Low Order Fee in shopping cart?

    Hi!

    I have an order minimum of $50 with a $10 fee. Currently, this fee does not show up until near the end of the checkout process.

    I can find the file that controls the fee (/includes/modules/order_total/ot_loworderfee.php) but I'm not sure which file controls the shopping cart display... nor do I have any clue what to insert into the cart file to reflect that fee.

    I can see that similar questions have been asked, but I have not found the answer. Sorry if this is a repeat or in the wrong place!

    Can someone please point me in the right direction?

    Thanks,
    Mike

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

    Default Re: How to show Low Order Fee in shopping cart?

    You could test the shopping cart total to the MODULE_ORDER_TOTAL_LOWORDERFEE_ORDER_UNDER and if lower then tell the customer there will be a fee of MODULE_ORDER_TOTAL_LOWORDERFEE_FEE ...

    NOTE: you should also review the module for Virtual Products and Gift Certificates ...
    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
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default Re: How to show Low Order Fee in shopping cart?

    Hi Ajeh,

    Thanks for pointing me in the right direction.

    Unfortunately, I barely know enough about php to perform an easy find/replace change. I can't even write a simple if/then routine like the one you suggest.

    In case others come along later, this is what I did:
    1. Open the file /includes/languages/english/shopping_cart.php
    2. Find this statement:
    define('HEADING_TITLE', 'Your Shopping Cart Contents');
    3. Replace with this:
    define('HEADING_TITLE', 'Your Shopping Cart Contents<h4><span style="color: #ff0000;"><strong>NOTE:</strong> $10 Order Minimum charge will be added to orders under $50.</span></h4>');

    This is far from ideal, but what it does is put an ALERT IN RED at the top of your shopping cart page. So now when your customer adds something to the cart, they will be given notice.

    This is far from ideal because the ALERT is always there, no matter what the value of the cart content is. Ideally, the alert would only be shown until the minimum is reached.

    If someone figures out how to write the routine suggested by Ajeh, would you please post it in here?

    Thanks!

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

    Default Re: How to show Low Order Fee in shopping cart?

    You could try something like this in the language file:
    Code:
    //define('HEADING_TITLE', 'Your Shopping Cart Contents');
    define('HEADING_TITLE', (MODULE_ORDER_TOTAL_LOWORDERFEE_ORDER_UNDER > $_SESSION['cart']->show_total() ? 'Your Shopping Cart Contents<h4><span style="color: #ff0000;"><strong>NOTE:</strong> ' . $currencies->format(MODULE_ORDER_TOTAL_LOWORDERFEE_FEE) . ' Order Minimum charge will be added to orders under ' . $currencies->format(MODULE_ORDER_TOTAL_LOWORDERFEE_ORDER_UNDER) . '. </span></h4>' : 'Your Shopping Cart Contents'));
    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!

  5. #5
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default Re: How to show Low Order Fee in shopping cart?

    YAHOO!!!

    That worked like a dream!!!!!


    Thank you so much, Linda! Wonder Woman to the rescue!

    BTW, last night I signed up to buy you guys some coffee every month. I hope lots of other ZC users who benefit from all this free help do the same.

    Thanks again!

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

    Default Re: How to show Low Order Fee in shopping cart?

    Thanks for the update that this works for you and thanks for the monthly support ... it really helps us to provide you with the best free support and free ecommerce software ...
    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. Low Order Fee
    By loaner in forum General Questions
    Replies: 3
    Last Post: 10 Sep 2011, 12:50 AM
  2. Low Order Fee in Cart
    By ryanb4614 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Jan 2010, 06:58 AM
  3. low order fee
    By CCD in forum Managing Customers and Orders
    Replies: 2
    Last Post: 15 Nov 2007, 07:12 AM
  4. How do I change Low Order Fee display?
    By dmungia in forum General Questions
    Replies: 1
    Last Post: 8 Nov 2007, 08:30 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