Mangeto批量修改价格:把price的值赋值给special price
来源:互联网 发布:淘宝客公司怎么样 编辑:程序博客网 时间:2024/06/05 05:59
#把price的值赋值给special price#产品id为888#attribute_id=76的时候value字段表示的是special price价格#attribute_id=75的是value字段表示的是price价格UPDATE catalog_product_entity_decimal as t1INNER JOIN (SELECT entity_id,value FROM catalog_product_entity_decimal where attribute_id=75) as t2SET t1.value=t2.value WHERE t1.entity_id=t2.entity_id and t1.attribute_id=76 and t1.entity_id=888;
#不指定产品id,批量修改UPDATE catalog_product_entity_decimal as t1INNER JOIN (SELECT entity_id,value FROM catalog_product_entity_decimal where attribute_id=75) as t2SET t1.value=t2.value WHERE t1.entity_id=t2.entity_id and t1.attribute_id=76;
#把虚高价格(price价格)上调20%#attribute_id=75的时候value字段的值表示price价格update catalog_product_entity_decimal set value=value*1.2 where attribute_id=75;
阅读全文
0 0
- Mangeto批量修改价格:把price的值赋值给special price
- Magento 把所有产品的Special Price的值,给Group Price,然后清空Special Price的值
- Magento 把所有产品的 Special Price 同步添加给Group Price代码
- Price
- Price
- 价格歧视(Price discrimination)
- 特征价格(Hedonic price)
- B. Special Offer! Super Price 999 Bourles!
- codeforce_219B Special Offer! Super Price 999 Bourles!
- Special Offer! Super Price 999 Bourles!
- 外贸英语900句 之 价格Price
- 价格术语trade term (price term)
- Magento利用价格(price)筛选商品
- Magento查询所有产品的Group Price, 返回 SKU和 价格
- CF 135 DIV2 B Special Offer! Super Price 999 Bourles!
- codeforces B. Special Offer! Super Price 999 Bourles!
- cf 想法 Special Offer! Super Price 999 Bourles!
- codeforces 219B Special Offer! Super Price 999 Bourles!
- angularjs+生成随机数猜数字大小
- 实验三 栈和队列的基本操作实现及其应用
- sizeof(i++),sizeof(fun())
- 字符串算法——查找有序数组旋转后的最小值(无重复元素)(Find Minimum in Rotated Sorted Array)
- 日常小BUG小记
- Mangeto批量修改价格:把price的值赋值给special price
- Xception: Deep Learning with Depthwise Separable Convolutions个人理解
- 用Kotlin和Anko实现安卓UI(二)
- Git----版本控制系统安装及使用
- 【C#学习笔记】 使用C#中的Dispatcher
- onclick事件打开窗口
- C++运算符重载详解
- Copy of ShortCut to
- HDOJ 1042 N!(大数)