保存产品PrestaShop 1.7.6.7 + multistore的问题

问题描述

在启用多重存储选项的情况下(仅在所有商店的情况下)保存产品(更确切地说,更改主要项目的数量或组合)时,将出现错误。有趣的是,在第二个或下一个(多次存储多少,您必须单击多少次)之后,记录可以正确显示

娱乐:

Go to BO >> set the shop context to >> "all shops"
go to the PRODUCTS tab >> edit the selected product >> change the STOCK (QUANTITY) to another >> click SAVE
I get a red message "Unable to update settings." and there is a problem with writing.

我在JS控制台中遇到错误

Failed to load resource: the server responded with a status of 500 (Internal Server Error). 
There is no error in the NETWORK tab,despite the debugging mode enabled in Presta.

屏幕截图:

https://prnt.sc/uj2uf2
https://prnt.sc/uj2ul7
https://prnt.sc/uj2v5f
https://prnt.sc/uj2w5v (headers)
https://prnt.sc/uj2w13 (preview)
https://prnt.sc/uj2vr8 (initiator)
https://prnt.sc/uj2vuk (response)

演示版本的数据:

This is the original,freshly installed version. 
Only the multistore has been enabled and one demo store has been added. That's all.

BO: http://bielizniana.pl/__test/admin758a9z7cn/
Login: test@test.pl
Password: test@test.pl

解决方法

您已将多商店选项“共享可用数量出售”设置为“否”。 这意味着当您在“所有商店”上下文中编辑产品时,它不知道如何处理数量。