Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% block payment_method %}
- {% set po_coupon = false %}
- {% if coupons.NOCC %}
- {% set po_coupon = true %}
- {% endif %}
- {% if payment_info_required and po_coupon %}
- <fieldset id="fc-payment" data-fc-container="payment">
- <legend><span class="fc-section-counter"></span> {{ config.lang.checkout_payment_method|raw }}</legend>
- <input type="hidden" name="fc_payment_method" value="purchase_order" />
- <input type="hidden" name="purchase_order" value="Offline Payment" />
- <div class="fc-form-group">
- <div id="fc-payment-method-no-payment-needed" class="fc-container__grid--payment-method fc-payment-method--no-payment fc-payment-method col-md-8 col-md-offset-3">
- Custom message to show to customers
- </div>
- </div>
- </fieldset>
- {% else %}
- {% set config = config|merge({ supports_purchase_order: false}) %}
- {{ parent() }}
- {% endif %}
- {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement