Advertisement
whitesurge

Labeled Old Cart

Jul 9th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. <div class="DropAdam" style="
  2. display: flex;
  3. align-items: center;
  4. justify-content: center; margin-left: 0px; width: 100%;">
  5.  
  6.  
  7.  
  8.  
  9. {% if customer.tags contains "Wholesale" %}
  10.  
  11. <form action="/cart" method="post" novalidate class="cart">
  12. <p class="cart-attribute__field" style="margin-left:0px; margin-right:0px; float:left; width:250px;">
  13. <label style="
  14. text-align: center;
  15. ">Company Name</label>
  16. <textarea id="sales-representative" style="width:250px;"></textarea>
  17. </p>
  18. </form>
  19.  
  20. <form action="/cart" method="post" novalidate class="cart" style="margin-left:30px; margin-right:30px;">
  21. <p class="cart-attribute__field" style="width:250px !important;">
  22. <label style="
  23. text-align: center;
  24. ">Customer Name</label>
  25. <textarea id="sales-representative" style="width:250px;"></textarea>
  26. </p>
  27. </form>
  28.  
  29. <form action="/cart" method="post" novalidate class="cart" style="float:right;">
  30. <p class="cart-attribute__field" style="width:250px !important;">
  31. <label style="
  32. text-align: center;
  33. ">Customer Email</label>
  34. <textarea id="sales-representative" style="width:250px;"></textarea>
  35. </p>
  36. </form>
  37. {% endif %}
  38.  
  39. </div>
  40.  
  41.  
  42.  
  43.  
  44.  
  45. {% if customer.tags contains "Wholesale" or customer.tags contains "Eleni" or customer.tags contains "Melissa"or customer.tags contains "Nicole"or customer.tags contains "Yana" %}
  46. <form action="/cart" method="post" novalidate class="cart" style="float:left;">
  47. <p class="cart-attribute__field">
  48. <label>Sales Representative</label>
  49. <select id="sales-representative" name="attributes[Sales Representative]">
  50. <option value="None"{% if cart.attributes["Sales Representative"] == "None" %} selected{% endif %}>None</option>
  51. <option value="Eleni"{% if cart.attributes["Sales Representative"] == "Eleni" %} selected{% endif %}>Eleni</option>
  52. <option value="Melissa"{% if cart.attributes["Sales Representative"] == "Melissa" %} selected{% endif %}>Melissa</option>
  53. <option value="Nicole"{% if cart.attributes["Sales Representative"] == "Nicole" %} selected{% endif %}>Nicole</option>
  54. <option value="Yana"{% if cart.attributes["Sales Representative"] == "Yana" %} selected{% endif %}>Yana</option>
  55. </select>
  56. </p>
  57. </form>
  58. {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement