Mercurial > public > madeira
changeset 202:4ecd10091947
Added Paypal button for Surfer T-Shirt
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 08 Jun 2019 16:41:38 -0500 |
parents | b3919dd302c9 |
children | 075cc90f6f86 |
files | madeira/templates/band/buy.html |
diffstat | 1 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/madeira/templates/band/buy.html Mon May 06 20:29:03 2019 -0500 +++ b/madeira/templates/band/buy.html Sat Jun 08 16:41:38 2019 -0500 @@ -82,6 +82,32 @@ </div> </form> {% endif %} + {% if item.name == 'The Surfer T-Shirt' %} + <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> + <input type="hidden" name="cmd" value="_s-xclick"> + <input type="hidden" name="hosted_button_id" value="PT4H8FAA3E2BY"> + <div class="row"> + <div class="col-md-2"> + Sizes: + <input type="hidden" name="on0" value="Sizes"> + <select name="os0"> + <option value="2X Large">2X Large </option> + <option value="X Large">X Large </option> + <option value="Large">Large </option> + <option value="Medium">Medium </option> + <option value="Small">Small </option> + </select> + </div> + </div> + <div class="row" style="margin-top: 1.5rem"> + <div class="col-md-4"> + <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" + border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> + <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> + </div> + </div> + </form> + {% endif %} <br class="clearfix"> {% endfor %} {% endblock %}