Title: Dev jr's Replies | WordPress.org

---

# Dev jr

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] Plugin Bringing back the deleted products after sync](https://wordpress.org/support/topic/plugin-bringing-back-the-deleted-products-after-sync/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/plugin-bringing-back-the-deleted-products-after-sync/#post-18890039)
 * [https://drive.google.com/file/d/1jR9BW8Oe2l0r5FeLadt2d1D0rormtzmB/view?usp=sharing](https://drive.google.com/file/d/1jR9BW8Oe2l0r5FeLadt2d1D0rormtzmB/view?usp=sharing)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] Square sync taking hours….!](https://wordpress.org/support/topic/square-sync-taking-hours/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [1 month, 3 weeks ago](https://wordpress.org/support/topic/square-sync-taking-hours/#post-18879353)
 * Approximately how many products you are syncing ?
    220 products approx
 * Whether this is the first full sync or a regular update?
    Regular update
 * If you see any errors under WooCommerce, Status, Logs?
    No errors, just square
   job in pending in scheduled acions
 * System Report:
    [https://quickforget.com/s/1a6d282d3e85a38e6fe60024b3c3b627eaf6c2ae2f43fcd7](https://quickforget.com/s/1a6d282d3e85a38e6fe60024b3c3b627eaf6c2ae2f43fcd7)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping Live Rates and Access Points for UPS for WooCommerce] Hide Shipping or Set Shipping to $0 for Orders Over $200 (UPS Ground Only)](https://wordpress.org/support/topic/hide-shipping-or-set-shipping-to-0-for-orders-over-200-ups-ground-only/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [11 months ago](https://wordpress.org/support/topic/hide-shipping-or-set-shipping-to-0-for-orders-over-200-ups-ground-only/#post-18550790)
 * This is how i achieve it.
 * add_filter(‘woocommerce_package_rates’, ‘custom_filter_shipping_methods_above_200_with_fallback’,
   10, 2);
 * function custom_filter_shipping_methods_above_200_with_fallback($rates, $package){
   
   if (is_admin() && !defined(‘DOING_AJAX’)) { return $rates; }
 *  $cart_subtotal = WC()->cart->get_subtotal();
 *  // If cart subtotal is over $200
    if ($cart_subtotal > 200) { $has_ups_ground
   = false;
 *  foreach ($rates as $rate_id => $rate) {
    if (strpos($rate_id, ‘flexible_shipping_ups:
   12:03’) !== false) { // UPS Ground found, modify it $has_ups_ground = true; $
   rates[$rate_id]->label = ‘UPS Ground: ‘ . wc_price(0); $rates[$rate_id]->cost
   = 0; $rates[$rate_id]->taxes = []; } }
 *  // If UPS Ground exists, remove all other shipping methods
    if ($has_ups_ground){
   foreach ($rates as $rate_id => $rate) { if (strpos($rate_id, ‘flexible_shipping_ups:
   12:03’) === false) { unset($rates[$rate_id]); } } } // else: no removal, all 
   methods stay (fallback) }
 *  return $rates;
    }
 * add_action(‘wp_footer’, ‘custom_force_shipping_reload_js’);
    function custom_force_shipping_reload_js(){
   if (is_cart()) : ?> <script> jQuery(function() { jQuery(document.body).on(‘updated_cart_totals’,
   function() { jQuery(document.body).trigger(‘update_checkout’); }); }); </script
   > <?php endif; }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping Live Rates and Access Points for UPS for WooCommerce] UPS Live Rates: 250002: Invalid Authentication Information UPS Live Rates: Colle](https://wordpress.org/support/topic/ups-live-rates-250002-invalid-authentication-information-ups-live-rates-colle/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/ups-live-rates-250002-invalid-authentication-information-ups-live-rates-colle/#post-18526898)
 * Pls let me know, what should i do now?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping Live Rates and Access Points for UPS for WooCommerce] UPS Live Rates: 250002: Invalid Authentication Information UPS Live Rates: Colle](https://wordpress.org/support/topic/ups-live-rates-250002-invalid-authentication-information-ups-live-rates-colle/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/ups-live-rates-250002-invalid-authentication-information-ups-live-rates-colle/#post-18526476)
 * Hello, thank you for the response!
    I’ve already tried both the Client Credentials
   and Authorization Code methods, but the error still persists.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML Multilingual & Multicurrency for WooCommerce] Unable to translate empty cart text](https://wordpress.org/support/topic/unable-to-translate-empty-cart-text/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/unable-to-translate-empty-cart-text/#post-17417294)
 * Thank you for your response, i already fixed it but still thank you for letting
   me know.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Filter Everything — WordPress & WooCommerce Filters] Star Ratings Icons in Product Ratings Filter](https://wordpress.org/support/topic/star-ratings-icons-in-product-ratings-filter/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/star-ratings-icons-in-product-ratings-filter/#post-17406530)
 * Ahh i see thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Filter Everything — WordPress & WooCommerce Filters] Star Ratings Icons in Product Ratings Filter](https://wordpress.org/support/topic/star-ratings-icons-in-product-ratings-filter/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/star-ratings-icons-in-product-ratings-filter/#post-17406424)
 * I am already using these settings, but they do not fix the issue.
 * [Screenshot](https://paste.pics/c664591ec9fcfa6eaf82107418dd6480) [website](https://nofakez.net/product-category/home-and-garden/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] layout not changing to RTL when language switch to Arabic](https://wordpress.org/support/topic/layout-not-changing-to-rtl-when-language-switch-to-arabic/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/layout-not-changing-to-rtl-when-language-switch-to-arabic/#post-15465295)
 * when I refresh the page it comes back to select language instead it should be
   showing the active one! any suggestions?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] layout not changing to RTL when language switch to Arabic](https://wordpress.org/support/topic/layout-not-changing-to-rtl-when-language-switch-to-arabic/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/layout-not-changing-to-rtl-when-language-switch-to-arabic/#post-15465215)
 * thank you for suggesting the html[dir=”rtl”] I added it on change of option value
   with js and used CSS after that so thank you. i want to know can I hide the select
   language option? i just want to show the active language only!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] layout not changing to RTL when language switch to Arabic](https://wordpress.org/support/topic/layout-not-changing-to-rtl-when-language-switch-to-arabic/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/layout-not-changing-to-rtl-when-language-switch-to-arabic/#post-15465190)
 * no need i fixed the issue with the js and CSS like you suggested!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] layout not changing to RTL when language switch to Arabic](https://wordpress.org/support/topic/layout-not-changing-to-rtl-when-language-switch-to-arabic/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/layout-not-changing-to-rtl-when-language-switch-to-arabic/#post-15464837)
 * which package I need to buy min?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] layout not changing to RTL when language switch to Arabic](https://wordpress.org/support/topic/layout-not-changing-to-rtl-when-language-switch-to-arabic/)
 *  Thread Starter [Dev jr](https://wordpress.org/support/users/devjr/)
 * (@devjr)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/layout-not-changing-to-rtl-when-language-switch-to-arabic/#post-15462458)
 * i am using free plan

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