From 80f866153cdd9cc1ab42879799bd69a6a719de71 Mon Sep 17 00:00:00 2001 From: jatin <jatiny@consultbop.com> Date: Mon, 25 Nov 2024 17:59:47 +0530 Subject: [PATCH] chore: add id on promo-code-form --- templates/checkout/_partials/cart-voucher.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/checkout/_partials/cart-voucher.tpl b/templates/checkout/_partials/cart-voucher.tpl index 7a0eb10..f2b1e32 100644 --- a/templates/checkout/_partials/cart-voucher.tpl +++ b/templates/checkout/_partials/cart-voucher.tpl @@ -54,7 +54,7 @@ <div id="promo-code mt-8"> <div class="promo-code"> {block name='cart_voucher_form'} - <form action="{$urls.pages.cart}" data-link-action="add-voucher" method="post"> + <form id="promo-code-form" action="{$urls.pages.cart}" data-link-action="add-voucher" method="post"> <input type="hidden" name="token" value="{$static_token}"> <input type="hidden" name="addDiscount" value="1"> <input class="promo-input" type="text" name="discount_name" placeholder="{l s='Promo code' d='Shop.Theme.Checkout'}">