久久久久久久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)
主站蜘蛛池模板: 久久久无码精品亚洲日韩按摩 | 日韩无 | 在线一区视频 | 日本精a在线观看 | av片免费| 国产精品一区二区久久 | 天天综合成人网 | 亚洲精品一二区 | 中文字幕视频在线 | 欧美一区二区视频 | 国产一区二区三区四区五区3d | 超碰国产在线 | 国产精品区一区二区三 | 国产日韩欧美一区 | 欧美午夜精品久久久久久浪潮 | 二区三区av| 日韩手机在线看片 | a级免费黄色片 | 久久高清 | 欧美一级特黄aaa大片在线观看 | 国产一区二区高清在线 | 91国自视频| 午夜精品一区二区三区在线视 | 一区精品视频在线观看 | 2021天天干夜夜爽 | 国产精品夜色一区二区三区 | 国产精品高潮呻吟久久 | 国产精品久久久久久久免费观看 | 午夜寂寞影院列表 | 福利片在线 | 中文字幕亚洲无线 | 日韩一区二区三区四区五区六区 | 国产福利在线小视频 | 91在线观看 | 亚洲视屏| 在线观看免费黄色片 | 日韩三级在线观看 | 欧美久久久 | 天天射网站 | 国产精品久久久久久久久久免费看 | 视频一区在线观看 |