Jump to content

add to cart


ruisonika
 Share

Recommended Posts

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}

 

Captura de ecrã 2020-08-31, às 17.41.50.png

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More