From 29e0c3bcd79042e79c1fa1aca7468cc6906a4f8f Mon Sep 17 00:00:00 2001 From: Caitlin Schmidt Date: Thu, 10 Dec 2020 16:47:45 +1000 Subject: [PATCH] Wrap cart kit components around checkout setting --- .../cart/shopping_cart.template.html | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/src/templates/cart/shopping_cart.template.html b/src/templates/cart/shopping_cart.template.html index f8078561..66a370a6 100644 --- a/src/templates/cart/shopping_cart.template.html +++ b/src/templates/cart/shopping_cart.template.html @@ -56,22 +56,24 @@

On pre-order - Released [%format type:'date'%][@arrival_date@][%/format%]

[%/if%] [%if [@has_components@]%] - [%cart_item_components counter:'[@counter@]'%] - [%param header%] - - - [%/param%] - [%/cart_item_components%] + [%if [@CONFIG:CHECKOUT_SHOW_KIT_ITEMS@]%] + [%cart_item_components counter:'[@counter@]'%] + [%param header%] + + + [%/param%] + [%/cart_item_components%] + [%/if%] [%/if%] [%if [@gifts_available@]%]

Congratulations! The above purchase has made you eligible for [@gifts_available@] of the following FREE Gifts!