Forms Email Field

Using built in cs-cart forms is it possible without too much hacking have prefilled customers email if he is signed in within form email field?

design/themes/THEME/templates/addons/form_builder/hooks/pages/page_content.override.tpl

try to replace


with


(!) Not tested

It should be default:$user_info.email

Thanks for that! ;)

There are many product inquiry addons out there, but I just thought it would be possible to use available forms for that. Now emails are pre filed but there is no way to know where did the customer send inquiry from. Referer does not show where inquiry was sent from

It should be default:$user_info.email

Thanks for that! ;)

Post corrected, thanks

There are many product inquiry addons out there, but I just thought it would be possible to use available forms for that. Now emails are pre filed but there is no way to know where did the customer send inquiry from. Referer does not show where inquiry was sent from

Please try

http://forum.cs-cart.com/topic/48116-http-referer/#entry273008

Referer does show but not what I want for example if you find my site on google, you go to root / then to /contact-us.html and write a message, referer woould should google as referer, but not a link message was submitted at

I just want a link back to product page message was submited at, so I would know instantly what product is question about.

Post corrected, thanks

Please try

http://forum.cs-cart.com/topic/48116-http-referer/#entry273008

Thank you for the clarification. Possibly there is a bug in CS-Cart and correct referrer is not displayed. Try to place it to the bug tracker

I really like this idea, coupled with other improvements to make our users - customers lives easier and I would be interested in buying this addon. Just for the developer out there who are looking for ideas :)