EllisLab text mark
Advanced Search
     
Can EE create product specific contact forms
Posted: 12 July 2012 02:39 AM   [ Ignore ]
Joined: 2010-10-30
42 posts

Hi,

I will be building a website which will require a user to view a product page and if interested click to email the seller via a web form, I want some of the details from the product (name, code, colour etc) to be entered into the email form so the user then has only their personal details to add to the form before sending.

This would then allow the user to choose another product and the same functionality to take place (email via website, key fields being passed to the form so the user can send easily).

Would this be poss out of the box or with some specific addon functionality?
Thanks

 
Posted: 12 July 2012 09:29 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2002-12-06
4262 posts

Sure - one way to do it is to put the contact form into an embedded template then pass in the specifics via embed variables.  I’m doing that here (scroll to bottom):
http://www.espec.com/na/products/family/humidity_benchtop/

 Signature 

Get the missing EE2 owner’s manual - a complete guide to building an EE2 site.  It’s available in PDF or print.

 
Posted: 12 July 2012 09:33 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2010-10-30
42 posts

Thanks Mike,

by the way, loving the clarity of your EE 2 book - for a ‘Romantic’ thinker (Zen and the art of…) designer, its great

 
Posted: 12 July 2012 09:40 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2002-12-06
4262 posts

Thanks!  In all fairness though I have to give credit in that area to my wife (editor).  She’s awesome at kicking things back to me when they aren’t clearly explained.

 Signature 

Get the missing EE2 owner’s manual - a complete guide to building an EE2 site.  It’s available in PDF or print.

 
Posted: 12 July 2012 10:02 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2010-10-30
42 posts

Ha ha same here - the clear thinkers of the family…

Can I just check would that approach also work eg if you had a list of products on a page eg limit of say 10 and a button after each to then add the associated ‘product name’ label to a contact form…? ie button saying ‘enquire’

Thanks again
Kevin

 
Posted: 12 July 2012 10:04 AM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2002-12-06
4262 posts

Hmm…

Not sure in that case as you’d need to somehow assemble the selected list into an array that gets passed into the embedded template.

Almost makes me wonder if a better approach would just be a multi-selectbox on the form where users select products.

 Signature 

Get the missing EE2 owner’s manual - a complete guide to building an EE2 site.  It’s available in PDF or print.

 
Posted: 12 July 2012 10:15 AM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hi pixelcamp,

Enjoying the conversation here between you and Mike. Thanks Mike!

Is there anything else I can help you with?

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 12 July 2012 11:07 AM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Joined: 2010-10-30
42 posts

Thanks Shane/Mike, all sorted thanks, I thought it was a tricky one and couldn’t find suitable addons so may invest in a developer, thanks,

will consider the first option as well - as long as the list as per Mike’s example on the pull down was able to be populated via the latest products (ie the list of products would grow per month) so would need to sourced via product entries via eg the product channel

Thanks

 
Posted: 12 July 2012 12:11 PM   [ Ignore ]   [ # 8 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hey pixelcamp,

No worries! Thank you for your interest in ExpressionEngine.

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade