You are here

commerce_promotion.yml in Commerce Demo 8.2

Same filename and directory in other branches
  1. 8 content/commerce_promotion.yml
content/commerce_promotion.yml

File

content/commerce_promotion.yml
View source
  1. 5d3aacea-89b9-4c7c-a357-55a20a527326:
  2. name: '15% off'
  3. order_types:
  4. - default
  5. - physical
  6. stores:
  7. - 3c8ffdaa-95c0-4b11-8b4e-d27186863f19
  8. - c0efc490-c532-4b3d-bf3e-4ff509aed916
  9. offer:
  10. target_plugin_id: order_percentage_off
  11. target_plugin_configuration:
  12. percentage: '0.15'
  13. condition_operator: AND
  14. coupons:
  15. 8d6989c9-c998-41bc-b7a8-3b82fa377222:
  16. promotion_id: 5d3aacea-89b9-4c7c-a357-55a20a527326
  17. code: FIFTEENPERCENT
  18. status: '1'
  19. start_date: '2016-07-31T00:00:00'
  20. compatibility: any
  21. status: '1'
  22. 66b266ec-42c8-489e-9f5b-78ea12cc41bd:
  23. name: '20% off typewriter'
  24. order_types:
  25. - default
  26. - physical
  27. stores:
  28. - 3c8ffdaa-95c0-4b11-8b4e-d27186863f19
  29. - c0efc490-c532-4b3d-bf3e-4ff509aed916
  30. - 5f7afd2e-8470-4c25-bc40-46d40563d0f6
  31. offer:
  32. target_plugin_id: order_item_percentage_off
  33. target_plugin_configuration:
  34. conditions:
  35. -
  36. plugin: order_item_product
  37. configuration:
  38. products:
  39. -
  40. product: 93470da2-a808-4069-89ee-e01f0d5ad0b7
  41. percentage: '0.2'
  42. conditions:
  43. -
  44. target_plugin_id: order_product
  45. target_plugin_configuration:
  46. products:
  47. -
  48. product: 93470da2-a808-4069-89ee-e01f0d5ad0b7
  49. condition_operator: AND
  50. coupons:
  51. da1cd6d7-11da-4cb6-b263-15003ab8728a:
  52. promotion_id: 66b266ec-42c8-489e-9f5b-78ea12cc41bd
  53. code: TYPEWRITER
  54. status: '1'
  55. start_date: '2016-07-31T00:00:00'
  56. compatibility: any
  57. status: '1'
  58. be121d90-282b-4182-9c1f-972532c4f5b1:
  59. name: '$3 off'
  60. order_types:
  61. - default
  62. - physical
  63. stores:
  64. - 3c8ffdaa-95c0-4b11-8b4e-d27186863f19
  65. - c0efc490-c532-4b3d-bf3e-4ff509aed916
  66. - 5f7afd2e-8470-4c25-bc40-46d40563d0f6
  67. offer:
  68. target_plugin_id: order_fixed_amount_off
  69. target_plugin_configuration:
  70. amount:
  71. number: '3.00'
  72. currency_code: USD
  73. condition_operator: AND
  74. coupons:
  75. da1cd6d7-11da-4cb6-b263-15003ab8728a:
  76. promotion_id: 66b266ec-42c8-489e-9f5b-78ea12cc41bd
  77. code: ORDER3OFF
  78. status: '1'
  79. start_date: '2016-07-31T00:00:00'
  80. compatibility: any
  81. status: '1'
  82. c089879c-fb15-4627-86d2-cf3ab8ae3743:
  83. name: 'Buy 1 Get 1'
  84. order_types:
  85. - default
  86. - physical
  87. stores:
  88. - 3c8ffdaa-95c0-4b11-8b4e-d27186863f19
  89. - c0efc490-c532-4b3d-bf3e-4ff509aed916
  90. - 5f7afd2e-8470-4c25-bc40-46d40563d0f6
  91. offer:
  92. target_plugin_id: order_buy_x_get_y
  93. target_plugin_configuration:
  94. buy_quantity: '1'
  95. buy_conditions:
  96. -
  97. plugin: order_item_product_type
  98. configuration:
  99. product_types:
  100. - clothing
  101. - default
  102. - simple
  103. get_quantity: '1'
  104. get_conditions:
  105. -
  106. plugin: order_item_product_type
  107. configuration:
  108. product_types:
  109. - clothing
  110. - default
  111. - simple
  112. offer_type: percentage
  113. offer_percentage: '1'
  114. offer_amount: null
  115. condition_operator: AND
  116. coupons:
  117. 3cd23f71-9179-4334-83c7-cd81d412a1e1:
  118. promotion_id: c089879c-fb15-4627-86d2-cf3ab8ae3743
  119. code: BUY1GET1
  120. status: '1'
  121. start_date: '2016-07-31T00:00:00'
  122. compatibility: any
  123. status: '1'
  124. d96885ac-b61c-4984-912b-12b53930b947:
  125. name: '$4 off clock'
  126. order_types:
  127. - default
  128. - physical
  129. stores:
  130. - 3c8ffdaa-95c0-4b11-8b4e-d27186863f19
  131. - c0efc490-c532-4b3d-bf3e-4ff509aed916
  132. - 5f7afd2e-8470-4c25-bc40-46d40563d0f6
  133. offer:
  134. target_plugin_id: order_item_fixed_amount_off
  135. target_plugin_configuration:
  136. conditions:
  137. -
  138. plugin: order_item_product
  139. configuration:
  140. products:
  141. -
  142. product: 665c62ac-94a8-4929-a147-83df0f2a67c6
  143. amount:
  144. number: '4.00'
  145. currency_code: USD
  146. conditions:
  147. -
  148. target_plugin_id: order_product
  149. target_plugin_configuration:
  150. products:
  151. -
  152. product: 665c62ac-94a8-4929-a147-83df0f2a67c6
  153. condition_operator: AND
  154. coupons:
  155. 23119fac-4d95-41c7-b899-287fb8693b80:
  156. promotion_id: d96885ac-b61c-4984-912b-12b53930b947
  157. code: CLOCKS
  158. status: '1'
  159. start_date: '2016-07-31T00:00:00'
  160. compatibility: any
  161. status: '1'