neti_treves Posted September 6, 2019 Share Posted September 6, 2019 Hi there, I am trying to make possible for users to order out of stock items. Basically, I am substituting the "out of stock" warning with a link to the contact form. I would like to have a pre-filled contact form with the book title and author. I'm okay with using a simple GET method (doable through a link) However, when I try to include a basic "<?php echo $_GET['pre-message']?>" in the textarea it stamps the code as it is. Is there a way to execute it? If not, how can I do that? (For instance, is there a way to set the $MESSAGE.enquiry variable?) Thanks! Link to comment Share on other sites More sharing options...
Noodleman Posted September 6, 2019 Share Posted September 6, 2019 Use the smarty engine. https://www.smarty.net Link to comment Share on other sites More sharing options...
bsmither Posted September 6, 2019 Share Posted September 6, 2019 This might be of interest to you: https://www.cubecart.com/extensions/plugins/ask-about-a-product Link to comment Share on other sites More sharing options...
Dirty Butter Posted September 7, 2019 Share Posted September 7, 2019 Take a look at my use of Ask about a Product here: https://dirtybutter.com/plushcatalog/dandee-collectors-choice-white-lamb-pink-jesus-loves-me.html Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.