久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

保存“特價"的表在哪里?在 Magento 中?

Where is the table that holds the quot;Special Pricequot; in Magento?(保存“特價的表在哪里?在 Magento 中?)
本文介紹了保存“特價"的表在哪里?在 Magento 中?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我正在嘗試使用 mySQL 和 php 腳本批量更新特價"和價格",我知道包含價格"的表和行,但不知道包含特價"的表和行.

Im trying to update the "Special_price" and "price" in bulk with mySQL an a php script, I know the table and row that contains the "price" but not the one that contains the "special_price".

我查看了數據庫本身,但仍然沒有運氣.有任何想法嗎?我需要表名和字段名.

I've looks though the database itself and still no luck. Any ideas? I need the table name and the field name.

推薦答案

我是 Magento Question Answers Guild 的成員,因此我建議您修復 API 錯誤,而不是使用普通的舊 SQL 來更新數據庫.正如其他地方提到的,直接更新數據庫可能會使 Magento 進入系統無法識別的狀態,這可能會導致奇怪的、令人惱火的錯誤.

My membership in the Magento Question Answers Guild requires me to suggest you work on fixing your API errors instead of using plain old SQL to update the database. As mentioned elsewhere, updating the database directly might put Magento into a state not recognized by the system, which can lead to strange, infuriating errors.

也就是說,特價值將與其他產品屬性值一起存儲在

That said, the special price value will be stored with the other product attribute values in the

catalog_product_entity_decimal

表.該表有一個attribute_id 列,該列與eav_attribute 表具有外鍵關系.在 eav_attribute 表中查找代碼為 special_price 的屬性.attribute_id 和產品的 entity_id 應該足以在 catalog_product_entity_decimal 中找到正確的行.

table. This table has an attribute_id column, which has a foreign key relationship with the eav_attribute table. Look in the eav_attribute table for the attribute with the code special_price. That attribute_id and the product's entity_id should be enough to find the correct row in catalog_product_entity_decimal.

請記住,如果產品沒有設置 special_price,則不會存在任何行.還要記住,如果產品在不同的范圍級別設置了 special_price,則可能會有不止一行.

Keep in mind no row will exist if a product doesn't have a special_price set. Also keep in mind if a product has a special_price set at different scope levels that there may be more than one row.

這篇關于保存“特價"的表在哪里?在 Magento 中?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Joining 2 tables in SELECT(MYSQL/PHP)(在 SELECT(MYSQL/PHP) 中加入 2 個表)
How to make lt;option selected=quot;selectedquot;gt; set by MySQL and PHP?(如何使lt;option selected=“selectedgt;由 MySQL 和 PHP 設置?)
Auto populate a select box using an array in PHP(使用 PHP 中的數組自動填充選擇框)
PHP SQL SELECT where like search item with multiple words(PHP SQL SELECT where like search item with multiple words)
json_encode produce JSON_ERROR_UTF8 from MSSQL-SELECT(json_encode 從 MSSQL-SELECT 產生 JSON_ERROR_UTF8)
MySQL ORDER BY rand(), name ASC(MySQL ORDER BY rand(),名稱 ASC)
主站蜘蛛池模板: 女人一级一片30分 | 国产精品久久久久久久久久久久午夜片 | 一区二区高清视频 | 亚洲精品一区二区三区在线 | 成人午夜在线观看 | 精品免费国产一区二区三区四区 | 国产精品一区二区三区不卡 | 51成人做爰www免费看网站 | 欧美精品区 | 在线一区视频 | 亚洲成人精品在线 | 伊人网av | 精品蜜桃一区二区三区 | 奇米影视亚洲春色 | 国产福利一区二区三区 | 中文字幕手机在线观看 | 成人av一区 | 久久人人爽人人爽人人片 | 一区二区三区视频在线 | 精品久久一区二区三区 | 中文字幕av在线 | 中文字幕在线观看免费视频 | 一区二区高清视频 | 亚洲成人a v | 天天天干| www.日本高清 | 日韩成人在线免费观看 | 黄色天天影视 | 黄色免费在线视频 | 男女操操操| 老司机久久 | 亚洲精品久久久久久久久久久 | 午夜在线观看免费视频 | 亚洲精选在线观看 | 国产亚洲欧洲 | 国产草草 | 亚洲一区二区三区免费视频 | 国产一级18片视频 | 在线免费看黄色 | 国产午夜精品一区二区三区视频 | 亚洲激情一区二区 |