#Commerce #rules

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
kamihicouki's picture

動的にUserpoints を付与したい

こんにちは、
はじめまして、
西川と申します。

丸一日使ってどうしてもうまくいかなかったため投稿させていただきます。
目的はタイトルの通りなのですが、言い方を変えるとRule の使い方が分からない と同義です。
以下、状況としたいことを記載させていただきます。

[状況]
* Drupal7 をカスタマイズしてECサイトを作っています
* 様々モジュールを導入して 商品登録〜購入手続きの完了 まではできます
* userpoints, commerce_points モジュールをインストールしています
* 手動でのポイント付与は各ユーザへ可能です

[したいこと]
* Order Status 更新(complete)と連動して各ユーザへポイントを付与したい
* 商品(SKU)ごとで還元率(ポイント)は変動的にしたい

どなたでも構いません。
ご助力いただけると幸いです。

Read more
xpegenaute's picture

Commerce rules - refereing a product property

Hi all,

I am interested to create a rule able to limit the quantity of a certain product X based in a property field of X.

After reading http://www.drupalcommerce.org/faq/rules-field-data-selection, I defined a "Entity has field" MyField. But If I want to create another condition such as "commerce-line-item:quantity" is greater than MyField:max_quantity I can't because I can't select "MyField:max_quantity".

Any one have some idea?

Once I'll be able to establish this condition, I'd like to crate an action with:
Set value "commerce-line-item:quantity" to "MyField:max_quantity".

Read more
Subscribe with RSS Syndicate content