{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} {default_translation_domain domain='bo.default'} {form name="thelia.admin.sale.modification"} {ifloop rel="product-list"}
{intl l="Select the products included in this sale operation. You can limit your selection to some product's attribute only, if required."}

ID |  | {intl l="Product title"} | {intl l="Reference"} | {intl l="Best taxed price"} | {intl l="Attributes"}
--- | --- | --- | --- | --- | ---
{* protect ourselves against empty $category_list, which causes all products to be displayed *} {if empty($category_list)}{$category_list = '0'}{/if} {loop type="product" name="product-list" category_default="{$category_list}" backend_context=1 return_url=false} {$selected = in_array($ID, $product_list)}
{$ID} |  | {$TITLE} | {$REF} | {format_money number=$BEST_TAXED_PRICE} | {$has_combinations = false} {loop name="product.sales.elements.test" type="product_sale_elements" product=$ID currency=$edit_currency_id backend_context="1"} {loop name="product.combinations" type="attribute_combination" product_sale_elements=$ID backend_context="1"} {$has_combinations = true} {/loop} {/loop} {if $has_combinations} {else} {intl l="No attributes."} {/if}
{/loop}

{/ifloop} {elseloop rel="product-list"}
{intl l="Please select one or more categories which contains some products"}
{/elseloop} {/form}