Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    282
    Plugin Contributions
    3

    Default USPS - I want to add informational text about duties and taxes

    I currently have USPS only available for international addresses, I have already modified it so when USPS is not available (US orders) it shows "NOTE: USPS shipping is currently only available for orders shipped outside of the US."
    I would like to I would like to add text on the inside of the USPS shipping option ( under the shipping options ) box for the international orders that says "Customers are responsible for any and all import taxes and or duty's on products ordered."
    How and where would I put this inside the usps.php?
    THX
    Mike

  2. #2
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    282
    Plugin Contributions
    3

    Default Re: USPS - I want to add informational text about duties and taxes

    Ok so changing this:
    Code:
    function usps() {
        global $order, $db, $template, $current_page_base;
    
        $this->code = 'usps';
        $this->title = MODULE_SHIPPING_USPS_TEXT_TITLE;
        $this->description = MODULE_SHIPPING_USPS_TEXT_DESCRIPTION;
        $this->sort_order = MODULE_SHIPPING_USPS_SORT_ORDER;
        $this->icon = $template->get_template_dir('shipping_usps.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'shipping_usps.gif';
        $this->tax_class = MODULE_SHIPPING_USPS_TAX_CLASS;
        $this->tax_basis = MODULE_SHIPPING_USPS_TAX_BASIS;
    to this:
    Code:
    function usps() {
        global $order, $db, $template, $current_page_base;
    
        $this->code = 'usps';
        $this->title = MODULE_SHIPPING_USPS_TEXT_TITLE;
        $this->description = MODULE_SHIPPING_USPS_TEXT_DESCRIPTION;
        $this->sort_order = MODULE_SHIPPING_USPS_SORT_ORDER;
        $this->icon = $template->get_template_dir('shipping_usps.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'shipping_usps.gif';
        $this->tax_class = MODULE_SHIPPING_USPS_TAX_CLASS;
        $this->tax_basis = MODULE_SHIPPING_USPS_TAX_BASIS;
    	$this->print = 'NOTE: Customer is responsible for all import taxes and/or duties on products purchased'
    DOES NOT work... it just brings up the no shipping for your zip code error... guess I'll try something else!

  3. #3
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    282
    Plugin Contributions
    3

    Default Re: USPS - I want to add informational text about duties and taxes

    Well I got it to show up by changing the checkout_shipping.php from this:

    Code:
    define('TEXT_CHOOSE_SHIPPING_METHOD', 'Please select the preferred shipping method to use on this order.');
    To this:

    Code:
    define('TEXT_CHOOSE_SHIPPING_METHOD', 'Please select the preferred shipping method to use on this order. <br /><br /><strong>NOTE:</STRONG>&nbsp;Customer is responsible for all import taxes and/or duties on products purchased.');
    I really wanted this to only show up for international orders, not all of the time, but I can't figure that one out...

  4. #4
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: USPS - I want to add informational text about duties and taxes

    I too am trying to accomplish the same thing.

    Funny thing is that
    TEXT_CHOOSE_SHIPPING_METHOD
    used to show only for USA address

    and
    TEXT_ENTER_SHIPPING_INFORMATION
    used to show for for international addresses.

    For some reason it stopped working lately.
    TEXT_CHOOSE_SHIPPING_METHOD shows for both.

  5. #5
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    282
    Plugin Contributions
    3

    Default Re: USPS - I want to add informational text about duties and taxes

    sb-
    What other changes have you made lately? Updates?
    Likely something that you installed or changed caused this to happen. For example I installed a SEO mod and tons of my other MOD's stopped working... It's been just a blast getting everything back up.
    For that reason I keep a copy of my store as a test_store to make ANY and ALL changes to first, to make sure it works.

  6. #6
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: USPS - I want to add informational text about duties and taxes

    I certainly have a test store, but did not see this until today.

    Weeks ago I installed the FedEx module. It's hard to say when this actually stopped displaying as it would help me pinpoint any changes in the past several weeks.

    We have another code writer that works in the store as well. There could have been something there too.

    Anomoly.

  7. #7
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    282
    Plugin Contributions
    3

    Default Re: USPS - I want to add informational text about duties and taxes

    Quote Originally Posted by sbbemn View Post
    Anomoly.
    Quite possibly... As far as I can tell, looking into it a little further the TEXT_CHOOSE_SHIPPING_METHOD has always shown up for both US and International in my setups...

  8. #8
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: USPS - I want to add informational text about duties and taxes

    O.k.

    I checked back on a backup file from 7 months ago -
    includes/templates/yourtemplate/templates/tpl_checkout_shipping_default.php

    Same code. I know I'm not crazy - it worked before. The way it is currently set up is that FREE Shipping displays TEXT_ENTER_SHIPPING_INFORMATION that is if all items in the cart are free shipping. Here's the code:

    <?php
    if (sizeof($quotes) > 1 && sizeof($quotes[0]) > 1) {
    ?>

    <div id="checkoutShippingContentChoose" class="important"><?php echo TEXT_CHOOSE_SHIPPING_METHOD; ?></div>

    <?php
    } elseif ($free_shipping == false) {
    ?>
    <div id="checkoutShippingContentChoose" class="important"><?php echo TEXT_ENTER_SHIPPING_INFORMATION; ?></div>

    <?php
    }
    ?>

    So.......
    <?php
    } elseif ($free_shipping == false) {
    ?>


    Shouldn't false mean that it does not display? THe next code states if true, "echo FREE_SHIPPING_TITLE;" etc.

    When the code gets to elseif , then "based on a specified zone" echo TEXT_ENTER_SHIPPING_INFORMATION;

    on the right track?

 

 

Similar Threads

  1. Looking for best way to add pics to informational pages
    By BuddyS in forum General Questions
    Replies: 1
    Last Post: 15 Nov 2015, 02:37 AM
  2. I want to add text below additional images
    By spiritcraft in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 26 Feb 2011, 11:06 PM
  3. Want to add USPS icon to Zone Rates <legend>
    By 524cw in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 2 Dec 2010, 06:43 AM
  4. Want to add text to a sidebox.
    By stevemax in forum Basic Configuration
    Replies: 0
    Last Post: 13 Jan 2009, 07:28 PM
  5. Collecting international duties and taxes
    By d78 in forum General Questions
    Replies: 1
    Last Post: 18 Oct 2008, 09:09 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