X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to add product name to "Send to a friend" title bar? (https://forum.x-cart.com/showthread.php?t=29621)

PuroPlacer 03-12-2007 05:48 AM

How to add product name to "Send to a friend" title bar?
 
Does anyone know how to add product name to the "Send to a friend" title bar?. I need to display the product name as well as the tittle/lable "Send to a friend"

balinor 03-12-2007 05:53 AM

Re: How to add product name to "Send to a friend" title bar?
 
The send to friend form is on the product page, so the product name is already there...not sure what you mean?

PuroPlacer 03-12-2007 06:46 AM

Re: How to add product name to "Send to a friend" title bar?
 
What I want is to display the product name next to the "Send to a Friend" title.

PuroPlacer 03-13-2007 04:46 AM

Re: How to add product name to "Send to a friend" title bar?
 
OK, Once you are on the product page, you have at the bottom the "Send to a friend" title and the text fields. Next to that the "Send to a Frien" title I want to also display the name of the product. I hope it makes sense now.

PuroPlacer 03-14-2007 06:15 AM

Re: How to add product name to "Send to a friend" title bar?
 
Anyone?

Ene 03-15-2007 01:27 AM

Re: How to add product name to "Send to a friend" title bar?
 
Quote:

Originally Posted by PuroPlacer
Anyone?


Please edit <xcart_root_dir>/skin1/customer/main/send_to_friend.tpl template and replace:

HTML Code:


{include file="dialog.tpl" title=$lng.lbl_send_to_friend content=$smarty.capture.dialog extra='width="100%"'}


with

HTML Code:


{include file="dialog.tpl" title="`$lng.lbl_send_to_friend` information about `$product.product` product" content=$smarty.capture.dialog extra='width="100%"'}


P.S. Embedding Vars in Double Quotes

PuroPlacer 03-16-2007 05:55 AM

Re: How to add product name to "Send to a friend" title bar?
 
Ene thanks a bunch!

Actually, I´ve applied the same code for other templates and it worked too!


All times are GMT -8. The time now is 11:09 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.