ルール付きのアクティブクーポンを追加しています。クーポンを利用する際にクーポンを設定し、店頭でクーポンを適用することができます。しかし、カートの合計価格は変更されません。また、ルールを公開すると、カートの合計価格に変更はありません。hybrisプロモーションクーポンが合計価格に適用されていません
応答のおかげで、私は状況に関するいくつかの詳細を書いています:すべての
まず私は、これらの拡張機能を追加しました:
<extension name='rulebuilderbackoffice' />
<extension name='couponbackoffice' />
<extension name='droolsruleengineservices' />
<extension name='ruledefinitions' />
<extension name='promotionengineservices' />
<extension name='couponfacades' />
<extension name='promotionenginesamplesaddon' />
<extension name='promotionengineatddtests' />
その後、私はアリすべてクリーン、アリ初期化を行い、HYBRISを開始します。バックオフィスから
:店頭で
Create single code coupon (state is active, no date restriction, max redemption for customer is 10, max total redemption is 100),
Create rule (website is default, set priority 500, set as stackable, set rulegrup orderpromotionrulegroup),
Add to rule condition as coupon code, set coupon code as created coupon code
Add to rule action as fixed discount on cart as 100 TRY
Publish rule to promotion-module, status is published
Promotion module's version is increased but catolog of promotion module is empty I don't know is it important?
:コマンドラインで
I added an item to bag, its price is 338,28 TRY (there is no other discount)
I entered the coupon,
In the page, says coupon is applied, but total price is didn't change, still 338,28 TRY.
はそれがより多くの詳細がなくて間違って何が起こっているかを言うのは難しいですが、
INFO [hybrisHTTP17] [AbstractOrderRaoPopulator] Order discount list is empty, skipping the conversion
バージョン、クーポンタイプ、ルールについて詳しく教えてください。 – mkysoft
こんにちはKemal hocam、コントローラをデバッグし、バックオフィスからクーポンコードをチェックするなど、詳細を提供する必要があるかもしれません。解決策を見つける方が良いでしょう。ターミナルにログがありますか? –