make send2friend a new form
Hi,
I am trying to create an enquiry form on each product on the product detail page; ie product.tpl
I thought using send2friend as a base would be a good idea, as then it would include the productid each time, just need to change the send to email to send to me and add one text field.
However, my new send2friend2.tpl seems to get confused with the original, I can't separate them out - keeps saying that I have missed out the recipients name, even though I have removed it from my template along with the checking scripts.
While I know a bit about the templates, I don't think I know enough about the php files
I have added this line to product.php
include $xcart_dir.DIR_CUSTOMER."/send_to_friend.php";
include $xcart_dir.DIR_CUSTOMER."/send_to_friend2.php";
and then obviously duplicated one to the other.
What else do I need to do - what variables would I change,
Any pointers at all would be great, as I'm sure they would help me come up with the full solution.
__________________
Version 5.3
|