I can't find any reference to this problem on the forums.
Some time ago I added the email a friend code from the AUG at the bottom of each product entry (bottom of "Standard Layout using CSS" just before the /Form). I modified it slightly so rather than being a box where you enter the email address it's simply a button that opens Outlook with an email title and some body text.
The problem I'm having is that when the button is pressed it opens Outlook as expected but also adds that product to the cart.
It's been quite a while since I added the code for this and I didn't spot this happening when it was first implemented but I may have just missed it.
Can anyone offer any ideas on why this behaviour is happening please?
Some time ago I added the email a friend code from the AUG at the bottom of each product entry (bottom of "Standard Layout using CSS" just before the /Form). I modified it slightly so rather than being a box where you enter the email address it's simply a button that opens Outlook with an email title and some body text.
The problem I'm having is that when the button is pressed it opens Outlook as expected but also adds that product to the cart.
It's been quite a while since I added the code for this and I didn't spot this happening when it was first implemented but I may have just missed it.
Can anyone offer any ideas on why this behaviour is happening please?
Comment