PrestaShop / PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.
https://www.prestashop-project.org/
Other
8.21k stars 4.81k forks source link

BO - Order Settings - Option Delayed Shipping is not used #30430

Open florine2623 opened 1 year ago

florine2623 commented 1 year ago

Prerequisites

Describe the bug and add attachments

There is an option (Delayed Shipping is not used) that was not used since PS 1.7.0.0 : https://github.com/PrestaShop/PrestaShop/blob/1.7.0.0/controllers/front/CartController.php At the moment, the configuration value PS_SHIP_WHEN_AVAILABLE is never used in the Core.

Screenshot 2022-11-28 at 16 52 19

It was used in 1.6 : https://github.com/PrestaShop/PrestaShop-1.6/blob/14511463911e96906335135e46a249b5cf39f525/controllers/front/CartController.php#L188

Thanks @Progi1984 for the details ^^

Expected behavior

This option should work. Or should be deleted from the BO.

ping @PrestaShop/product-team what do you think ?

Steps to reproduce

  1. Go to FO > Order a product > Order confirmation
  2. Go to BO > Shop parameters > Shop settings > Enable Delayed Shipping option
  3. Go to FO > Order a product > Order confirmation => See no difference with and without the option enabled in FO and BO

PrestaShop version(s) where the bug happened

1.7.8.7, 1.7.8.8, 8.0.0, develop

PHP version(s) where the bug happened

7.4

If your bug is related to a module, specify its name and its version

No response

netkube commented 5 months ago

I have the same problem on 8.1.2