Description
Good day,
I am currently working on a site for a client that wants to have products that is purchased from a website to be sent to his email address and then have his eft details sent with a invoice number back to the client's email.
The cart page is working perfectly, I am just struggling to get the content onto the checkout.php/send-email.php page and have all information sent to the owner of the site's email address. I have tried setting up the mailing code but no email gets sent and when it get's sent it doesn't display any information.
Code is as follows:
/////////////////////////////
add-to-cart.php
/////////////////////////////
/////////////////////////////
cart.php
/////////////////////////////
<div class="container">
<div class="row">
<div class="col-lg-10 col-lg-offset-1 col-md-12">
<div class="datagrid">
<table class="table">
<thead>
<tr>
<th>Product</th>
<th>Product Description</th>
<th>Unit Price</th>
<th>Quantity</th>
<th>Total</th>
<th>Remove</th>
</tr>
</thead>
<tbody>
<?php echo $cartOutput; ?>
</tbody>
<tfoot>
<tr>
<td colspan="12">
<div class="paging" style="background-color:rgba(4,4,4,0);">
<ul>
<li>
<?php echo $pp_checkout_btn; ?>
</li>
</ul>
</div>
</td>
</tr>
</tfoot>
</table>
<?php echo $cartTotal; ?>
</div>
</div>
</div>
</div>
<div class="footer-dark" style="background-color:rgba(1,1,1,0.75);">
<footer>
<div class="container">
<div class="row">
<div class="col-md-6 col-md-push-6 col-sm-8 item text">
<h1>Vape-Elicious </h1>
<h3>Give us a call!</h3>
<p>Hein Meyer - 0713523474 </p>
<p>Email:[email protected] </p>
<p>Mon - Fri, 8:00-22:00 </p>
<p style="color:rgb(250,251,252);"> </p>
<h3 style="color:rgb(252,127,1);">Products not for sale to anyone under 18</h3></div>
<div class="col-md-3 col-md-pull-6 col-sm-4 hidden item">
<h3>Services</h3>
<ul>
<li><a href="#">Web design</a></li>
<li><a href="#">Development</a></li>
<li><a href="#">Hosting</a></li>
</ul>
</div>
<div class="col-lg-6 col-md-6 col-md-pull-6 col-sm-4 item"><img src="assets/img/header.png" style="width:250px;">
<h3 class="hidden"> The story behind Vape-Elisious </h3>
<p>The Bearded Traveler adventured great distances, far across the land, from country to country, from continent to continent, to experience each and every culture on Earth, in search of inspiration for the perfect flavor that would
reunite all of the different cultures that have finally come together in an astonishing series of products known as vape-elicious. </p>
<ul></ul>
</div>
<div class="col-md-12 col-sm-12 item social"><a href="https://www.facebook.com/vapeelicious/"><i class="icon ion-social-facebook"></i></a><a class="hidden" href="#"><i class="icon ion-social-twitter"></i></a><a class="hidden" href="#"><i class="icon ion-social-snapchat"></i></a>
<a
class="hidden" href="#"><i class="icon ion-social-instagram"></i></a>
</div>
</div>
<p class="copyright">Vape-Elicious © 2017</p>
<p class="copyright">Developed by Sector36Technologies © 2017</p>
</div>
</footer>
</div>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/Full-Page-Background1.js"></script>
<script src="assets/js/Full-Page-Background2.js"></script>
<script src="assets/js/Full-Page-Background3.js"></script>
<script src="assets/js/Full-Page-Background.js"></script>
<script src="assets/js/bs-animation.js"></script>
//////////////
send-email.php
/////////////
////////////////
checkout.php
////////////////
Checkout
Please fill out the following information in order to complete your order.
*Required fields
</div>
</div>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/Full-Page-Background1.js"></script>
<script src="assets/js/Full-Page-Background2.js"></script>
<script src="assets/js/Full-Page-Background3.js"></script>
<script src="assets/js/Full-Page-Background.js"></script>
<script src="assets/js/bs-animation.js"></script>
<script src="assets/js/Contact-FormModal-Contact-Form-with-Google-Map.js"></script>
<script src="assets/js/PHP-Contact-Form-dark.js"></script>
<script src="assets/js/PHP-Contact-Form-dark1.js"></script>