Jump to content

Remove field from contact form or show it in email (1.6.1.10)


Tupelius

Recommended Posts

Hi!

Shop is otherwise ready but one thing is bothering me.

I am using default-bootstrap and store mode.

I am trying to remove a field from contact form but no luck so far.

In catalog mode the reference field is hidden.

How I hide it in store mode?

post-1357462-0-54042300-1483885606_thumb.png

post-1357462-0-09159300-1483885879_thumb.png

 

 

Another possibility is that I could attach those fields to email.

This could be even better solution.

His how it looks in email translations:

post-1357462-0-77627900-1483891308_thumb.png

 

This is how it looks on form:

post-1357462-0-03158300-1483891346_thumb.png

 

This is how looks on email:

post-1357462-0-56310900-1483891377_thumb.png

 

The {message} is shown correctly and also the {email}

How can I add those two other fields also to email?

I tryed to use those  id= but it didn't work.

 

<label for="id_contact">Valitse aihe</label>
                                            <select id="id_contact" class="form-control" name="id_contact">
                            <option value="0">-- Valitse --</option>
                                                            <option value="2">Asiakaspalvelu</option>
                                                            <option value="6">Haluan tehdä tilauksen</option>
                                                            <option value="4">Hintatiedustelut</option>
                                                            <option value="5">Laskutus</option>
                                                            <option value="3">Tukipyyntö ostamaani tuotteeseen</option>
                                                    </select>
                    </div>
                        <p id="desc_contact0" class="desc_contact">&nbsp;</p>
                                                    <p id="desc_contact2" class="desc_contact contact-title unvisible">
                                <i class="icon-comment-alt"></i>Kysymys myytävään tuotteeseen liittyen
                            
</p>
                                                    <p id="desc_contact6" class="desc_contact contact-title unvisible">
                                <i class="icon-comment-alt"></i>Tilaus
                            
</p>
                                                    <p id="desc_contact4" class="desc_contact contact-title unvisible">
                                <i class="icon-comment-alt"></i>Hintoihin liittyvät kysymykset
                            
</p>
                                                    <p id="desc_contact5" class="desc_contact contact-title unvisible">
                                <i class="icon-comment-alt"></i>Laskutukseen liittyvät kysymykset
                            
</p>
                                                    <p id="desc_contact3" class="desc_contact contact-title unvisible">
                                <i class="icon-comment-alt"></i>Tukea jo ostamaasi tuotteeseen
                            
</p>
                                                                <p class="form-group">
                        <label for="email">S&auml;hk&ouml;posti</label>
                                                    <input class="form-control grey validate" type="text" id="email" name="from" data-validate="isEmail" value="" />
                                            </p>
                                                                        <div class="form-group selector1">
                                <label>Order reference</label> (this is the "Nimi" field)
                                                                    <input class="form-control grey" type="text" name="id_order" id="id_order" value="" />
                                                            </div>
                                                                                                                <p class="form-group">
                            <label for="fileUpload">Liitetiedosto</label>
                            <input type="hidden" name="MAX_FILE_SIZE" value="67108864" />
                            <input type="file" name="fileUpload" id="fileUpload" class="form-control" />
                        </p>
                                    </div>
                <div class="col-xs-12 col-md-9">
                    <div class="form-group">
                        <label for="message">Viesti</label>
                        <textarea class="form-control" id="message" name="message"></textarea>

 

Hopefully someone has a solution for this problem!

 

Edited by Tupelius (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...