1
Answers
Vote up!
0
Vote down!

How to sell unique products ?

Hello everybody, I'm quite new to drupal and Commerce and I'm french so sorry in advance for my english.

I'm currently building an e-commerce store for a person that want to sell unique objects (like hats, accessories, etc...).
I'm using commerce kickstart 2 and I would like to do the following :

Since there will be only unique objects on the site, I would like to show a "order custom product similar to this one" button next to the "add to cart" button on product pages. And when a product has been sold (so when the stock level is 0) I would like to only show the "order custom product similar to this one" button on the product page.

This "order custom product similar to this one" button's purpose is to give the ability to the customer to ask the seller (my employer who make unique objects) if it is possible for him to make a similar product. So this button would link to a form with a "special requirements for the custom product" field. And when the form is filled by the customer, an e-mail is sent to the seller telling him :

" [this customer] would like you to make him a custom product similar to [this one]

Click [here] to validate his order or click [there] to answer to your customer "

In short, I would like to create an exchange between the seller and his customers.
How can I achieve that ? I hope I've been clear enough... Thanks in advance for your answers :-)

Asked by: Scrip
on August 22, 2012

1 Answer

Vote up!
0
Vote down!

I recommend you

1) download and install http://drupal.org/project/webform

2) Create a view of available products

3A) Create a new webform with a list field that uses the view you created in #2 (the real value should be product_id)

3B) Make sure to set the default value to %get[related_product]

4) create a simple, static link that looks like this (in the Product Entity Template):

<a href="webforms/request_new?related_product=<?php echo $product_id; ?>">Make Something Similar</a>

That link should prepopulate your webform with a reference to the "related product" and allow you to add fields for asking for more information and give you the ability to send a notification email with all collected data to whomever you choose.

Josh

Josh Miller
Answer by: Josh Miller
Posted: Oct 2, 2012