Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2021
839
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. <form name="form_add_to_cart" method="POST" class="form_product" id="form_add_to_cart" action="">
  2. <div class="row">
  3. <div class="price-text col-md-6 col-6">
  4. <span>Cena</span>
  5. </div>
  6. <div class="price-value col-md-6 col-6">
  7. <p><?php echo $product_price; ?> zł</p>
  8. </div>
  9. <div class="quantity-text col-md-6 col-6">
  10. <span>Ilość</span>
  11. </div>
  12.  
  13. <div class="quantity-input col-md-6 col-6">
  14. <div class="quantity">
  15. <input class="form-control" type="number" id="quantity" name="quantity" min="1"
  16. max="5" value="1">
  17. </div>
  18. </div>
  19.  
  20. <div class="checkbox-input col-md-12 col-12">
  21. <div class="row">
  22. <div class="checkbox-div col-md-3 col-12">
  23. <input type="checkbox" class="form-control" id="do_wash" name="do_wash"
  24. checked="checked">
  25. </div>
  26. <div class="checkbox-label col-md-9 col-12">
  27. <label for="do_wash">Czy mycie?</label>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="hidden-inputs">
  32. <input type="hidden" name="product_id" id="product_id"
  33. value="<?php echo $product_id; ?>">
  34. <input type="hidden" name="product_price" id="product_price"
  35. value="<?php echo $product_price; ?>">
  36. <input type="hidden" name="product_person_to_bringing" id="product_person_to_bringing"
  37. value="<?php echo $product_person_to_bringing; ?>">
  38. <input hidden="hidden" name="product_wash_price" id="product_wash_price"
  39. value="<?php echo $product_wash_price; ?>">
  40. <input hidden="hidden" name="product_bringing_price" id="product_bringing_price"
  41. value="<?php echo $product_bringing_price; ?>">
  42. <input hidden="hidden" name="product_calculate_bringing" id="product_calculate_bringing"
  43. value="<?php echo $product_calculate_bringing; ?>">
  44. <input hidden="hidden" name="action" id="add_product_to_cart"
  45. value="send_form">
  46. </div>
  47.  
  48. <div class="add-to-cart col-md-6 col-12">
  49. <input class="btn btn-primary" type="submit"
  50. name="add_to_cart-<?php echo $product_id; ?>" id="add_to_cart"
  51. value="Dodaj">
  52.  
  53. </div>
  54. </div> <!-- END ROW FORM GROUP -->
  55. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement