Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {exp:cartthrob:add_to_cart_form
- class='form-horizontal'
- entry_id="{entry_id}"
- no_tax="{no_tax}"
- no_shipping = "{no_shipping}"
- return="store/view_cart"}
- {exp:cartthrob:item_options entry_id="{entry_id}"}
- <div class="pdp-rrp-wrapper">
- {!-- <div class="pdp-rrp-container">RRP: €315.00</div> --}
- </div>
- </div>
- </div> {!-- cell small-12 --}
- <div class="small-12 cell">
- <div class="instock-info-wrapper">
- <div class="grid-x grid-margin-x">
- <div class="small-12 cell">
- <label for="{option_field}">{option_label}
- {select}
- <option {selected} value="{option_value}">
- {option_name} {if option_price_numeric != 0} +{option_price}{/if}
- </option>
- {/select}
- </label>
- </div>
- </div>{!-- wrapper option --}
- {/exp:cartthrob:item_options}
- <div class="grid-x grid-margin-x medium-margin-collapse add-to-cart-wrapper">
- <div class="small-12 cell">
- {if "{inventory}" == "0" }
- <p><strong>This item is out of stock</strong></p>
- {if:else}
- <label>Quantity
- <input type="text" id="product_quantity" class="input-medium" placeholder='1' name="quantity" size="8" />
- </label>
- {/if}
- </div>
- <button class="button large expanded warning"><i class="fa fa-shopping-cart float-left"></i> Add to Cart</button>
- </div> {!-- grid-x add-to-cart-wrapper --}
- </div>
- {/exp:cartthrob:add_to_cart_form}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement