Jump to content

Edit History

Ray UK

Ray UK

Hi,

When deleting an old product from the inventory, why does it remove it from the order details?

Looking at the shopping cart list, some orders that have been placed now show as £0 total because the items the ordered are now not in the catalogue.

In the Orders list, the totals are correct for the invoice, but trying to open any of those orders where a product is no longer in the catalogue causes an error with this wording

"Oops... looks like an unexpected error occurred.

Type error: Argument 4 passed to PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderShippingAddressForViewing::__construct() must be of the type string, null given, called in /home/**********/public_html/src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php on line 270

[Symfony\Component\Debug\Exception\FatalThrowableError 0]"

Opening the actual invoice pdf, the items are still listed.

PS 1.7.7.1

Ray UK

Ray UK

Hi,

When deleting an old product from the inventory, why does it remove it from the invoice on all orders?

Looking at the shopping cart list, some orders that have been placed now show as £0 total because the items the ordered are now not in the catalogue.

In the Orders list, the totals are correct for the invoice, but trying to open any of those orders where a product is no longer in the catalogue causes an error with this wording

"Oops... looks like an unexpected error occurred.

Type error: Argument 4 passed to PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderShippingAddressForViewing::__construct() must be of the type string, null given, called in /home/**********/public_html/src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php on line 270

[Symfony\Component\Debug\Exception\FatalThrowableError 0]"

PS 1.7.7.1

×
×
  • Create New...