{"en_US": "<t t-name=\"sale_product_configurator.configure_optional_products\">\n        <table class=\"table table-striped table-sm\">\n        <thead>\n            <tr>\n                <th class=\"td-img\"><span class=\"label\">Product</span></th>\n                <th><span class=\"label\"/></th>\n                <th class=\"text-center td-qty\"><span class=\"label\">Quantity</span></th>\n                <th class=\"text-center td-price\"><span class=\"label\">Price</span></th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"js_product in_cart main_product\">\n\n                <t t-set=\"combination_info\" t-value=\"product.product_tmpl_id._get_combination_info(combination, product.id, add_qty or 1, pricelist)\"/>\n                <t t-set=\"product_variant\" t-value=\"product.env['product.product'].browse(combination_info['product_id'])\"/>\n\n                <input type=\"hidden\" class=\"product_template_id\" t-att-value=\"product.product_tmpl_id.id\"/>\n                <input type=\"hidden\" class=\"product_id\" t-att-value=\"product_variant.id\"/>\n                <td class=\"td-img\">\n                    <img class=\"product_detail_img\" t-if=\"product_variant\" t-att-src=\"'/web/image/product.product/%s/image_128' % product_variant.id\" alt=\"Product Image\"/>\n                    <img class=\"product_detail_img\" t-else=\"\" t-att-src=\"'/web/image/product.template/%s/image_128' % product.id\" alt=\"Product Image\"/>\n                </td>\n                <td class=\"td-product_name\">\n                    <strong class=\"product-name product_display_name\" t-out=\"combination_info['display_name']\"/>\n                    <div class=\"text-muted small\">\n                        <div t-field=\"product.description_sale\"/>\n                        <div class=\"js_attributes\"/>\n                        <div t-if=\"product_custom_attribute_values\">\n                            <t t-foreach=\"product_custom_attribute_values\" t-as=\"custom_value\">\n                                <span t-esc=\"custom_value.get('attribute_value_name', None)\"/>: <span t-esc=\"custom_value['custom_value']\"/>\n                                <input type=\"hidden\" class=\"variant_custom_value\" t-att-data-custom_product_template_attribute_value_id=\"custom_value['custom_product_template_attribute_value_id']\" t-att-data-attribute_value_name=\"custom_value.get('attribute_value_name', None)\" t-att-value=\"custom_value['custom_value']\"/>\n                            </t>\n                        </div>\n                    </div>\n                    <div>\n                        <t t-if=\"product.product_tmpl_id and not combination\">\n                            <t t-set=\"combination\" t-value=\"product.product_tmpl_id._get_first_possible_combination()\"/>\n                        </t>\n                        <t t-if=\"combination and not already_configured\" t-call=\"sale.variants\">\n                            <t t-set=\"ul_class\" t-valuef=\"flex-column\"/>\n                            <t t-set=\"product\" t-value=\"product.product_tmpl_id\"/>\n                        </t>\n                        <t t-else=\"\">\n                            <ul class=\"d-none js_add_cart_variants mb-0\" t-att-data-attribute_exclusions=\"{'exclusions: []'}\"/>\n                            <div class=\"d-none oe_unchanged_value_ids\" t-att-data-unchanged_value_ids=\"variant_values\"/>\n                            <!-- Keep the information to use it later (when leaving the modal window) -->\n                            <div class=\"d-none no-attribute-info\" t-att-data-attribute-value=\"json.dumps(no_attribute)\"/>\n                            <div class=\"d-none custom-attribute-info\" t-att-data-attribute-value=\"json.dumps(custom_attribute)\"/>\n                        </t>\n                    </div>\n                </td>\n                <td class=\"text-center td-qty\">\n                    <t t-call=\"sale_product_configurator.product_quantity_config\"/>\n                </td>\n                <td class=\"text-center td-price\" name=\"price\">\n                    <div t-attf-class=\"text-danger oe_default_price 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                    <span class=\"oe_price product_id\" style=\"white-space: nowrap;\" t-att-data-product-id=\"product.id\" 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-esc=\"combination_info['price']\"/>\n                    <p class=\"css_not_available_msg alert alert-warning\">Option not available</p>\n                </td>\n            </tr>\n            <tr class=\"o_total_row\">\n                <td colspan=\"4\" class=\"text-end\">\n                    <strong>Total:</strong>\n                    <span class=\"js_price_total fw-bold\" style=\"white-space: nowrap;\" t-att-data-product-id=\"product.id\" t-out=\"combination_info['price'] * (add_qty or 1)\" t-options=\"{                             &quot;widget&quot;: &quot;monetary&quot;,                             &quot;display_currency&quot;: (pricelist or product).currency_id                         }\"/>\n                </td>\n            </tr>\n            <t t-if=\"product.optional_product_ids and mode != 'edit'\">\n                <tr class=\"o_select_options\"><td colspan=\"4\"><h4>Available Options:</h4></td></tr>\n                <t t-call=\"sale_product_configurator.optional_product_items\">\n                    <t t-set=\"parent_combination\" t-value=\"combination\"/>\n                </t>\n            </t>\n        </tbody>\n        </table>\n    </t>", "vi_VN": "<t t-name=\"sale_product_configurator.configure_optional_products\">\n        <table class=\"table table-striped table-sm\">\n        <thead>\n            <tr>\n                <th class=\"td-img\"><span class=\"label\">Sản phẩm</span></th>\n                <th><span class=\"label\"/></th>\n                <th class=\"text-center td-qty\"><span class=\"label\">Số lượng</span></th>\n                <th class=\"text-center td-price\"><span class=\"label\">Giá</span> </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"js_product in_cart main_product\">\n\n                <t t-set=\"combination_info\" t-value=\"product.product_tmpl_id._get_combination_info(combination, product.id, add_qty or 1, pricelist)\"/>\n                <t t-set=\"product_variant\" t-value=\"product.env['product.product'].browse(combination_info['product_id'])\"/>\n\n                <input type=\"hidden\" class=\"product_template_id\" t-att-value=\"product.product_tmpl_id.id\"/>\n                <input type=\"hidden\" class=\"product_id\" t-att-value=\"product_variant.id\"/>\n                <td class=\"td-img\">\n                    <img class=\"product_detail_img\" t-if=\"product_variant\" t-att-src=\"'/web/image/product.product/%s/image_128' % product_variant.id\" alt=\"Hình ảnh sản phẩm\"/>\n                    <img class=\"product_detail_img\" t-else=\"\" t-att-src=\"'/web/image/product.template/%s/image_128' % product.id\" alt=\"Hình ảnh sản phẩm\"/>\n                </td>\n                <td class=\"td-product_name\">\n                    <strong class=\"product-name product_display_name\" t-out=\"combination_info['display_name']\"/>\n                    <div class=\"text-muted small\">\n                        <div t-field=\"product.description_sale\"/>\n                        <div class=\"js_attributes\"/>\n                        <div t-if=\"product_custom_attribute_values\">\n                            <t t-foreach=\"product_custom_attribute_values\" t-as=\"custom_value\">\n                                <span t-esc=\"custom_value.get('attribute_value_name', None)\"/>: <span t-esc=\"custom_value['custom_value']\"/>\n                                <input type=\"hidden\" class=\"variant_custom_value\" t-att-data-custom_product_template_attribute_value_id=\"custom_value['custom_product_template_attribute_value_id']\" t-att-data-attribute_value_name=\"custom_value.get('attribute_value_name', None)\" t-att-value=\"custom_value['custom_value']\"/>\n                            </t>\n                        </div>\n                    </div>\n                    <div>\n                        <t t-if=\"product.product_tmpl_id and not combination\">\n                            <t t-set=\"combination\" t-value=\"product.product_tmpl_id._get_first_possible_combination()\"/>\n                        </t>\n                        <t t-if=\"combination and not already_configured\" t-call=\"sale.variants\">\n                            <t t-set=\"ul_class\" t-valuef=\"flex-column\"/>\n                            <t t-set=\"product\" t-value=\"product.product_tmpl_id\"/>\n                        </t>\n                        <t t-else=\"\">\n                            <ul class=\"d-none js_add_cart_variants mb-0\" t-att-data-attribute_exclusions=\"{'exclusions: []'}\"/>\n                            <div class=\"d-none oe_unchanged_value_ids\" t-att-data-unchanged_value_ids=\"variant_values\"/>\n                            <!-- Keep the information to use it later (when leaving the modal window) -->\n                            <div class=\"d-none no-attribute-info\" t-att-data-attribute-value=\"json.dumps(no_attribute)\"/>\n                            <div class=\"d-none custom-attribute-info\" t-att-data-attribute-value=\"json.dumps(custom_attribute)\"/>\n                        </t>\n                    </div>\n                </td>\n                <td class=\"text-center td-qty\">\n                    <t t-call=\"sale_product_configurator.product_quantity_config\"/>\n                </td>\n                <td class=\"text-center td-price\" name=\"price\">\n                    <div t-attf-class=\"text-danger oe_default_price 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                    <span class=\"oe_price product_id\" style=\"white-space: nowrap;\" t-att-data-product-id=\"product.id\" 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-esc=\"combination_info['price']\"/>\n                    <p class=\"css_not_available_msg alert alert-warning\">Tùy chọn không khả dụng</p>\n                </td>\n            </tr>\n            <tr class=\"o_total_row\">\n                <td colspan=\"4\" class=\"text-end\">\n                    <strong>Tổng:</strong>\n                    <span class=\"js_price_total fw-bold\" style=\"white-space: nowrap;\" t-att-data-product-id=\"product.id\" t-out=\"combination_info['price'] * (add_qty or 1)\" t-options=\"{                             &quot;widget&quot;: &quot;monetary&quot;,                             &quot;display_currency&quot;: (pricelist or product).currency_id                         }\"/>\n                </td>\n            </tr>\n            <t t-if=\"product.optional_product_ids and mode != 'edit'\">\n                <tr class=\"o_select_options\"><td colspan=\"4\"><h4>Tuỳ chọn khả dụng:</h4></td></tr>\n                <t t-call=\"sale_product_configurator.optional_product_items\">\n                    <t t-set=\"parent_combination\" t-value=\"combination\"/>\n                </t>\n            </t>\n        </tbody>\n        </table>\n    </t>"}