| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() In the middle of developing a new site for a client (not live yet). If you go to the following url [/url]http://www.inspiringheart.com/home.php[/url] you will see a Tell-A-Friend Link in the bottom right hand corner.
The client wants a quick form on a static page where an email address is inserted and automatically sends the home page url to the recipient....much the same as the tell-a-friend for products but this one is just for the home page. I could use javascript but I don't want an email window to open I want the message sent automatically. Thanks in advance for your help. ![]()
__________________
Jazzer CloserToTheDream.com X-Cart 4.0.12 |
|||||||
#2
|
|||||||
|
|||||||
![]() Well, you could use the built-in send 2 friend that's in x-cart....by just including that .tpl into your homepage or static embedded page.
But keep in mind that the send to friend that's built into x-cart gets the productid from the page it's being sent from - so if there's no product on a page (that's why it's integrated into the product detail page) then you have to add a hidden input into the send to friend templates - something like <input type="hidden" name="productid" value="productid"> - but since you only want to send them the homepage url you'll have to play with this a bit - passing it a url instead of a product id.
__________________
Instinctual 8,000 feet up in the Rocky Mountains of Colorado X-Cart Versions 3.5.x - 4.0.x IF you xcart, THEN you prosper, ELSE you fail. ELSEIF xcart fails, THEN you fix it, all the WHILE {loop}\'ing {section}\'s to feed your $smarty mind. |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks, I'll play with it when I get a chance and let you know how it turns out.
![]()
__________________
Jazzer CloserToTheDream.com X-Cart 4.0.12 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|