Advertisement
rijarob

PO Customization-Checkout

May 16th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. {% block payment_method %}
  2. {% set po_coupon = false %}
  3. {% if coupons.NOCC %}
  4. {% set po_coupon = true %}
  5. {% endif %}
  6.  
  7. {% if payment_info_required and po_coupon %}
  8. <fieldset id="fc-payment" data-fc-container="payment">
  9. <legend><span class="fc-section-counter"></span> {{ config.lang.checkout_payment_method|raw }}</legend>
  10. <input type="hidden" name="fc_payment_method" value="purchase_order" />
  11. <input type="hidden" name="purchase_order" value="Offline Payment" />
  12.  
  13. <div class="fc-form-group">
  14. <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">
  15. Custom message to show to customers
  16. </div>
  17. </div>
  18. </fieldset>
  19. {% else %}
  20. {% set config = config|merge({ supports_purchase_order: false}) %}
  21. {{ parent() }}
  22. {% endif %}
  23. {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement