ZestMedia / basic_ubercart

A basic Ubercart installation profile.
0 stars 0 forks source link

Product enquiry #8

Open leex opened 10 years ago

leex commented 10 years ago

Allow users to enquire about a product.

Questions:

Q1) When someone enquires, we could send the cart along with the enquiry, should we do this?

Tasks:

T1) Add a form to the product page so users can enquire about that particular product. Let them send a message, their name and email.

leex commented 10 years ago

T1 Done.

I've also added the users current cart to the submission although the formatting isn't great. For some reason it extracts the links I add and references them in the footer of the email. Other links however are inline.

There is also inconsistency between the email and the 'submissions' saved in the backend. This is a problem with webform because it saves the HTML encoded. Not sure what we can do about that one but probably not a big deal.

leex commented 10 years ago

T2) Change form to use a fieldset for show/hide functionality. Remove custom button as the fieldset label will function as this button. Move the submit button inside the form. See Shelter Station website for example of where this has already been done. In fact, just take the code from there.

davejwnz commented 10 years ago

Links issue could be related to txt based emails rather than html - it appends the links at bottom of txt emails.

To add on to this...

Admin user should be able to define if a product can be purchased or it is an enquiry only product.

Should also have a site preference to define based on stock levels, ie if '0' and below for stock then remove 'add to cart' and replace with 'enquire about this product' only.