PrestaShop icon indicating copy to clipboard operation
PrestaShop copied to clipboard

BO - Order Settings - Option Delayed Shipping is not used

Open florine2623 opened this issue 2 years ago • 1 comments

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

florine2623 avatar Nov 28 '22 16:11 florine2623