{"en_US": "<t t-name=\"sale_product_configurator.optional_product_items\">\n        <t t-foreach=\"product.optional_product_ids\" t-as=\"product\">\n            <t t-set=\"combination\" t-value=\"product._get_first_possible_combination(parent_combination)\"/>\n            <t t-if=\"product._is_add_to_cart_possible(parent_combination)\">\n\n                <t t-set=\"combination_info\" t-value=\"product._get_combination_info(combination, add_qty=add_qty or 1, pricelist=pricelist)\"/>\n                <t t-set=\"product_variant\" t-value=\"product.env['product.product'].browse(combination_info['product_id'])\"/>\n\n                <tr class=\"js_product\">\n                    <td class=\"td-img\">\n                        <input type=\"hidden\" class=\"product_template_id\" t-att-value=\"product.id\"/>\n                        <input type=\"hidden\" class=\"product_id\" t-attf-name=\"optional-product-#{product.id}\" t-att-value=\"product_variant.id\"/>\n                        <img t-if=\"product_variant\" t-att-src=\"'/web/image/product.product/%s/image_128' % product_variant.id\" class=\"variant_image\" alt=\"Product Image\"/>\n                        <img t-else=\"\" t-att-src=\"'/web/image/product.template/%s/image_128' % product.id\" class=\"variant_image\" alt=\"Product Image\"/>\n                    </td>\n                    <td class=\"td-product_name\" colspan=\"2\">\n                        <div class=\"mb-3\">\n                            <strong class=\"product-name product_display_name\" t-out=\"combination_info['display_name']\"/>\n                            <div class=\"text-muted small\" t-field=\"product.description_sale\"/>\n                        </div>\n                        <t t-call=\"sale.variants\">\n                            <t t-set=\"combination\" t-value=\"product._get_first_possible_combination(parent_combination)\"/>\n                        </t>\n                    </td>\n                    <td class=\"text-center td-qty d-none\">\n                        <t t-call=\"sale_product_configurator.product_quantity_config\"/>\n                    </td>\n                    <td class=\"text-center td-price\">\n                        <div t-attf-class=\"text-danger oe_default_price oe_optional oe_striked_price {{'' if combination_info['has_discounted_price'] else 'd-none'}}\" t-out=\"combination_info['list_price']\" t-options=\"{                                 &quot;widget&quot;: &quot;monetary&quot;,                                 &quot;display_currency&quot;: (pricelist or product).currency_id                             }\"/>\n                        <div class=\"oe_price\" style=\"white-space: nowrap;\" t-out=\"combination_info['price']\" t-options=\"{                                 &quot;widget&quot;: &quot;monetary&quot;,                                 &quot;display_currency&quot;: (pricelist or product).currency_id                             }\"/>\n                        <span class=\"js_raw_price d-none\" t-out=\"combination_info['price']\"/>\n                        <p class=\"css_not_available_msg alert alert-warning\">Option not available</p>\n\n                        <a role=\"button\" href=\"#\" class=\"js_add btn btn-primary\">\n                            <i class=\"fa fa-shopping-cart add-optionnal-item\"/>\n                        </a>\n                        <span class=\"js_remove d-none\">\n                            <a role=\"button\" href=\"#\" class=\"js_remove\"><i class=\"fa fa-trash-o remove-optionnal-item\"/></a>\n                        </span>\n                    </td>\n                </tr>\n            </t>\n        </t>\n    </t>", "vi_VN": "<t t-name=\"sale_product_configurator.optional_product_items\">\n        <t t-foreach=\"product.optional_product_ids\" t-as=\"product\">\n            <t t-set=\"combination\" t-value=\"product._get_first_possible_combination(parent_combination)\"/>\n            <t t-if=\"product._is_add_to_cart_possible(parent_combination)\">\n\n                <t t-set=\"combination_info\" t-value=\"product._get_combination_info(combination, add_qty=add_qty or 1, pricelist=pricelist)\"/>\n                <t t-set=\"product_variant\" t-value=\"product.env['product.product'].browse(combination_info['product_id'])\"/>\n\n                <tr class=\"js_product\">\n                    <td class=\"td-img\">\n                        <input type=\"hidden\" class=\"product_template_id\" t-att-value=\"product.id\"/>\n                        <input type=\"hidden\" class=\"product_id\" t-attf-name=\"optional-product-#{product.id}\" t-att-value=\"product_variant.id\"/>\n                        <img t-if=\"product_variant\" t-att-src=\"'/web/image/product.product/%s/image_128' % product_variant.id\" class=\"variant_image\" alt=\"Hình ảnh sản phẩm\"/>\n                        <img t-else=\"\" t-att-src=\"'/web/image/product.template/%s/image_128' % product.id\" class=\"variant_image\" alt=\"Hình ảnh sản phẩm\"/>\n                    </td>\n                    <td class=\"td-product_name\" colspan=\"2\">\n                        <div class=\"mb-3\">\n                            <strong class=\"product-name product_display_name\" t-out=\"combination_info['display_name']\"/>\n                            <div class=\"text-muted small\" t-field=\"product.description_sale\"/>\n                        </div>\n                        <t t-call=\"sale.variants\">\n                            <t t-set=\"combination\" t-value=\"product._get_first_possible_combination(parent_combination)\"/>\n                        </t>\n                    </td>\n                    <td class=\"text-center td-qty d-none\">\n                        <t t-call=\"sale_product_configurator.product_quantity_config\"/>\n                    </td>\n                    <td class=\"text-center td-price\">\n                        <div t-attf-class=\"text-danger oe_default_price oe_optional oe_striked_price {{'' if combination_info['has_discounted_price'] else 'd-none'}}\" t-out=\"combination_info['list_price']\" t-options=\"{                                 &quot;widget&quot;: &quot;monetary&quot;,                                 &quot;display_currency&quot;: (pricelist or product).currency_id                             }\"/>\n                        <div class=\"oe_price\" style=\"white-space: nowrap;\" t-out=\"combination_info['price']\" t-options=\"{                                 &quot;widget&quot;: &quot;monetary&quot;,                                 &quot;display_currency&quot;: (pricelist or product).currency_id                             }\"/>\n                        <span class=\"js_raw_price d-none\" t-out=\"combination_info['price']\"/>\n                        <p class=\"css_not_available_msg alert alert-warning\">Tùy chọn không khả dụng</p>\n\n                        <a role=\"button\" href=\"#\" class=\"js_add btn btn-primary\">\n                            <i class=\"fa fa-shopping-cart add-optionnal-item\"/>\n                        </a>\n                        <span class=\"js_remove d-none\">\n                            <a role=\"button\" href=\"#\" class=\"js_remove\"><i class=\"fa fa-trash-o remove-optionnal-item\"/></a>\n                        </span>\n                    </td>\n                </tr>\n            </t>\n        </t>\n    </t>"}