开发者

Handling null values in price column in Magento

开发者 https://www.devze.com 2023-02-17 15:03 出处:网络
My Magento site has a problem with Special Price. In the database, the special_price column shows a null value, but in the Magento backend (Manage Product -> Special Price) it shows 0.00 instead of NU

My Magento site has a problem with Special Price. In the database, the special_price column shows a null value, but in the Magento backend (Manage Product -> Special Price) it shows 0.00 instead of NULL.

It also shows the Special Price as 0.00 instead of the original value in the product detail pag开发者_Python百科e. Whenever user add product to cart it gives a price of 0.00.

How do I remove the special price of 0.00 from the backend and front-end?


The easiest way to solve this problem would be to export your products to a CSV, remove all the nulls or 0.00 values from the special_price column, i.e. set them to a blank value, and then import again.

0

精彩评论

暂无评论...
验证码 换一张
取 消