atg - 如何查找 atg 中的优惠券适用的促销事件

标签 atg coupon oracle-commerce

我们可以将促销分配给优惠券并在 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/

相关文章:

java - ATG 存储库 API

atg - DAF 管道 servlet 的正确范围是什么

javascript - DSP 是否为 :input supports onclick?

java - atg Nucleus 中如何验证组件

java - ATG 促销适用于一周中的特定一天

php - 从 WooCommerce 中的所有优惠券中排除产品

php - WooCommerce:更改删除购物车中的优惠券链接

ajax - 使用ajax添加优惠券时如何禁止购物车页面显示优惠券通知?

caching - ATG 缓存剔除与无效