• Resolved Habib

    (@habibanwari)


    Hi, I enabled the Debug mode.
    I have two rules. Rule 2 is matched in the basket, however, when I go to the checkout page on the last page, the rule is changing to rule 1.
    On the basket page, I get one debug result, but on the last page, I get two debug results. Somehow the cart weight changes to zero on the checkout page.
    This is my website https://electrovo.com . The settings work with a product with a specified weight. The website uses an STL, CAD file to upload there and check the weight so weight is variable. So the weight is based on the CAD model volume. Things work fine till the basket page. the problem comes on the checkout page.

    Here is the debug data from the Basket page:

    Method settings:
     Enabled: yes
     Method Title: Economy Shipping
     Method Description: 
     Tax status: None
     Costs includes tax: no
     Free Shipping: 
     Free Shipping Label: 
     'Left to free shipping' notice: no
     Rules Calculation: Sum
     Cart Calculation: Cart value
     Visibility (Show only for logged in users): no
     Default: no
     Debug mode: yes
    Integration: none 
    
    Contents value: 201
    Contents weight: 0.465275 
    
    Rule 1:
       Condition: Weight; min: 0; max: 0.1; input data: 0.465; matched: no 
    
    Rule 2:
       Condition: Weight; min: 0.101; max: 0.5; input data: 0.465; matched: yes
       Rule costs:
        rule cost is: 5
       Calculated rule cost: 5 GBP 
    
    Used and displayed in the cart/checkout: yes
    Calculated shipping cost: 5 GBP
    Free shipping: no
    Shipping method ID: flexible_shipping_single:31
    Shipping method title: Economy Shipping
    Shipping cost added.

    Here is the data from the checkout page:
    First Debug result:

    Method settings:
     Enabled: yes
     Method Title: Economy Shipping
     Method Description: 
     Tax status: None
     Costs includes tax: no
     Free Shipping: 
     Free Shipping Label: 
     'Left to free shipping' notice: no
     Rules Calculation: Sum
     Cart Calculation: Cart value
     Visibility (Show only for logged in users): no
     Default: no
     Debug mode: yes
    Integration: none 
    
    Contents value: 201
    Contents weight: 0.465275 
    
    Rule 1:
       Condition: Weight; min: 0; max: 0.1; input data: 0.465; matched: no 
    
    Rule 2:
       Condition: Weight; min: 0.101; max: 0.5; input data: 0.465; matched: yes
       Rule costs:
        rule cost is: 5
       Calculated rule cost: 5 GBP 
    
    Used and displayed in the cart/checkout: yes
    Calculated shipping cost: 5 GBP
    Free shipping: no
    Shipping method ID: flexible_shipping_single:31
    Shipping method title: Economy Shipping
    Shipping cost added.

    Second Debug result:

    Method settings:
     Enabled: yes
     Method Title: Economy Shipping
     Method Description: 
     Tax status: None
     Costs includes tax: no
     Free Shipping: 
     Free Shipping Label: 
     'Left to free shipping' notice: no
     Rules Calculation: Sum
     Cart Calculation: Cart value
     Visibility (Show only for logged in users): no
     Default: no
     Debug mode: yes
    Integration: none 
    
    Contents value: 201
    Contents weight: 0 
    
    Rule 1:
       Condition: Weight; min: 0; max: 0.1; input data: 0; matched: yes
       Rule costs:
        rule cost is: 4.85
       Calculated rule cost: 4.85 GBP 
    
    Rule 2:
       Condition: Weight; min: 0.101; max: 0.5; input data: 0; matched: no 
    
    Used and displayed in the cart/checkout: yes
    Calculated shipping cost: 4.85 GBP
    Free shipping: no
    Shipping method ID: flexible_shipping_single:31
    Shipping method title: Economy Shipping
    Shipping cost added.

    Kind regards
    Habib

    • This topic was modified 3 years, 5 months ago by Habib.
    • This topic was modified 3 years, 5 months ago by Habib.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support lusp

    (@lusp)

    Hi @habibanwari,

    On the first glimpse it looks like the plugin you are using to upload the STL and CAD files interferes with the Flexible Shipping shipping cost calculation mechanisms. If you define the shipping cost calculation rules to be based on weight, our Flexible Shipping plugin will take the weight value from the product details and apply the matching rule in the cart and checkout. From what you have written our Flexible Shipping works fine in the cart, however, something goes wrong once reaching the checkout. This is probably where the other plugin comes into action and interferes with the previously done properly shipping cost calculation. In order to verify that please turn this plugin off temporarily, add the product to the cart, then move to the checkout and check if everything is fine once it’s deactivated. If it is and the weight input value wasn’t changed to 0, it means it’s a standard plugin conflict you’ve encountered and I’m afraid that you will need to contact the other plugin authors to solve this out on their side.

    Kind regards,
    Luke

    Plugin Support lusp

    (@lusp)

    Since there are no further inquiries concerning this case I’m marking this thread as resolved.

    Kind regards,
    Luke

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cart weight turns zero at check out page’ is closed to new replies.