AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: timlight10 on September 05, 2022, 02:48:51 PM
-
I have added a form with Admin > Design > Forms Manager for customers to request a custom quote on a product. It appears on all of my product pages. I would like to have the page URL where the form was submitted to come to me in the e-mail when user clicks submit.
I have tried to add a "hidden" field with Field Value $_SERVER['HTTP_REFERER'] but that did not work.
Any suggestions?
-
try to use session. Set some value (current product url into $this->session->data['product_url']) and set it into your hidden field in the form
-
Nope, that doesn't work either. I just get the text "$this->session->data['product_url']" back.
-
Any other suggestions?