chore: add id on promo-code-form

feat/promo-code-loader
jatin 2024-11-25 17:59:47 +05:30
parent 0d9f6bad1a
commit 80f866153c
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
<div id="promo-code mt-8"> <div id="promo-code mt-8">
<div class="promo-code"> <div class="promo-code">
{block name='cart_voucher_form'} {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="token" value="{$static_token}">
<input type="hidden" name="addDiscount" value="1"> <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'}"> <input class="promo-input" type="text" name="discount_name" placeholder="{l s='Promo code' d='Shop.Theme.Checkout'}">