Title: jonofat's Replies | WordPress.org

---

# jonofat

  [  ](https://wordpress.org/support/users/jonofat/)

 *   [Profile](https://wordpress.org/support/users/jonofat/)
 *   [Topics Started](https://wordpress.org/support/users/jonofat/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jonofat/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jonofat/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jonofat/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jonofat/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jonofat/favorites/)

 Search replies:

## Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Customize WordPress Emails and Alerts - Better Notifications for WP] HTML tags stripped out](https://wordpress.org/support/topic/html-tags-stripped-out/)
 *  [jonofat](https://wordpress.org/support/users/jonofat/)
 * (@jonofat)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/html-tags-stripped-out/#post-16197336)
 * I installed this plugin today and am having the same issue. All of my html is
   stripped out and the mail is not formatted properly when receiving it. Any ETA
   on a fix?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Change shipping cost based on checkout choice](https://wordpress.org/support/topic/change-shipping-cost-based-on-checkout-choice/)
 *  Thread Starter [jonofat](https://wordpress.org/support/users/jonofat/)
 * (@jonofat)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/change-shipping-cost-based-on-checkout-choice/#post-15736559)
 * Fair enough, could you possibly help with the below then since it is just WooCommerce
   with no plugin?
 * I have created a custom input on the checkout page and when I change it and click
   outside of it the shipping should update. It only works when sometimes and is
   a bit erratic. Is there anything obviously wrong here or something I can do to
   make it work consistently?
 *     ```
       add_action( 'woocommerce_after_order_notes', 'my_custom_checkout_field' );
   
       function my_custom_checkout_field( $checkout ) {
   
           echo '<div id="my_custom_checkout_field"><h2>' . __('My Field') . '</h2>';
   
           woocommerce_form_field( 'my_field_name', array(
               'type'          => 'text',
               'class'         => array('my-field-class form-row-wide'),
               'label'         => __('Fill in this field'),
               'placeholder'   => __('Enter something'),
               ), $checkout->get_value( 'my_field_name' ));
   
           echo '</div>';
   
       }
   
       add_filter( 'woocommerce_package_rates', 'update_shipping_cost_based_on_custom_field', 10, 2 );
       function update_shipping_cost_based_on_custom_field( $rates, $package ) {
   
           if ( ! $_POST || is_admin() || ! is_ajax() ) {
               return;
           }
   
           if ( isset( $_POST['post_data'] ) ) {
               parse_str( $_POST['post_data'], $post_data );
           } else {
               $post_data = $_POST;
           }
   
           $new_cost = 0;
   
           if ( isset( $post_data['my_field_name'] ) && ! empty( $post_data['my_field_name'] ) ) {
               $new_cost = (float) str_replace( ',', '.', $post_data['my_field_name'] );
           }
   
   
           foreach( $rates as $rate_key => $rate ) {
                $rates[$rate_key]->cost = $new_cost;
           }
           return $rates;
       }
   
       add_action( 'wp_footer', 'update_checkout' );
       function update_checkout() {
   
           if ( ! is_checkout() ) {
               return;
           }
   
           ?>
           <script type="text/javascript">
           jQuery( document ).ready(function( $ ) {
               jQuery('#my_field_name').change(function(){
                   jQuery('body').trigger('update_checkout');
               });
           });
           </script>
           <?php
       }
       ```
   
    -  This reply was modified 4 years, 1 month ago by [jonofat](https://wordpress.org/support/users/jonofat/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Change shipping cost based on checkout choice](https://wordpress.org/support/topic/change-shipping-cost-based-on-checkout-choice/)
 *  Thread Starter [jonofat](https://wordpress.org/support/users/jonofat/)
 * (@jonofat)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/change-shipping-cost-based-on-checkout-choice/#post-15736508)
 * Hi there, I am using [this plugin](https://en-gb.wordpress.org/plugins/order-delivery-date-for-woocommerce/)
   which saves the date to local storage when you select one from the date picker.
   Is there any particular info you want from the status info? There is a lot and
   I don’t want to clog up this post so if you could narrow down what you are looking
   for I can paste that here.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[IP2Location Redirection] Too many redirects](https://wordpress.org/support/topic/too-many-redirects-115/)
 *  Thread Starter [jonofat](https://wordpress.org/support/users/jonofat/)
 * (@jonofat)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/too-many-redirects-115/#post-14451628)
 * Okay, sure. And then once I update is there anything different I need to do or
   will it just work?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[IP2Location Redirection] Too many redirects](https://wordpress.org/support/topic/too-many-redirects-115/)
 *  Thread Starter [jonofat](https://wordpress.org/support/users/jonofat/)
 * (@jonofat)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/too-many-redirects-115/#post-14451389)
 * I only downloaded the plugin about 2 hours ago. I just checked the version now
   and it is 1.23.7 but it is not showing any update available?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[IP2Location Redirection] Too many redirects](https://wordpress.org/support/topic/too-many-redirects-115/)
 *  Thread Starter [jonofat](https://wordpress.org/support/users/jonofat/)
 * (@jonofat)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/too-many-redirects-115/#post-14451318)
 * I am using the WMPML plugin and so /sg is basically the Singapore version of 
   the English site and I don’t think it is just a page. And I will have a few like
   this eg: example.com/us for the US version.
 * All pages will basically just have the language code eg:
 * example.com/sg/about
    example.com/sg/contact
 * are translated pages of
 * example.com/about
    example.com/contact
 * So if someone in Singapore goes to example.com they should be redirected to example.
   com/sg
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[IP2Location Redirection] Too many redirects](https://wordpress.org/support/topic/too-many-redirects-115/)
 *  Thread Starter [jonofat](https://wordpress.org/support/users/jonofat/)
 * (@jonofat)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/too-many-redirects-115/#post-14451273)
 * [https://prnt.sc/132futq](https://prnt.sc/132futq)
 * Obviously I am using my real url in the backend and not example.com
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Customer report download](https://wordpress.org/support/topic/customer-report-download/)
 *  Thread Starter [jonofat](https://wordpress.org/support/users/jonofat/)
 * (@jonofat)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/customer-report-download/#post-12837970)
 * Is this enough of the report?
 * 
    ### WordPress Environment ###
 * WordPress address (URL):
    Site address (URL): WC Version: 4.1.0 REST API Version:
   ✔ 1.0.7 WC Blocks Version: ✔ 2.5.16 Action Scheduler Version: ✔ 3.1.5 WC Admin
   Version: ✔ 1.1.1 Log Directory Writable: ✔ WP Version: ❌ 5.3.3 – There is a 
   newer version of WordPress available (5.4.1) WP Multisite: – WP Memory Limit:
   512 MB WP Debug Mode: – WP Cron: ✔ Language: en_GB External object cache: –
 * ### Server Environment ###
 * Server Info: LiteSpeed
    PHP Version: 7.2.30 PHP Post Max Size: 512 MB PHP Time
   Limit: 0 PHP Max Input Vars: 8000 cURL Version: 7.62.0 OpenSSL/1.0.2k
 * SUHOSIN Installed: –
    MySQL Version: 10.2.31-MariaDB-log-cll-lve Max Upload Size:
   512 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ❌ Your server
   does not have the SoapClient class enabled – some gateway plugins which use SOAP
   may not work as expected. DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post:
   ✔ Remote Get: ✔`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Customer report download](https://wordpress.org/support/topic/customer-report-download/)
 *  Thread Starter [jonofat](https://wordpress.org/support/users/jonofat/)
 * (@jonofat)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/customer-report-download/#post-12832156)
 * Unfortunately I have to disagree with you here. Please take a look at the screenshot
   I have attached. Clicking on the download button shows me this message at the
   bottom of the screen and nothing downloads.
 * [https://prnt.sc/sgisnx](https://prnt.sc/sgisnx)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to update live site after making changes locally](https://wordpress.org/support/topic/how-to-update-live-site-after-making-changes-locally/)
 *  Thread Starter [jonofat](https://wordpress.org/support/users/jonofat/)
 * (@jonofat)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/how-to-update-live-site-after-making-changes-locally/#post-5530463)
 * I added text content to a page that had no content previously.
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [pulling from database or creating pages for listing branches](https://wordpress.org/support/topic/pulling-from-database-or-creating-pages-for-listing-branches/)
 *  Thread Starter [jonofat](https://wordpress.org/support/users/jonofat/)
 * (@jonofat)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/pulling-from-database-or-creating-pages-for-listing-branches/#post-5517884)
 * Thanks so much for your response. The details would be very simple. You would
   literally click on the region and it would simply list the store name, address
   and contact details per store in that region. There wouldn’t even be a map or
   anything. I will definitely take a look into custom post types.
 * Thanks again!

Viewing 11 replies - 1 through 11 (of 11 total)