ruisonika Posted August 31, 2020 Share Posted August 31, 2020 Hello, I need some help please. I wanna do this: two fields, one to customer put reference of the product and the other field the quantity, and a button to add to cart... I have created the front code but i don't know the rest, can any expert in php do give some help? My code is the following: {if $logged} <div id="fastOrder" class="block"> <h4 class="title_block">Encomenda Rápida</h4> <div class="form-group" style="padding:0 11px;"> <label for="fast_reference">Referência</label> <input type="text" class="form-control" id="fast_reference" name="fast_reference" value=""> <label for="fast_qty">Quantidade</label> <input type="number" class="form-control" id="fast_qty" name="fast_qty" value=""> </div> <div class="submit" style="padding:0 11px; margin-bottom:1em;"> <button class="btn btn-default button button-medium exclusive" type="submit" id="SubmitFastOrder" name="SubmitFastOrder"> <span> <i class="fas fa-bolt"></i> Encomendar </span> </button> <input type="hidden" class="hidden" name="" value=""> </div> </div> {/if} 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