The past couple of days I've been all over this and kept delaying it but it's driving me crazy. I am using and adapted version of the email checkout form (from this topic http://www.couchcms.com/forum/viewtopic.php?f=2&t=7413) and everything looks good. I fill in the fields and click send, I get the success message but I don't get any email...
This is how my checkout looks like :
This is how my checkout looks like :
- Code: Select all
<section>
<cms:if "<cms:pp_count_items />">
<div class="message">
<p class="notice">Vă rugăm să verificaţi comanda înainte de a o trimite.</p>
</div>
<div class="row">
<div class="twelve columns">
<table>
<thead>
<tr>
<th class="col-desc">Produs(e)</th>
<th class="col-quantity">Buc</th>
<th class="col-price">Preţ</th>
<th class="col-subtotal">Total</th>
</tr>
</thead>
<tbody>
<cms:pp_cart_items>
<tr>
<td class="col-desc"> <a href="<cms:show link />" class="cart-thumb">
<img src="<cms:show product_thumb />" width="70" height="70" alt="<cms:show title />">
</a>
</td>
<td class="col-quantity">
<cms:show quantity />
</td>
<td class="col-price">
<cms:number_format price />lei</td>
<td class="col-subtotal">
<cms:number_format line_total />lei</td>
</tr>
</cms:pp_cart_items>
<cms:if "<cms:pp_shipping />">
<tr class="row-extras">
<td class="col-extras-label" colspan="3">Subtotal</td>
<td class="col-extras">
<cms:number_format "<cms:pp_sub_total />" />lei</td>
</tr>
</cms:if>
<cms:if "<cms:pp_shipping />">
<tr class="row-extras">
<td class="col-extras-label" colspan="3">Costuri Transport:</td>
<td class="col-extras">
<cms:number_format "<cms:pp_shipping />" />lei</td>
</tr>
</cms:if>
<tr class="row-total">
<td class="col-total-label" colspan="3">Total:</td>
<td class="col-total">
<cms:number_format "<cms:pp_total />" />lei</td>
</tr>
</tbody>
</table>
<div class="cart-operations">
<div class="edit-cart-box"> <a href="<cms:pp_cart_link />" class="button">Modifică comanda</a>
</div>
</div>
<cms:form method="post" anchor='1'>
<cms:get_flash 'success_flash_msg' />
<cms:if k_success>
<cms:send_mail from='sales@imagins.ro' to=frm_email bcc='alin@imagins.ro' subject='Your order' debug='1'>Thank you for your order,
<cms:show frm_name />. Your order has been sent and is being processed. You will soon be contacted by one of our operators to confirm your order before shipping. Here is the summary: Items Ordered:
<cms:pp_cart_items>
<cms:show title />.
<cms:pp_selected_options separator=', ' />(
<cms:show quantity />qty) - $
<cms:number_format line_total /></cms:pp_cart_items>
<cms:if "<cms:pp_shipping />">Shipping: $
<cms:number_format "<cms:pp_shipping />" /></cms:if>Total Amount Payable: $
<cms:number_format "<cms:pp_total />" />Contact Details:
<cms:show frm_name />
<cms:show frm_phone />Delivery Address:
<cms:show frm_address /></cms:send_mail>
<cms:set_flash name='success_flash_msg' value="<p class='success'>Vă mulţumim!<br />Vă vom contacta în curând pentru a confirma comanda dumneavoastră.</p>" /></cms:if>
<cms:if k_error>
<div class="error">
<ul>
<cms:each k_error>
<li>
<cms:show item />
</li>
</cms:each>
</ul>
</div>
</cms:if>
<div id="shipping">
<cms:input type="text" name="name" label="Nume" value="Nume" onBlur="javascript:if(this.value==''){this.value=this.defaultValue;}" onFocus="javascript:if(this.value==this.defaultValue){this.value='';}" width="470" required="1" />
<cms:input type="text" name="email" label="E-mail" value="E-mail" onBlur="javascript:if(this.value==''){this.value=this.defaultValue;}" onFocus="javascript:if(this.value==this.defaultValue){this.value='';}" width="470" validator="email" required="1" />
<cms:input type="text" name="phone" label="Telefon" value="Telefon" onBlur="javascript:if(this.value==''){this.value=this.defaultValue;}" onFocus="javascript:if(this.value==this.defaultValue){this.value='';}" width="470" validator="non_negative_decimal" required="1" />
<cms:input type="text" name="address" label="Adresa" value="Adresa de livrare" onBlur="javascript:if(this.value==''){this.value=this.defaultValue;}" onFocus="javascript:if(this.value==this.defaultValue){this.value='';}" width="470" required="1" />
<div class="checkout-box">
<cms:input name="paypal" class="button checkout-button" type="submit" value="Trimite Comanda!" />
</div>
</div>
</cms:form>
</div>
</div>
<cms:else />
<div class="message">
<p class="info">Your cart is empty!</p>
</div>
</cms:if>
</section>