Hi
From another post I read about adding a custom element to read in a variable from a URL using GET. This worked fine but I've moved on a bit and now I'm stuck.
On this page:
http://www.staffstuff.co.uk/2014-03-01-13-39-26/emboidered-polo-shirts/budget-short-sleeve-embroidered-polo-detail
There is an Enquire button just below the image. This opens a chronoform and puts the product name in the top. That's fine.
BUT...
I want to get rid of this and have put the form into a tab called Enquire.
The form displays nicely so I'm happy with that. However, it won't display the product name as it's not a variable in the URL.
The PHP on the page that displays the product has this:
<?php echo $this->product->product_name ?>
So, my question is how I get the product name into a field in the form.
Any help would be gratefully received!
Regards
Andy
From another post I read about adding a custom element to read in a variable from a URL using GET. This worked fine but I've moved on a bit and now I'm stuck.
On this page:
http://www.staffstuff.co.uk/2014-03-01-13-39-26/emboidered-polo-shirts/budget-short-sleeve-embroidered-polo-detail
There is an Enquire button just below the image. This opens a chronoform and puts the product name in the top. That's fine.
BUT...
I want to get rid of this and have put the form into a tab called Enquire.
The form displays nicely so I'm happy with that. However, it won't display the product name as it's not a variable in the URL.
The PHP on the page that displays the product has this:
<?php echo $this->product->product_name ?>
So, my question is how I get the product name into a field in the form.
Any help would be gratefully received!
Regards
Andy