Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. {exp:cartthrob:add_to_cart_form
  2. class='form-horizontal'
  3. entry_id="{entry_id}"
  4. no_tax="{no_tax}"
  5. no_shipping = "{no_shipping}"
  6. return="store/view_cart"}
  7. {exp:cartthrob:item_options entry_id="{entry_id}"}
  8. <div class="pdp-rrp-wrapper">
  9. {!-- <div class="pdp-rrp-container">RRP: €315.00</div> --}
  10. </div>
  11. </div>
  12. </div> {!-- cell small-12 --}
  13.  
  14. <div class="small-12 cell">
  15.  
  16. <div class="instock-info-wrapper">
  17.  
  18. <div class="grid-x grid-margin-x">
  19. <div class="small-12 cell">
  20. <label for="{option_field}">{option_label}
  21. {select}
  22. <option {selected} value="{option_value}">
  23. {option_name} {if option_price_numeric != 0} +{option_price}{/if}
  24. </option>
  25. {/select}
  26. </label>
  27. </div>
  28. </div>{!-- wrapper option --}
  29.  
  30. {/exp:cartthrob:item_options}
  31.  
  32.  
  33. <div class="grid-x grid-margin-x medium-margin-collapse add-to-cart-wrapper">
  34. <div class="small-12 cell">
  35. {if "{inventory}" == "0" }
  36. <p><strong>This item is out of stock</strong></p>
  37. {if:else}
  38. <label>Quantity
  39. <input type="text" id="product_quantity" class="input-medium" placeholder='1' name="quantity" size="8" />
  40. </label>
  41. {/if}
  42. </div>
  43. <button class="button large expanded warning"><i class="fa fa-shopping-cart float-left"></i> Add to Cart</button>
  44. </div> {!-- grid-x add-to-cart-wrapper --}
  45.  
  46. </div>
  47. {/exp:cartthrob:add_to_cart_form}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement