doubao6936 2019-08-15 12:14
浏览 54

magento:如果购物车中的X数量不同的sku共享相同的属性,则应用折扣

how do i apply discount ONLY if at least X number of DIFFERENT sku's in cart share same attribute in magento ? for example, if i have 3 different products in the cart (different sku) with a custom "material" attribute set to "aluminium" then will apply discount, BUT if there is only one product sku with a "material" attribute set to "aluminium" in the cart, and the quantity of that product is set to 3, in that case discount will not apply since there are not 3 different sku with a "material" attribute set to "aluminium", each sku needs to be counted only once

i hope that makes sense.. thanks:) magento 1.9

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 如何实验stm32主通道和互补通道独立输出
    • ¥30 这是哪个作者做的宝宝起名网站
    • ¥60 版本过低apk如何修改可以兼容新的安卓系统
    • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
    • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
    • ¥50 有数据,怎么用matlab求全要素生产率
    • ¥15 TI的insta-spin例程
    • ¥15 完成下列问题完成下列问题
    • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
    • ¥15 YoloV5 第三方库的版本对照问题