• Resolved aceone999

    (@aceone999)


    I have this setup. Which works with version 2.3.0.3

    1|0
    80|2
    485|3|0x0x19
    485|9|0x0x2000
    1900|9
    4800|11
    9700|12
    19500|17
    29000|24

    When I have a weight of 600 it costs still 3 instead of 9

    When I try to use it like this, still doesn’t work:
    1|0
    80|2
    485|3
    1900|9
    4800|11
    9700|12
    19500|17
    29000|24

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author Art Project Group

    (@artprojectgroup)

    Tested with latest version and works fine both options.

    Check the debug information to see what happens with your configuration.

    Kind regards.

    Thread Starter aceone999

    (@aceone999)

    No output with WP-DEBUG nothing in Server error log.
    But it doesn’t work with any version higher than 2.3.0.3.

    I have two products in cart, both together weight 612, one of them has a shipping class the other not.
    I found it only happens when both products have different shipping classes or one has a shipping class and the other not. If I set both products to no shipping class or the same the shipping price is always right.

    (None of the tested shipping classes have influence of the price in the selected shipping country)

    • This reply was modified 5 years, 4 months ago by aceone999.
    • This reply was modified 5 years, 4 months ago by aceone999.
    • This reply was modified 5 years, 4 months ago by aceone999.
    Plugin Author Art Project Group

    (@artprojectgroup)

    Use the debug information from our plugin and check the information showed in cart, after cleaning the WooCommerce cache.

    Kind regards.

    Thread Starter aceone999

    (@aceone999)

    I have only woocommerce and this plugin active.
    One product weights 292 with shipping class
    Other product weights 320 no shipping class.
    Error still happens this is the output on cart.

    Peso total: 612
    Volumen: 0
    Largo: 0
    Ancho: 0
    Alto: 12
    Medidas: Array
    (
        [0] => Array
            (
                [largo] => 
                [ancho] => 
                [alto] => 
                [cantidad] => 1
            )
    
        [1] => Array
            (
                [largo] => 
                [ancho] => 
                [alto] => 12
                [cantidad] => 1
            )
    
    )
    
    Clases: Array
    (
        [todas] => 612
        [sin-clase] => 320
        [michaels-verlag] => 292
    )
    Tarifas: Array
    (
        [sin-clase] => Array
            (
                [0] => Array
                    (
                        [peso] => 1
                        [importe] => 0
                    )
    
                [1] => Array
                    (
                        [peso] => 80
                        [importe] => 2
                    )
    Peso total: 612
    Volumen: 0
    Largo: 0
    Ancho: 0
    Alto: 12
    Medidas: Array
    (
        [0] => Array
            (
                [largo] => 
                [ancho] => 
                [alto] => 
                [cantidad] => 1
            )
    
        [1] => Array
            (
                [largo] => 
                [ancho] => 
                [alto] => 12
                [cantidad] => 1
            )
    
    )
    
    Clases: Array
    (
        [todas] => 612
        [sin-clase] => 320
        [michaels-verlag] => 292
    )
    Tarifas: Array
    (
        [sin-clase] => Array
            (
                [0] => Array
                    (
                        [peso] => 1
                        [importe] => 0
                    )
    
                [1] => Array
                    (
                        [peso] => 80
                        [importe] => 2
                    )
    
                [2] => Array
                    (
                        [medidas] => 0x0x19
                        [peso] => 485
                        [importe] => 3
                    )
    
                [3] => Array
                    (
                        [medidas] => 0x0x2000
                        [peso] => 485
                        [importe] => 9
                    )
    
                [4] => Array
                    (
                        [peso] => 1900
                        [importe] => 9
                    )
    
                [5] => Array
                    (
                        [peso] => 4800
                        [importe] => 11
                    )
    
                [6] => Array
                    (
                        [peso] => 9700
                        [importe] => 12
                    )
    
                [7] => Array
                    (
                        [peso] => 19500
                        [importe] => 17
                    )
    
                [8] => Array
                    (
                        [peso] => 29000
                        [importe] => 24
                    )
    
            )
    
    )
                [2] => Array
                    (
                        [medidas] => 0x0x19
                        [peso] => 485
                        [importe] => 3
                    )
    
                [3] => Array
                    (
                        [medidas] => 0x0x2000
                        [peso] => 485
                        [importe] => 9
                    )
    
                [4] => Array
                    (
                        [peso] => 1900
                        [importe] => 9
                    )
    
                [5] => Array
                    (
                        [peso] => 4800
                        [importe] => 11
                    )
    
                [6] => Array
                    (
                        [peso] => 9700
                        [importe] => 12
                    )
    
                [7] => Array
                    (
                        [peso] => 19500
                        [importe] => 17
                    )
    
                [8] => Array
                    (
                        [peso] => 29000
                        [importe] => 24
                    )
    
            )
    
    )
    • This reply was modified 5 years, 4 months ago by aceone999.
    Thread Starter aceone999

    (@aceone999)

    There are two payment gateways active both with APG. One of them is just a bit more expensive. Both of them doesn’t work correctly with newest version of APG.

    • This reply was modified 5 years, 4 months ago by aceone999.
    Plugin Author Art Project Group

    (@artprojectgroup)

    Payment gateways?

    Thread Starter aceone999

    (@aceone999)

    Oh, I meant shipping methods, sorry.

    Plugin Author Art Project Group

    (@artprojectgroup)

    I saw a measurement in one product, 0x0x12, the rate for that product is 3.

    The second product must return the same rate because the plugin returns the last rate under product weight.

    Depending of your shipping cost configuration your total must be 3 or 6.

    There’s no error ??

    Kinds regards.

    Thread Starter aceone999

    (@aceone999)

    When the weight is over 485 the shipping costs must be 9 or 11.
    Well it weights more than that and it doesn’t do that. If this configuration is wrong than please tell me how a correct config would look like?
    And why does it show 9 and 11 correctly when I remove the shipping class?
    And why does version 2.3.0.3 shows 9 or 11 correctly with or without shipping class?

    • This reply was modified 5 years, 4 months ago by aceone999.
    • This reply was modified 5 years, 4 months ago by aceone999.
    Plugin Author Art Project Group

    (@artprojectgroup)

    Because the plugin sum weight/total/measurement products by shipping classes.

    We fix the rate calculation code.

    Kind regards.

    Thread Starter aceone999

    (@aceone999)

    But how does this work when it’s sum by shipping class? Different shipping class doesn’t mean it’s not send or free.

    • This reply was modified 5 years, 4 months ago by aceone999.
    Plugin Author Art Project Group

    (@artprojectgroup)

    Read the tutorial.

    Kind regards.

    Thread Starter aceone999

    (@aceone999)

    I still don’t understand how two different shipping classes in cart split the weight in two and only one of them is counted.
    Could you point out where to find the part of the tutorial that explains how this works?

    Plugin Author Art Project Group

    (@artprojectgroup)

    Can you share some screenshots of your shipping cost settings, the cart (with debug information) and products configuration?

    We want check it.

    Kind regards.

    Thread Starter aceone999

    (@aceone999)

    To see the debug information every time when reloading the cart page, I have to save the shipping method before again with debugging set to on. Otherwise it doesn’t show any debug info.

    To make it more simple I have reduced everything to one shipping method.
    I do this on my test site, almost all plugins are deactivated, even custom code in functions.php.

    https://postimg.cc/Z9JBCk9D
    https://postimg.cc/5Y6w2cTW
    https://postimg.cc/K1P3GcYM
    https://postimg.cc/w7ssrQ8F
    https://postimg.cc/4YkhRHXG
    https://postimg.cc/fkP95gFJ

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Version 2.3.1.1 still broken?’ is closed to new replies.