Answer the question
In order to leave comments, you need to log in
How to change coupon input in OpenCart3?
How to replace the standard input for choosing a coupon in the order form?
<div class="input-group">
<input type="text" value="<%= model.coupon ? model.coupon : '' %>" name="coupon" id="coupon" <% if(Number(config.design.placeholder)) { %>placeholder="{{ text_use_coupon }}" <% } %> class="form-control"/>
<span class="input-group-btn">
<button class="btn btn-primary" id="confirm_coupon" type="button"><i class="fa fa-check"></i></button>
</span>
</div>
<select name="coupon" id="coupon">
<option value="-100"></option>
<option value="-75"></option>
<option value="-50"></option>
<option value="-25"></option>
<option value="-15"></option>
</select>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question