![]() |
how to replace text in product_options in order_data.tpl
line 11 and 12
{include file="modules/Product_Options/display_options.tpl" options=$products[prod_num].product_options options_txt=$products[prod_num].product_options_txt is_plain="Y"} how I can do a replace in this text?this is the content of the email for the content of the last page of the checkout I've do a replace in /skin1/modules/product_options/display_options.tpl in this way for string "Code" $options_txt|replace:"\n":"<br />"|replace:"Code:":"" But I need the same replace in the email content.. some ideas? I need also to remove "Code" from the cart (first page, when add a product to cart) |
Re: how to replace text in product_options in order_data.tpl
some ideas?
|
Re: how to replace text in product_options in order_data.tpl
What is it you are trying to do? From what you posted it looks like you want to replace the option that the customer ordered with some other text, is that correct?
|
Re: how to replace text in product_options in order_data.tpl
Quote:
Example of product_options Date: January 2009 Time: 8.00 Where: Rome Code: I want to replace the text "Code:" with an empty string -> "", because this is not necessary on the public store (and so try to hide this string) but I need this field in the xcart admin. |
All times are GMT -8. The time now is 12:28 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.