| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
how to replace text in product_options in order_data.tpl | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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)
__________________
4.1.10 Gold |
|||||||
#2
|
|||||||
|
|||||||
![]() some ideas?
__________________
4.1.10 Gold |
|||||||
#3
|
|||||||||
|
|||||||||
![]() 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?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#4
|
|||||||
|
|||||||
![]() 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.
__________________
4.1.10 Gold |
|||||||
|
|||
X-Cart forums © 2001-2020
|