channeld Posted January 22, 2014 Share Posted January 22, 2014 Hi. I want to have a contact form with many fields. This form will be called in a modal box. This modal box will be shown when someone clicks on an image that will be displayed in the product detail page.But, I want to automatically get the title and price of the product in that form in order for the client not to type them again.The form data will be submitted to an email.Thus a perspective client will be able to send a request prior the purchase. Is there a solution for this? Link to comment Share on other sites More sharing options...
CartExpert.net Posted January 22, 2014 Share Posted January 22, 2014 Hi. Depends, if the content of the box is an iframe. If it's an iframe you will need to pass the product ID. If it will work like a lightbox, displaying a hidden content, you can simply display the name and price there. Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
channeld Posted January 22, 2014 Author Share Posted January 22, 2014 Hi. Thanks for this. No, it will not be an iframe. That is why I am asking. I do not know how to get these values. Link to comment Share on other sites More sharing options...
CartExpert.net Posted January 23, 2014 Share Posted January 23, 2014 Hi. Those values are in the product.tpl file: {$product->name|escape:'htmlall':'UTF-8'} {convertPrice price=$productPrice} Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now