我们可以将促销分配给优惠券并在 ATG 10.0.x 中兑换。我们如何查明 atg 订单中的哪张优惠券应用了哪些促销事件?
我们是否有开箱即用的功能或需要进行任何自定义才能添加此功能?
最佳答案
我想问题是查找/查询应用特定优惠券暨促销的订单。 可以通过将订单价格信息对象与标记到价格信息对象的调整进行映射来实现这一点。
一个简单的查询就像......
select * from dcspp_order where price_info in (
select amount_info_id from dcspp_amtinfo_adj where adjustments in
(select dcspp_price_adjust.ADJUSTMENT_ID from dcspp_price_adjust where coupon_id = '<coupon_code>'));
关于atg - 如何查找 atg 中的优惠券适用的促销事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21427743/