From 189405cd41acd00ae12c39219341f13099621418 Mon Sep 17 00:00:00 2001 From: Mario Campa Date: Thu, 27 Jul 2017 13:34:59 -0700 Subject: [PATCH] STENCIL-3536 bulk discout rates --- config.json | 2 +- templates/components/products/card.html | 35 +++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index 5ed055d5db..b98c38bcff 100644 --- a/config.json +++ b/config.json @@ -275,7 +275,7 @@ ], "resources": { "cart": true, - "bulk_discount_rates": false, + "bulk_discount_rates": true, "shop_by_brand": { "limit": 10 } diff --git a/templates/components/products/card.html b/templates/components/products/card.html index 49fe8f503c..59e4c00a75 100644 --- a/templates/components/products/card.html +++ b/templates/components/products/card.html @@ -82,5 +82,40 @@

{{> components/common/login-for-pricing}} {{/or}} + {{#if bulk_discount_rates.length}} +
{{lang 'products.bulk_pricing.title'}}
+
+ + {{lang 'products.bulk_pricing.view'}} + +
+ + + {{/if}}