久久久久久久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)
主站蜘蛛池模板: 中文字幕爱爱视频 | 天天操天天摸天天干 | 国产亚洲精品久久yy50 | 日韩久久中文字幕 | 精品日韩一区二区 | 亚洲欧美日韩在线不卡 | 一区二区三区四区免费在线观看 | 97精品一区二区 | 一区二区三区国产好的精 | 日日噜噜噜夜夜爽爽狠狠视频97 | 日韩福利在线 | 久久高清免费视频 | 色综合天天网 | 2018天天干天天操 | 日韩av一区二区在线观看 | 欧美成人免费 | 中文字幕视频在线看5 | 久久久久久久久久久丰满 | 一区二区在线不卡 | 国产精品999 | 在线观看www | 中文字幕亚洲视频 | 日韩成人在线网站 | 欧美一区二 | 国产露脸对白88av | av大片| 日韩一区二区免费视频 | 一级黄色片在线看 | 久久新 | 蜜桃精品噜噜噜成人av | 欧美午夜一区 | 午夜免费福利电影 | 永久看片| 成人午夜免费福利视频 | 伊人春色在线观看 | 国产男女猛烈无遮掩视频免费网站 | 日韩性在线 | 九九热九九 | 亚洲 日本 欧美 中文幕 | 嫩草一区二区三区 | 日本中文字幕视频 |