Prestashop: Conflicting free shipping discounts causing "no carriers available for your delivery address" at checkout

Created on 4 Oct 2020  路  2Comments  路  Source: PrestaShop/PrestaShop

Hi there!
This issue might relate to these bug reports that I found (but I don't think they are exactly the same): #11172, #10903

In Prestashop 1.7.6.7, when trying to create two "free shipping" discounts, which one has a minimum amount conditions, no shipping method show up in checkout and instead there is "Unfortunately, there are no carriers available for your delivery address."

Steps to reproduce:

  1. Add cart rule of "Free Shipping":
    -- Information:
    image
    -- Conditions:
    image
    -- Actions:
    image
  2. Add a second cart rule for a specific user:
    -- Information:
    image
    -- Conditions (user is crossed out but is needed, shipping can be excluded or included):
    image
    -- Actions (the "apply a discount" does not matter here, it can be set to a lower percent or set to "None"):
    image
  3. Add a products to the cart that are less than cart rule 1 amount (i.e 100 ILS) and add the discount code:
    image
    The conditions of cart rule 1 are not met and therefore do no apply, while cart rule 2 is applied and price changes as need be.
  4. Advance to address selection and finally to shipping method, where the issue resides:
    image

Other tests:

  • I tried disabling the "Free Shipping" cart rule (1), which brought back the shipping methods for cart rule 2. Of course this means I cannot offer my customers free shipping on orders over X amount.
  • Cart rule 2, while now was just meant for testing, has a use case of offering individual customers free shipping on any amount. The ability to do this is of course impacted if they cannot choose a shipping method.
  • Adding an additional user-specific cart rule with free shipping (whether or not has minimum amount condition) does not impact cart rule 2 and shipping methods show properly.
  • Adding products that total > 100 ILS (cart rule 1's condition) works normally and shows shipping methods even if cart rule 2 is applied (cart rule 1 applies automatically and they stack).
    image

Additional information:

  • PrestaShop version: 1.7.6.7
  • PHP version: 7.3

Please let me know what other information I can and should provide to assist with this issue :)

1.7.6.8 Bug Discounts FO Fixed

Most helpful comment

Hi @OdeChan,

Thanks for your report.
I manage to reproduce the issue with PS1.7.6.8.
image
But it is fixed with the next release 1770.
I tried with PS1770rc1build1 => ok
image
I attached a screen record
https://drive.google.com/file/d/1nw1gc1mgosCEl0GjDU4Y_D2aWrZxXgQ2/view?usp=sharing
I close the issue since it is fixed.

Thanks!

All 2 comments

Thanks for opening this issue! We will help you to keep its state consistent

Hi @OdeChan,

Thanks for your report.
I manage to reproduce the issue with PS1.7.6.8.
image
But it is fixed with the next release 1770.
I tried with PS1770rc1build1 => ok
image
I attached a screen record
https://drive.google.com/file/d/1nw1gc1mgosCEl0GjDU4Y_D2aWrZxXgQ2/view?usp=sharing
I close the issue since it is fixed.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings