the reason...
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.
|