Copy link to clipboard
Copied
I have a client that goes through inventory pretty quickly since things are hand-made. I have it set so that the price changes to 'please inquire' when an item is sold out, but I'd like to be able to add a feature where the user can contact the company about this specific product, so I'd like to be able to dynamically generate the product page or code that's associated with the product they are inquiring about, right from the page.
Any ideas how I can get this done?
I think what he is asking Mihai is about a product enquiery if out of stock or in general on the product page.
Easy to do Steve..
You just create a product enquiry form that you need with the fields you want, put it on the detail layout of the product and depending on how you want to implement it (model, or inline) style as you need.
For the field values like product name, code etc you may want auto populated you can just do value="{{name}}" (Liquid example) on the input fields. For those, because
...Copy link to clipboard
Copied
Not sure I understood what you mean. Do you want an "universal" product page and generate the product parameters like name, price, etc. on the fly?
If so I am thinking you could build a page that takes in the parameters from the URL, like for example
http://www.mysite.com/shop?productname=Special-cookies&price=30&[any other parameters here]
This would not generate the product dynamically but would allow you to put a form on that page, pre-fill the info form the URL and the site visitor can contact you for more info.
Would this work?
Thanks,
Mihai
Copy link to clipboard
Copied
I think what he is asking Mihai is about a product enquiery if out of stock or in general on the product page.
Easy to do Steve..
You just create a product enquiry form that you need with the fields you want, put it on the detail layout of the product and depending on how you want to implement it (model, or inline) style as you need.
For the field values like product name, code etc you may want auto populated you can just do value="{{name}}" (Liquid example) on the input fields. For those, because they will be always hidden you can just hide them from the user.
Then with a custom workflow notification the site admin will get that information and request through.
Is that what you are referring too?
Copy link to clipboard
Copied
Thanks for your suggestions! Yes Liam, this is exactly what I was looking for (and what a relief!) I'll test it out tonight!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more