Tupelius Posted January 7, 2017 Share Posted January 7, 2017 (edited) 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? Another possibility is that I could attach those fields to email. This could be even better solution. His how it looks in email translations: This is how it looks on form: This is how looks on email: 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"> </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ähkö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 January 8, 2017 by Tupelius (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now