Removing manufacturer in xcart

爱⌒轻易说出口 提交于 2019-12-25 09:01:54

问题


I am using xcart 4.7. After removing a manufacturer, all products renamed as restored products and all details are corrupted. I tried to database integrity checking but no result.


回答1:


Thank you, Sarath S Rajendran, for the bug localization.

Fixed in X-Cart 4.7.8. Custom code hasn't to call func_delete_product() without params.

Wrong calls

func_delete_product();
func_delete_product(0);
func_delete_product('');
func_delete_product(null);

Correct calls

func_delete_product(3123);
func_delete_product(3123,false);
func_delete_product(0,false,true);


来源:https://stackoverflow.com/questions/42267453/removing-manufacturer-in-xcart

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!