Title: LeDukeBx's Replies | WordPress.org

---

# LeDukeBx

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Themify - WooCommerce Product Filter] Scroll to products on Safari (iPhone)](https://wordpress.org/support/topic/scroll-to-products-on-safari-iphone/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/scroll-to-products-on-safari-iphone/#post-18763372)
 * I fixed it.
 *     ```wp-block-code
       <?php/** * Fix: Scroll vers les produits après filtrage - Safari compatible * Corrige le bug du plugin Themify WC Product Filter sur Safari */add_action('wp_footer', function() {    if (!is_page(667)) {        return;    }    ?>    <script>    (function($) {        $(document).ready(function() {                        function safariSafeScroll(target) {                if (!target || target.length === 0) return;                                var adminBarHeight = $('#wpadminbar').outerHeight(true) || 0;                var targetPosition = target.offset().top - adminBarHeight - 20;                                try {                    window.scrollTo({                        top: targetPosition,                        behavior: 'smooth'                    });                } catch(e) {                    window.scrollTo(0, targetPosition);                }            }                        $(document).on('wpf_ajax_success', function() {                var form = $('.wpf_form_scroll');                var isMobile = window.innerWidth < 981;                                if (form.length > 0 || isMobile) {                    var container = $('.wpf-search-container');                    if (container.length === 0) {                        container = $('ul.products').parent();                    }                                        if (container.length > 0) {                        setTimeout(function() {                            safariSafeScroll(container);                        }, 100);                    }                }            });                        var originalAnimate = $.fn.animate;            $.fn.animate = function(props, speed, easing, callback) {                if (props && typeof props.scrollTop !== 'undefined' &&                     (this.is('html,body') || this.is('html, body'))) {                                        var targetScroll = props.scrollTop;                                        try {                        window.scrollTo({                            top: targetScroll,                            behavior: 'smooth'                        });                    } catch(e) {                        window.scrollTo(0, targetScroll);                    }                                        if (typeof callback === 'function') {                        setTimeout(callback, 1000);                    } else if (typeof speed === 'function') {                        setTimeout(speed, 1000);                    }                                        return this;                }                                return originalAnimate.apply(this, arguments);            };                    });    })(jQuery);    </script>    <?php}, 999);
       ```
   
    -  This reply was modified 5 months, 3 weeks ago by [LeDukeBx](https://wordpress.org/support/users/ledukebx/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] free delivery in the cart, based on the total, not subtotal](https://wordpress.org/support/topic/free-delivery-in-the-cart-based-on-the-total-not-subtotal/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/free-delivery-in-the-cart-based-on-the-total-not-subtotal/#post-17841517)
 * [@doublezed2](https://wordpress.org/support/users/doublezed2/) Thanks a lot for
   the advice !!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] free delivery in the cart, based on the total, not subtotal](https://wordpress.org/support/topic/free-delivery-in-the-cart-based-on-the-total-not-subtotal/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/free-delivery-in-the-cart-based-on-the-total-not-subtotal/#post-17840905)
 * Hello [@shameemreza](https://wordpress.org/support/users/shameemreza/)
 * Thanks for your plugin suggestions,
   However, the modules you offer only work 
   with the subtotal and not the total (even in the pro version)
 * [@wooteam](https://wordpress.org/support/users/wooteam/), don’t you have a solution
   for this simple problem?
 * Regards. Quentin
    -  This reply was modified 1 year, 11 months ago by [LeDukeBx](https://wordpress.org/support/users/ledukebx/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] free delivery in the cart, based on the total, not subtotal](https://wordpress.org/support/topic/free-delivery-in-the-cart-based-on-the-total-not-subtotal/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/free-delivery-in-the-cart-based-on-the-total-not-subtotal/#post-17833854)
 * Hello [@carolm29](https://wordpress.org/support/users/carolm29/) !
 * Thanks for your Help !
 * Exactly, I want to apply the free delivery only if the total (after applying 
   any discounts) meets the criteria (300€ of spent).
   The problem with the solution
   you propose is that it works only if the discount previously applied is a coupon.
   But mine is quite complex depending on the quantity, and therefore it uses the“
   Discount Rules for WooCommerce – PRO” module from Flywheel. It is therefore not
   a coupon, and this solution therefore does not work.
 * Do you have an idea ?
 * Best regards. Quentin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widgets for Google Reviews] Reviews Number](https://wordpress.org/support/topic/reviews-number/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/reviews-number/#post-16624305)
 * Ahhhhhh so you answered my question 🙂 Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widgets for Google Reviews] Reviews Number](https://wordpress.org/support/topic/reviews-number/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/reviews-number/#post-16621584)
 * “_If you use filters, less then 10 reveiws will be available in the widget._“
 * _“You can set up the number of reviews in a widget in the admin: trustindex.io._“
 * Could you please show me where it’s possible ? I don’t find it in the WordPress
   Plugin admin.
 * Thanks a lot !
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Cost problem by shipping class](https://wordpress.org/support/topic/cost-problem-by-shipping-class/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cost-problem-by-shipping-class/#post-16587204)
 * [@seank123](https://wordpress.org/support/users/seank123/) Thank you very much,
   your solution works perfectly !
 * On the other hand, this does not prevent the calculation of Woocomerce from being
   false. (It is absolutely not normal to add the standard rate + the class rate)
 * Hope this helps anyone who encounters this issue in the future.
 * Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Cost problem by shipping class](https://wordpress.org/support/topic/cost-problem-by-shipping-class/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cost-problem-by-shipping-class/#post-16587141)
 * I make you a screenshot to explain it 🙂
 * [https://i.postimg.cc/L6d2fj1h/Capture-d-e-cran-2023-03-23-a-09-19-39.png](https://i.postimg.cc/L6d2fj1h/Capture-d-e-cran-2023-03-23-a-09-19-39.png)
 * Thanks !
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Cost problem by shipping class](https://wordpress.org/support/topic/cost-problem-by-shipping-class/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cost-problem-by-shipping-class/#post-16583863)
 * Here is the answer of the support : “_There isn’t a built-in way to do this via
   the built-in Flat Rates shipping method, no. The scenario you’re describing would
   however be very straight-forward to set up via our extension Table Rate Shipping;
   that’s would I’d recommend for this use case._“
 * Pfffff so to make Woocommerce work properly you have to buy an extension for 
   $100…
 * In some cases it is really justified, but in fact Woocommerce calculation of 
   the shipping costs per class is false, or is deliberately distorted to sell paid
   extensions…
 * So if anyone has a free solution, I’m interested.
    -  This reply was modified 3 years, 2 months ago by [LeDukeBx](https://wordpress.org/support/users/ledukebx/).
    -  This reply was modified 3 years, 2 months ago by [LeDukeBx](https://wordpress.org/support/users/ledukebx/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] Line break ?](https://wordpress.org/support/topic/line-break-26/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/line-break-26/#post-16164510)
 * here is an example :
 * [https://ibb.co/XVgNkN8](https://ibb.co/XVgNkN8)
    [https://ibb.co/6nqd81w](https://ibb.co/6nqd81w)
 * Best regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Save product attributs list](https://wordpress.org/support/topic/save-product-attributs-list/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/save-product-attributs-list/#post-4763635)
 * Ahhaa the solution was Soooooo simple ! “Duplicate”
 * Thanks a lot Charly !
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Save product attributs list](https://wordpress.org/support/topic/save-product-attributs-list/)
 *  Thread Starter [LeDukeBx](https://wordpress.org/support/users/ledukebx/)
 * (@ledukebx)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/save-product-attributs-list/#post-4763628)
 * Hello Charly,
 * I’m sorry maybe my explanation is not clear enough…
    Attributes are already created
   and configured,
 * But precisely I have to “select” them for each product I create, and I have many…
   
   I would like the Attributes list display automatically in the product configuration
   page.
 * Then I just have to enter the values.
 * I hope to have been more specific about my question 🙂

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