From d0528a91d2e7ad56abebd96b9a52b0d1c192e934 Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Fri, 2 May 2014 12:08:22 +0200 Subject: [PATCH] Coupons conditions HTML fragments --- .../condition-fragments/base-input-text.html | 11 ++++++++++ .../cart-item-count-condition.html | 11 ++++++++++ .../cart-total-amount-condition.html | 20 +++++++++++++++++++ .../condition-selector.html | 5 +++++ .../currency-selector.html | 5 +++++ .../quantity-selector.html | 9 +++++++++ 6 files changed, 61 insertions(+) create mode 100644 templates/backOffice/default/coupon/condition-fragments/base-input-text.html create mode 100644 templates/backOffice/default/coupon/condition-fragments/cart-item-count-condition.html create mode 100644 templates/backOffice/default/coupon/condition-fragments/cart-total-amount-condition.html create mode 100644 templates/backOffice/default/coupon/condition-fragments/condition-selector.html create mode 100644 templates/backOffice/default/coupon/condition-fragments/currency-selector.html create mode 100644 templates/backOffice/default/coupon/condition-fragments/quantity-selector.html diff --git a/templates/backOffice/default/coupon/condition-fragments/base-input-text.html b/templates/backOffice/default/coupon/condition-fragments/base-input-text.html new file mode 100644 index 000000000..422ae441a --- /dev/null +++ b/templates/backOffice/default/coupon/condition-fragments/base-input-text.html @@ -0,0 +1,11 @@ +
+ +
+
+ {$operatorSelectHtml nofilter} +
+
+ +
+
+
\ No newline at end of file diff --git a/templates/backOffice/default/coupon/condition-fragments/cart-item-count-condition.html b/templates/backOffice/default/coupon/condition-fragments/cart-item-count-condition.html new file mode 100644 index 000000000..199fd11b8 --- /dev/null +++ b/templates/backOffice/default/coupon/condition-fragments/cart-item-count-condition.html @@ -0,0 +1,11 @@ +
+ +
+
+ {$operatorSelectHtml nofilter} +
+
+ {$quantitySelectHtml nofilter} +
+
+
\ No newline at end of file diff --git a/templates/backOffice/default/coupon/condition-fragments/cart-total-amount-condition.html b/templates/backOffice/default/coupon/condition-fragments/cart-total-amount-condition.html new file mode 100644 index 000000000..53530f14e --- /dev/null +++ b/templates/backOffice/default/coupon/condition-fragments/cart-total-amount-condition.html @@ -0,0 +1,20 @@ +
+ + + +
+
+ {$operatorSelectHtml nofilter} +
+ +
+ +
+ +
+ + {$currencySelectHtml nofilter} +
+
+ +
\ No newline at end of file diff --git a/templates/backOffice/default/coupon/condition-fragments/condition-selector.html b/templates/backOffice/default/coupon/condition-fragments/condition-selector.html new file mode 100644 index 000000000..d1df54d97 --- /dev/null +++ b/templates/backOffice/default/coupon/condition-fragments/condition-selector.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/templates/backOffice/default/coupon/condition-fragments/currency-selector.html b/templates/backOffice/default/coupon/condition-fragments/currency-selector.html new file mode 100644 index 000000000..70b39addf --- /dev/null +++ b/templates/backOffice/default/coupon/condition-fragments/currency-selector.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/templates/backOffice/default/coupon/condition-fragments/quantity-selector.html b/templates/backOffice/default/coupon/condition-fragments/quantity-selector.html new file mode 100644 index 000000000..1da60de16 --- /dev/null +++ b/templates/backOffice/default/coupon/condition-fragments/quantity-selector.html @@ -0,0 +1,9 @@ + +{* Use a text field instead + +*} +