Issue with Conditions
-
Hi,
I have setup your plugin as the following but the wrong rule is selected.
The cart value is 19050, the first rule is to 19999.99 and the Rule 2 gets selected which is from 20000.Settings:
Cart:[2024-01-08T22:04:01.699992+00:00] fs.DEBUG: Method settings: Enabled: yes Method Title: GLS - Futárszolgálat Method Description: Tax status: Taxable Costs includes tax: no Free Shipping: 20000 Free Shipping Label: Ingyenes 'Left to free shipping' notice: no Rules Calculation: Sum Cart Calculation: Package value Visibility (Show only for logged in users): no Default: no Debug mode: yes Integration: none {"section":"shipping method configuration"} [] [2024-01-08T22:04:01.700292+00:00] fs.DEBUG: Contents value: 19050 HUF {"section":"input data"} [] [2024-01-08T22:04:01.700439+00:00] fs.DEBUG: Contents weight: N/A {"section":"input data"} [] [2024-01-08T22:04:01.700952+00:00] fs.DEBUG: Rule 1: {"section":"rules (not triggered)"} [] [2024-01-08T22:04:01.701002+00:00] fs.DEBUG: Condition: Price; min: ; max: 19999.99; input data: 19050; matched: no {"section":"rules (not triggered)"} [] [2024-01-08T22:04:01.701383+00:00] fs.DEBUG: Rule 2: {"section":"rules (triggered)"} [] [2024-01-08T22:04:01.701429+00:00] fs.DEBUG: Condition: Price; min: 20000; max: 99999999999999; input data: 19050; matched: yes {"section":"rules (triggered)"} [] [2024-01-08T22:04:01.701456+00:00] fs.DEBUG: Matched items: teszt (qty: 15) {"section":"rules (triggered)"} [] [2024-01-08T22:04:01.701482+00:00] fs.DEBUG: Matched items cost: 19050 HUF {"section":"rules (triggered)"} [] [2024-01-08T22:04:01.701507+00:00] fs.DEBUG: Matched items weight: N/A {"section":"rules (triggered)"} [] [2024-01-08T22:04:01.701532+00:00] fs.DEBUG: Rule costs: {"section":"rules (triggered)"} [] [2024-01-08T22:04:01.701556+00:00] fs.DEBUG: rule cost is: 0 {"section":"rules (triggered)"} [] [2024-01-08T22:04:01.701597+00:00] fs.DEBUG: Calculated rule cost: 0 HUF {"section":"rules (triggered)"} [] [2024-01-08T22:04:01.701650+00:00] fs.DEBUG: Used and displayed in the cart/checkout: yes {"section":"the result of shipping method's usage"} [] [2024-01-08T22:04:01.701693+00:00] fs.DEBUG: Calculated shipping cost: 0 HUF {"section":"the result of shipping method's usage"} [] [2024-01-08T22:04:01.701789+00:00] fs.DEBUG: Free shipping: yes {"section":"the result of shipping method's usage"} [] [2024-01-08T22:04:01.701837+00:00] fs.DEBUG: Shipping cost after free shipping applied: 0 {"section":"the result of shipping method's usage"} [] [2024-01-08T22:04:01.701873+00:00] fs.DEBUG: Shipping method ID: flexible_shipping_single:5 {"section":"the result of shipping method's usage"} [] [2024-01-08T22:04:01.701925+00:00] fs.DEBUG: Shipping method title: GLS - Futárszolgálat (Ingyenes) {"section":"the result of shipping method's usage"} [] [2024-01-08T22:04:01.703500+00:00] fs.DEBUG: Shipping cost added. {"section":"the result of shipping method's usage"} []
Thanks for the help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Issue with Conditions’ is closed to new replies.