Display characteristics on a contact us form

  • Posts: 13
  • Thank you received: 0
13 years 11 months ago #7551

Hi,

I would like to be able to pull infor from HikaShop for use on a Contact Us form. for example, I would like to have a select form object that lists all the product characteristics....

How would I go about doing this?

Please Log in or Create an account to join the conversation.

  • Posts: 83050
  • Thank you received: 13410
  • MODERATOR
13 years 11 months ago #7552

Hi,

On the HikaShop contact us form ? Or on another contact form ?

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
13 years 11 months ago #7553

another contact us form (although, I don't know much about the hikashop contact us form - where can I find that?)

Please Log in or Create an account to join the conversation.

  • Posts: 83050
  • Thank you received: 13410
  • MODERATOR
13 years 11 months ago #7554

It's a new option in HikaShop since today and the release of version 1.4.5


Well, I don't know how your form is made, so I can't tell you how to modify it... The information of characteristics of a product is stored between the tables hiakshop_product hikashop_variant and hikashop_characteristics, so you would have to make a query to retrieve it. How to do it will depend on how your form is made... You should ask your form provider for that.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
13 years 11 months ago #7555

Currently I am just using a standard Joomla form via a menu item. So I have a contact setup and category, and I have a menu item that is of type single contact.

See attached image.

I would like to add Product details such as characteristics to this form.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83050
  • Thank you received: 13410
  • MODERATOR
13 years 11 months ago #7557

Why do you you want to add characteristics in this form ?
Do you want the user to see it ? Select something ? Should that information be sent in the contact email ?
Either way, that's not something which we could easily provide I'm afraid since it does not directly involve HikaShop, so we don't know how that form works and it would take quite some time to provide such modification.
I can give you pointers if you know PHP/MySQL but I would first need you to answer my questions.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
13 years 11 months ago #7566

Let me try to explain what I am trying to do.

I want to have an inquiry form people can use to ask questions about products. I want that form to contain information derived from the HikaShop tables

Does that make sense?

Please Log in or Create an account to join the conversation.

  • Posts: 83050
  • Thank you received: 13410
  • MODERATOR
13 years 11 months ago #7587

You need to understand that the contact form just sends an email with the information in the form. The message text area becomes de body of the email, the subject is the subject of the email, etc... Adding new form elements in the form won't add those elements values in the email...
That means that you would need to first add those form elements in the contact form, but you will also need to add some logic on the receiving controller of that form to process the information before sending the email.
It's not impossible but that's a joomla contact form modification. You'll need to know PHP and MySQL and do it yourself. We can't help you with this.

The hikashop contact form which is included in the latest version of HikaShop enables you to add a 'contact us' button on each of your product pages. When someone sends a contact request from it, you'll get an email which will tell you the name of the product for which the request was sent. This option is available in our commercial versions.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
13 years 11 months ago #7591

I hear you. I do have php (limited) and mysql skills :) So its just a matter of writing the SQL to pull the data from the hikashop tables, and writing the handler for that sql.

Will give it a go, thanks for your help.

Just out of curiosity, the commerical version contact us....what details about the product does it email? the name? is it configurable?

Please Log in or Create an account to join the conversation.

  • Posts: 83050
  • Thank you received: 13410
  • MODERATOR
13 years 11 months ago #7593

It just emails the product name. This feature is new (2 days old) so we didn't have a lot of options to it for now.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
13 years 6 months ago #21150

As I understand, and I am looking as well for such a solution as seen on other shopping carts, the possibility to have AT THE PRODUCT PAGE at the end of it a contact form (or even better a inquire form) where the visitor has to fill in only name, email address (and whatever any owner things its important to him/her) and send the mail.
The form collects the product code, the image, and the title maybe (or whatever fields are available from the setup of the product page).

It makes perfectly sense because some customers have questions about a product and would like to get more information but if it is to make a whole email with all the details he would very probably not go into the trouble doing it actually, and on the other hand, the owner will save allot of time if he receives the product code and the image of it maybe for visual recognition (or any other detail he things would be helpful to him to process the info faster).


The solution would be a simple module that could be added at the end of the page.
This module should just be universal configurable to make things easier to develop, for the fields to collect silently.

Allot of people will appreciate it without doubt B)

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
13 years 6 months ago #21164

I guess you could use your PHP and MySQL skills on updating or adding style to your contact form page. It would be up to you how to do it. Hikashop won't be able to do it for you since, I guess, you are the only user asking for it so far.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
13 years 6 months ago #21165

The thing is I don’t want it on my contact page.
That would be not so difficult.
But then I would need to redirect the visitor to that contact page. And that would irritate him.
Furthermore there is no capability to add it as a module at the bottom of the product page.
The modules someone could call are limited to hikashop's own modules only.
Pity and narrowing! :(

Please Log in or Create an account to join the conversation.

  • Posts: 83050
  • Thank you received: 13410
  • MODERATOR
13 years 6 months ago #21167

You can only add HikaShop modules in the option "modules under the product page", However, you can use the loadposition mechanism of joomla in the description of your products (or by adding the tag directly in the view code) in order to display any module at the bottom of the description on the product page.

You could use another contact or form component which would enable you to generate such form and include it on the product page like that. That's totally possible.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
13 years 5 months ago #21205

Is there any thought about to implement something like this in the future?

Please Log in or Create an account to join the conversation.

  • Posts: 83050
  • Thank you received: 13410
  • MODERATOR
13 years 5 months ago #21215

Why not. We're open to ideas.

Please Log in or Create an account to join the conversation.

Time to create page: 0.099 seconds
Powered by Kunena Forum