--- page-title: "Shopping Cart" page-subtitle: "Shop" layout: "str2" --- {{#> _str2-content }} {{! Shopping Cart }}
{{! Cart }}
{{> _str2-section-heading title="4 Products in the cart" mb="mb-6 sm:mb-7 md:mb-8 lg:mb-10 xl:mb-12" }} {{! Products }}
{{#each ../str2.shop.cart.products}} {{/each}}
Product Price Quantity Subtotal
{{title}}

{{title}}

{{! Rating }} {{> _str2-rating rating=rating rating-size="sm" }} {{! Rating / End }}
{{single-price}} {{> _str2-form-input type="number" name=id id=id width="w-16 lg:w-20" size="md" value=quantity }} {{price}} {{! Remove Button }} {{! Remove Button / End }}
{{! Products / End }} {{! Cart Controls }}
{{#> _str2-btn is-btn="true" variant="accent" size="md" type="submit" class="w-full lg:w-auto" }} Update Cart {{/_str2-btn}} {{#> _str2-btn is-btn="true" variant="link" size="md" type="reset" class="w-full lg:w-auto" }} Empty Cart {{/_str2-btn}}
{{! Cart Controls / End }} {{! Promo Code }}
{{> _str2-section-heading title="Coupon Code!" mb="mb-6 sm:mb-7 md:mb-8 lg:mb-10 xl:mb-12" }}
Enter your code here
{{> _str2-form-input type="text" name="cart-promo" id="cart-promo" width="w-full md:w-[280px]" }} {{#> _str2-btn is-btn="true" variant="primary" size="md" type="submit" }} Redeem Now! {{/_str2-btn}}
{{! Promo Code }}
{{! Cart / End }} {{! Order }}
{{#with ../str2.shop.cart}} {{! Order Calculation }}

Your Order

{{! Cart Total }}

Cart Total

{{cart-total}}
{{! Cart Total / End }} {{! Calculation }}
{{#each calculation}}
{{label}}
{{value}}
{{/each}}
{{! Calculation / End }} {{! Order Total }}
Total
{{order-total}}
{{! Order Total / End }} {{#> _str2-btn is-btn="true" variant="primary" size="md" type="submit" class="w-full lg:mt-5" }} Proceed to checkout {{/_str2-btn}}
{{! Order Calculation / End }} {{/with}}
{{! Order }}
{{! Shopping Cart / End }} {{/_str2-content}}