Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在需求软件中使用对象dw.campain.Promotion来打印活动/非活动促销列表。
dw.campain.Promotion
您是否有一种方法可以恢复需求软件中的完整促销列表?
var PromotionMgr = require('dw/campaign/PromotionMgr'); var promotions = PromotionMgr.getPromotions();
它将返回一个包含所有活动/非活动促销的集合。