{include file="includes/header.html"}

{intl l='cart'}

{form name="thelia.cart.add" } {* We use {navigate to="index"} as form action to avoid mixing post and get data *}
{* The form error status and the form error messages are defined in Customer action, and passed back to the form plugin through the ParserContext. *} {if $form_error}
{$form_error_message}
{/if} {form_hidden_fields form=$form} {form_field form=$form field="product"} {form_error form=$form field="product"} {$message} {/form_error}
{/form_field} {form_field form=$form field='product_sale_elements_id'} {form_error form=$form field="product_sale_elements_id"} {$message} {/form_error}
{/form_field} {form_field form=$form field='quantity'} {form_error form=$form field="quantity"} {$message} {/form_error}
{/form_field}
{/form} {include file='includes/footer.html'}