You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The commercetools_cart_discount creates cart discounts, but cannot be used to assign those discounts to particular stores.
In the commercetools API the CartDiscountDraft object takes an array of stores, and there are update cart discount actions to add and remove stores.
(There are also APIs for creating and updating a cart discount within a store, but I suggest these are less useful for Terraform.)
Currently, the commercetools terraform provider ignores the stores property of the cart discount, so these can be changed manually after creation and not noticed on updates.
The text was updated successfully, but these errors were encountered:
That is indeed something we need to add. I have added this to our board, but it might take some time before I come around to it. Feel free to open a PR with the required changes if you need this quickly!
The commercetools_cart_discount creates cart discounts, but cannot be used to assign those discounts to particular stores.
In the commercetools API the CartDiscountDraft object takes an array of stores, and there are update cart discount actions to add and remove stores.
(There are also APIs for creating and updating a cart discount within a store, but I suggest these are less useful for Terraform.)
Currently, the commercetools terraform provider ignores the stores property of the cart discount, so these can be changed manually after creation and not noticed on updates.
The text was updated successfully, but these errors were encountered: