Transmission of the order form through the mail?

<a class="callme_order_btn" data-product="<?php echo $item->product_name; ?>
<?php echo $item->product_sku; ?>
<?php echo K2StorePrices::number($subtotal) .'Ordering through the pre-payment of services '. 'URL: '.JURI::base().$item->alias; ?>"
<a href="/home/stati/46-bibendum-wisi-neque-erat-gravida massa"title="Ordering 1-click"alt="Ordering 1-click"><img src="images/zakaz.png"
onmouseout="this.src='images/zakaz.png';" /><a href="#" title="Delete item" onclick="k2storeCartRemove(this, 1089, 381, 2)"> <div class="k2storeCartRemove"> </div> </a></p> 
<script type="text/javascript">

Good day
On the website with K2store is a form of ordering in one click
How do I transfer the data on zakazana the item in the shopping cart for all available positions
There is here such form
 <?php $i=0; $k=0; $subtotal = 0;?>
 <?php foreach ($items as $item) : ?>

 $image_path = K2StoreItem::getK2Image($item->product_id, $this->params);


 <tr class="row<?php echo $k; ?>">
 <?php if($this->params->get('show_thumb_cart')) : ?>
 <td style="text-align: center;">
 <?php if(!empty($image_path)) : ?>
 <img src="<?php echo $image_path; ?>" class="itemImg<?php echo $this->params->get('cartimage_size','small') ?>" />
 <?php endif;?>
 <?php endif; ?>
 <td style="width: 50px; text-align: center;">
 the <strong><?php echo $item->product_name; ?></strong>
 <?php if (!empty($item->attributes_names)) : ?>
 <?php echo $item->attributes_names; ?>
 <?php endif; ?>
 <?php if (!empty($item->product_sku)) : ?>
 <b><?php echo JText::_( "K2STORE_SKU" ); ?>:</b>
 <?php echo $item->product_sku; ?>
 <?php endif; ?>

 <?php echo JText::_( "K2STORE_ITEM_PRICE" ); ?>: <?php echo K2StorePrices::number($item->product_price); ?>

 <td style="width: 50px; text-align: center;">
 <?php echo $item->product_qty; ?>
 <td style="text-align: right;">
 <?php $subtotal = $subtotal + $item->subtotal; ?>
 <?php echo K2StorePrices::number($item->subtotal); ?>
 <td><a title="<?php echo JText::_( 'K2STORE_CART_REMOVE_ITEM' ); ?>" onclick="k2storeCartRemove(this, <?php echo $item->cart_id; ?>, <?php echo $item->product_id; ?>, 1)"> <div class="k2storeCartRemove"> </div> </a> </td>
 <?php ++$i; $k = (1 - $k); ?>
 <?php endforeach; ?>

It displays all items with name, quantity and amount in a table
You can then transfer these values via
this form
 sendmail("Order from website", render(
 '<div><b>Name:</b> '.stripinput($_POST['name']).'</div>'.
 '<div><b>Phone:</b> '.stripinput($_POST['tel']).'</div>'.
 '<div><b>order Amount:</b> '.stripinput($_POST['product']).'</div>'

March 12th 20 at 08:40
0 answer

Find more questions by tags HTMLJoomla