Skip to content

Instantly share code, notes, and snippets.

@unlocomqx
Last active December 10, 2024 07:56
Show Gist options
  • Select an option

  • Save unlocomqx/f0b86a1ce938405c315d5de979011b95 to your computer and use it in GitHub Desktop.

Select an option

Save unlocomqx/f0b86a1ce938405c315d5de979011b95 to your computer and use it in GitHub Desktop.
Note: If you have the module ets_ordermanager, please check this file first
/modules/ets_ordermanager/views/PrestaShop/Admin/Sell/Order/Order/Blocks/View/product.html.twig
search:
{{ customization.value }}
replace:
{{ customization.value | raw }}
------------------------------------------------------------------------------------
Also for the module ets_ordermanager
/modules/ets_ordermanager/views/templates/admin/_configure/templates/orders/_customized_data.tpl
search:
{$data['value']|escape:'html':'UTF-8'}
replace:
{$data['value']}
------------------------------------------------------------------------------------
Same if you have the module orderedit, the file to check is
/modules/orderedit/views/PrestaShop/Admin/Sell/Order/Order/Blocks/View/product.html.twig
------------------------------------------------------------------------------------
Also if you have the module pms_admin_order, the file to check is
/modules/pms_admin_order/views/Module/Admin/Sell/Order/Order/Blocks/View/product.html.twig
------------------------------------------------------------------------------------
/src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Cart/Blocks/View/cart_summary.html.twig
search:
{{ customizationField.value }}
replace:
{{ customizationField.value | raw }}
------------------------------------------------------------------------------------
/src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/product.html.twig
search:
{{ customization.value }}
replace:
{{ customization.value | raw }}
------------------------------------------------------------------------------------
/mails/_partials/order_conf_product_list.tpl
search:
{$customization['customization_text']}
replace:
{$customization['customization_text'] nofilter}
------------------------------------------------------------------------------------
/mails/en/order_conf_product_list.tpl
search:
{$customization['customization_text']}
replace:
{$customization['customization_text'] nofilter}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment