Forum Replies Created

Viewing 15 replies - 1 through 15 (of 38 total)
  • Thread Starter Koesterandersen

    (@koesterandersen)

    Hi

    Now that you have find the error I think I don’t need to spend time uploading the screen dumps showing the error.

    Do you know how high this problem is prioritized, and maybe some approximately time period before it is solved.

    Have a nice day.

    Thread Starter Koesterandersen

    (@koesterandersen)

    For now I will give a only a comment, and tomorrow I will give you a link to several screen dumps showing that the error only comes sometimes. Just as filippomor explains above.

    Though I can tell you that the status report didn’t give the answer and there was nothing mentoined in the error log.

    At the webshop beautybydr.dk the free shipping should automatically be chosen when the cart price reaches 500 kr. I have made some different tests in order to find out, when the error comes.

    1)
    If I go to shop and the cart is empty, then I put 1 item of a product that costs 747 kr. into the cart. Going to the cart then the free shipping is triggered automatically.

    2)
    If I go to shop and the cart is empty, then I put 1 item of a product that costs 283 kr. into the cart. Going to the cart then the shipping price costing 50 kr. is triggered automatically.
    Then I change the number of items from 1 to 2 and updates the cart. Then the cart price is 566 kr. and the free shipping should be triggered, but it is the shipping price costing 50 kr. that is marked. Then I can click at the free shipping radio button to force it to change.

    3)
    If I go to shop and the cart is empty, then I put 1 item of 3 different products that costs 226 kr. and 205 kr. and 283 kr. into the cart. Going to the cart then the shipping price costing 50 kr. is triggered automatically even though the cart price is higher than 500 kr.
    Then I can click at the free shipping radio button to force it to change.

    So what seems to cause the error is the following.
    If there is only 1 item of one product costing more than 500 kr. then the free shipping is triggered automatically.
    If there are more than 1 item in the cart and the cart price is higher than 500 kr., then the free shipping is not triggered.

    I think the error might be and old one that hasn’t been discovered, because a lot of shop owners have been used shipping plugins for some years. And the shop owners selling intangible products don’t need the shipping functionality.

    I have for a long time ago been testing a large shopsite when new functionality was made, and it should be tested in many ways, and this way of testing sites I sometimes still do. And I did it on beautybydr.dk

    I have been setting up woocommerce shops for about 6 years now, but it has been shops containing intangible products, and that is why I have not had the reason to test the shipping functionality.

    I hope you and some of the other supporters will try to test it in some different ways in order to discover what causes the error.

    Thread Starter Koesterandersen

    (@koesterandersen)

    Hi there
    
    Thank you for your answer.
    
    The problem, which I am sure, is a coding error is happening on this site: https://beautybydr.dk
    
    As I have written in my question the website is currently using version 8.5.1, which also can be seen if you chech the page source.
    
    You can right click on a page > choose View page source > click on F3 > search for "woocommerce" and it is possible to find this text: beautybydr.dk/wp-content/cache/autoptimize/autoptimize_single_279a41fe094a1c0ff59f6d84dc6ec0d2.php?ver=8.5.1
    
    As you can see, the version is in the end of the website address.
    
    In your answer your are writing:
    
    "Because I went to check the product you shared and the free option was available."
    
    And it is available, but it use to shift to the free shipping automatically, when the cart price is exceeding the amount that is set in the free shipping settings.
    
    If you try to test it like this, you will see the error quite clearly.
    
    Put this product into the cart: Balancing Toner 130 ml
    (It is a small webshop, so you will find the product in the first row on the shop page)
    
    The price for the product is 205 kr. and when the cart reach 500 kr., it should automatically shift to free shipping.
    
    So if there are 1 or 2 items of this product in the cart then the flat shipping price (Fragtpris in danish) is 50 kr.
    
    If there are 3 items in the cart, then it should automatically shift to free shipping. But it do not work. The customer has to mark the radiobutton to force it to shift.
    
    And this is not user friendly that the customer has to make the shift, while many customers will forget that.
    Hi there
    
    Thank you for your answer.
    
    The problem, which I am sure, is a coding error is happening on this site: https://beautybydr.dk
    
    As I have written in my question the website is currently using version 8.5.1, which also can be seen if you chech the page source.
    
    You can right click on a page > choose View page source > click on F3 > search for "woocommerce" and it is possible to find this text: beautybydr.dk/wp-content/cache/autoptimize/autoptimize_single_279a41fe094a1c0ff59f6d84dc6ec0d2.php?ver=8.5.1
    
    As you can see, the version is in the end of the website address.
    
    In your answer your are writing:
    
    "Because I went to check the product you shared and the free option was available."
    
    And it is available, but it use to shift to the free shipping automatically, when the cart price is exceeding the amount that is set in the free shipping settings.
    
    If you try to test it like this, you will see the error quite clearly.
    
    Put this product into the cart: Balancing Toner 130 ml
    (It is a small webshop, so you will find the product in the first row on the shop page)
    
    The price for the product is 205 kr. and when the cart reach 500 kr., it should automatically shift to free shipping.
    
    So if there are 1 or 2 items of this product in the cart then the flat shipping price (Fragtpris in danish) is 50 kr.
    
    If there are 3 items in the cart, then it should automatically shift to free shipping. But it do not work. The customer has to mark the radiobutton to force it to shift.
    
    And this is not user friendly that the customer has to make the shift, while many customers will forget that.
    
    I know that the automatically shift has worked on previous versions.
    
    From
    Mikael

    My message here ended up in th wrong thread, and now I cannot delete it. (-:

    Thread Starter Koesterandersen

    (@koesterandersen)

    Hi

    I have find the solution myself. And yes – it was me, who made the error…by putting both <?php and ?> into the functions.php file.

    For people like me, who cannot code, it could be an advantage, if code snippets like this one are stripped for everything, that should not be put into the functions.php file.

    When I find code snippets at StudioPress to the Genesis Framework and functions.php file, the codes are ready to be put in – and you might do it the same way.
    Just a suggestion. (-:

    Thank you anyway for your support and the code is working just fine and as I wanted it to do.

    From
    Mikael

    Thread Starter Koesterandersen

    (@koesterandersen)

    Hi

    I found the snippet and when I am setting it into the functions.php file I get a response telling me that the code snippet has some error.

    Could you please correct the snippet in order to make it work, og perhaps telling me where to put it in the functions.php file.

    It is this snippet, I have found and tried to use. The error is supposed to be in the first line: <?php

    <?php
    function ww_ajax_variation_threshold( $default, $product ) {
    return 50; // increase this number if needed
    }
    add_filter( ‘woocommerce_ajax_variation_threshold’, ‘ww_ajax_variation_threshold’, 10, 2 );
    ?>

    Thread Starter Koesterandersen

    (@koesterandersen)

    Hi

    On that link it is supposed to function in the following way:
    When you choose 100 in Byggest?rrelse (first choice), it should only show 2.2 and 3 in KW (third choice). But it is showing much more attributes.

    I have made a testproduct, which is function the right way – though it has fewer variations. I made it only to test.
    It is this one: https://www.3skruerog1bolt.dk/shop/elmotorer/el-motor-byggeform-b3-tester/

    If you choose 100 in Byggest?rrelse (first choice), it should only show 0.25 KW (third choice). And this works fine.
    If you start with no choices in this product and see the attributes ind the KW, you will se, that it contains 3 attributes.

    I hope these examples helps explaining the problem.

    Additional information. These products works fine:
    https://www.3skruerog1bolt.dk/shop/elmotorer/el-motor-byggeform-b5/
    https://www.3skruerog1bolt.dk/shop/elmotorer/el-motor-byggeform-b14/
    https://www.3skruerog1bolt.dk/shop/elmotorer/el-motor-byggeform-dupli14/ (also a test)
    https://www.3skruerog1bolt.dk/shop/elmotorer/el-motor-byggeform-b34/

    The two products that do not work is the these ones:
    https://www.3skruerog1bolt.dk/shop/elmotorer/el-motor-byggeform-b3/
    https://www.3skruerog1bolt.dk/shop/elmotorer/el-motor-byggeform-b35/

    When some products works and some do not, I am pretty sure that it is not an error in the system, but I cannot figure out what I probably has made wrong.

    Thread Starter Koesterandersen

    (@koesterandersen)

    Hi Luke

    Thank you very much.

    This is what I will call a value added answer.

    Not only are you supplying me with the code snippet; I also get a lot of valuable information in the tutorial.

    Thread Starter Koesterandersen

    (@koesterandersen)

    Thank you for the answers. I will remember this.

    Thread Starter Koesterandersen

    (@koesterandersen)

    Sorry for this late reply.

    It has been solved now with the new translations.

    Thread Starter Koesterandersen

    (@koesterandersen)

    Hi benvaassen

    Thank you for your answer.

    In the meantime I have started using Genesis themes from Studio Press, and here I have all the possibilities I need. And I do not always get the information that my content is too difficult to read. Anyway…good luck with the changes and your plugin.

    Thread Starter Koesterandersen

    (@koesterandersen)

    Hi Mike

    Thank you.

    I think I will wait for 2.6.1.

    I hope it will not take long before it comes.

    Thank you so much so far.

    Thread Starter Koesterandersen

    (@koesterandersen)

    Hi Mike

    I am a little bit confused now about your answer.

    Am I supposed to add some code or…?

    Thread Starter Koesterandersen

    (@koesterandersen)

    Hi Andrew and Esmi

    Now I am beginning to see the concept of participating in threads.

    But I might by accident get into the trap of hijacking posts again, but I will try to concentrate more in order to participate in a proper way.

    Thanks again – I will mark this as resolved.

    Thread Starter Koesterandersen

    (@koesterandersen)

    Hi Andrew

    Thank you for your answer.

    What if a person has something helpful to add to a thread, will this then be ok, or does the person need to start a new thread.

Viewing 15 replies - 1 through 15 (of 38 total)