【问题标题】:Problem with saving the product PrestaShop 1.7.6.7 + multistore保存产品 PrestaShop 1.7.6.7 + 多商店的问题
【发布时间】:2021-01-04 17:12:54
【问题描述】:

在启用多商店选项(仅在所有商店的上下文中)的情况下保存产品(更准确地说,更改主要商品的数量或组合)时,会出现错误。有趣的是,在第二个或下一个(multi 中有多少家商店,您必须点击多少次)之后,记录正确。

娱乐:

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

【问题讨论】:

  • max_input_vars 的 PHP 值是多少?
  • max_input_vars 100000. (phpinfo) 上的所有 PHP 设置:bielizniana.pl/a.php

标签: save prestashop prestashop-1.7 multistore


【解决方案1】:

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

【讨论】:

  • 更改此选项...当我在产品中保存数量时仍然显示错误:-(
  • 这可能与 v1.7 的许多多商店错误之一有关(请参阅 github.com/PrestaShop/PrestaShop/issues/9723 )尤其是商店之间的共享产品,在核心中调试这些问题太难了 - 我的建议是在团队不会认真使用此功能之前,请远离此功能
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多