Author Topic: email confirmation NOT showing product ordered  (Read 2968 times)

br29

  • Beginner
  • *
  • Posts: 44
email confirmation NOT showing product ordered
« on: February 28, 2011, 18:49:15 pm »
my email confirmation is not showing what product was ordered. how can this be fixed?

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: email confirmation NOT showing product ordered
« Reply #1 on: February 28, 2011, 18:57:58 pm »
what theme are you using?

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

br29

  • Beginner
  • *
  • Posts: 44
Re: email confirmation NOT showing product ordered
« Reply #2 on: February 28, 2011, 20:31:08 pm »
vm_black

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: email confirmation NOT showing product ordered
« Reply #3 on: March 01, 2011, 03:29:50 am »
have you looked in the order_email.tpl?


J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

br29

  • Beginner
  • *
  • Posts: 44
Re: email confirmation NOT showing product ordered
« Reply #4 on: March 01, 2011, 19:01:08 pm »
looking at confirmation_email.tpl located in the directory \themes\vm_black\templates\order_emails

it appears to have all the correct code. im seeing product name, attribute, quantity.. as posting below. however the email confirmations we are getting on the admin side do not include any of this info. we are getting only the basic info, like billing, shipping, total amount.

could we be getting a different email than the customer?

<tr align=left class="Stil1">
      <th><?php echo $VM_LANG->_('PHPSHOP_CART_QUANTITY') ?></th>
           <th><?php echo $VM_LANG->_('PHPSHOP_CART_NAME') ?></th>
           <th><?php echo $VM_LANG->_('PHPSHOP_CART_SKU') ?></th>
      <th><?php echo $VM_LANG->_('PHPSHOP_CART_PRICE') ?></th>
      <th><?php echo $VM_LANG->_('PHPSHOP_CART_SUBTOTAL') ?></th>
</tr>


the emails we get include the following info (removed actual content for obvious reasons), but nothing about the actual product. located in the confirmation_email.tpl i see all the code above under "order items" but as you can see, this info is not in the emails.

========= SECURITY STATEMENT ==========
It is not recommended that you ship product(s) or otherwise grant services relying solely upon this e-mail receipt.

========= GENERAL INFORMATION =========

Merchant :

========= ORDER INFORMATION =========
Invoice :
Description : Purchase Order
Amount : 109.98 (USD)
Payment Method : Visa
Type : Authorization and Capture

============== RESULTS ==============
Response : This transaction has been approved.
Authorization Code :
Transaction ID :
Address Verification : Street Address: Match -- First 5 Digits of Zip: Match

==== CUSTOMER BILLING INFORMATION ===
Customer ID :
First Name :
Last Name :
Company :
Address :
City :
State/Province :
Zip/Postal Code :
Country : USA
Phone :
Fax :
E-Mail :

==== CUSTOMER SHIPPING INFORMATION ===
First Name :
Last Name :
Company :
Address :
City :
State/Province :
Zip/Postal Code :
Country : USA

======= ADDITIONAL INFORMATION ======
Tax : 0.00
Duty : 0.00
Freight : 9.99
Tax Exempt : No
PO Number :

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: email confirmation NOT showing product ordered
« Reply #5 on: March 01, 2011, 19:05:23 pm »
are you using html emails?

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

br29

  • Beginner
  • *
  • Posts: 44
Re: email confirmation NOT showing product ordered
« Reply #6 on: March 01, 2011, 21:30:31 pm »
good question. is that a default setting? where do i check that?

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: email confirmation NOT showing product ordered
« Reply #7 on: March 01, 2011, 21:31:55 pm »
in vmart configuration

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

br29

  • Beginner
  • *
  • Posts: 44
Re: email confirmation NOT showing product ordered
« Reply #8 on: March 01, 2011, 21:42:28 pm »
ah i see. yes i am.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: email confirmation NOT showing product ordered
« Reply #9 on: March 01, 2011, 21:46:09 pm »
this is the table header
<tr align=left class="Stil1">
      <th><?php echo $VM_LANG->_('PHPSHOP_CART_QUANTITY') ?></th>
           <th><?php echo $VM_LANG->_('PHPSHOP_CART_NAME') ?></th>
           <th><?php echo $VM_LANG->_('PHPSHOP_CART_SKU') ?></th>
      <th><?php echo $VM_LANG->_('PHPSHOP_CART_PRICE') ?></th>
      <th><?php echo $VM_LANG->_('PHPSHOP_CART_SUBTOTAL') ?></th>
</tr>

that does not show the products.

do you have the product code in there?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

br29

  • Beginner
  • *
  • Posts: 44
Re: email confirmation NOT showing product ordered
« Reply #10 on: March 01, 2011, 21:56:08 pm »
this is the section i assume if for product info

<!-- begin order items information -->
  <tr bgcolor="#CCCCCC" class="Stil2">
    <td colspan="2"><b><?php echo $VM_LANG->_('PHPSHOP_ORDER_ITEM') ?></b></td>
  </tr>
  <tr>
    <td colspan="2">
      <table width=100% cellspacing=0 cellpadding=2 border=0>
        <tr align=left class="Stil1">
         <th><?php echo $VM_LANG->_('PHPSHOP_CART_QUANTITY') ?></th>
           <th><?php echo $VM_LANG->_('PHPSHOP_CART_NAME') ?></th>
           <th><?php echo $VM_LANG->_('PHPSHOP_CART_SKU') ?></th>
         <th><?php echo $VM_LANG->_('PHPSHOP_CART_PRICE') ?></th>
         <th><?php echo $VM_LANG->_('PHPSHOP_CART_SUBTOTAL') ?></th>
        </tr>
<?php
// CREATE THE LIST WITH ALL ORDER ITEMS
$order_items = "";
$sub_total = 0.00;
while($dboi->next_record()) {
   $my_qty = $dboi->f("product_quantity");
   if ($auth["show_price_including_tax"] == 1) {
      $price = $dboi->f("product_final_price");
      $my_price = $CURRENCY_DISPLAY->getFullValue($dboi->f("product_final_price"), '', $db->f('order_currency'));
   } else {
      $price = $dboi->f("product_item_price");
      $my_price = $CURRENCY_DISPLAY->getFullValue($dboi->f("product_item_price"), '', $db->f('order_currency'));
   }
   $my_subtotal = $my_qty * $price;
   $sub_total += $my_subtotal;
   ?>
   <tr class="Stil1">
      <td><?php echo $my_qty ?></td>
      <td><?php $dboi->p("product_name")?> <?php echo ($dboi->f("product_attribute") ? ' ('.$dboi->f("product_attribute").')' : ''); ?></td>
      <td><?php echo $ps_product->get_field($dboi->f("product_id"), "product_sku") ?></td>
      <td><?php echo $my_price ?></td>
      <td><?php echo $CURRENCY_DISPLAY->getFullValue($my_subtotal, '', $db->f('order_currency')) ?></td>
   </tr>
   <?php
}
?>
        <tr class="Stil1">
          <td colspan=4 align=right>&nbsp;&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr class="Stil1">
          <td colspan=4 align=right><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_SUBTOTAL') ?> :</td>
          <td><?php echo $order_subtotal ?></td>
        </tr>
        <?php
        // DISCOUNT HANDLING         
      if ( PAYMENT_DISCOUNT_BEFORE == '1') {
         if ($order_discount > 0 || $order_discount < 0) {
               ?>
               <tr class="Stil1">
                  <td align="right" colspan="4"><?php echo $order_discount_lbl ?>: </td>
                  <td> <?php echo $order_discount_plusminus .' '. $CURRENCY_DISPLAY->getFullValue(abs($order_discount), '', $db->f('order_currency')) ?></td>
               </tr>
               <?php
         }
         if ($coupon_discount > 0 || $coupon_discount < 0) {
            ?>
            <tr class="Stil1">
               <td align="right" colspan="4"><?php echo $VM_LANG->_('PHPSHOP_COUPON_DISCOUNT') ?>: </td>
               <td><?php echo $coupon_discount_plusminus. ' '.$CURRENCY_DISPLAY->getFullValue(abs($coupon_discount), '', $db->f('order_currency')) ?></td>
            </tr>
            <?php
         }
      }
      ?>
        <tr class="Stil1">
          <td colspan=4 align=right><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_SHIPPING') ?> :</td>
          <td><?php echo $order_shipping ?></td>
        </tr>
        <tr class="Stil1">
          <td colspan=4 align=right><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?> :</td>
          <td><?php echo $order_tax ?></td>
        </tr>
        <?php
      if ( PAYMENT_DISCOUNT_BEFORE != '1') {
         if ($order_discount > 0 || $order_discount < 0) {
               ?>
               <tr class="Stil1">
                  <td align="right" colspan="4"><?php echo $order_discount_lbl ?>: </td>
                  <td> <?php echo $order_discount_plusminus .' '. $CURRENCY_DISPLAY->getFullValue(abs($order_discount), '', $db->f('order_currency')) ?></td>
               </tr>
               <?php
         }
         if ($coupon_discount > 0 || $coupon_discount < 0) {
            ?>
            <tr class="Stil1">
               <td align="right" colspan="4"><?php echo $VM_LANG->_('PHPSHOP_COUPON_DISCOUNT') ?>: </td>
               <td><?php echo $coupon_discount_plusminus. ' '.$CURRENCY_DISPLAY->getFullValue(abs($coupon_discount), '', $db->f('order_currency')) ?></td>
            </tr>
            <?php
         }
      }
      ?>
        <tr class="Stil1">
          <td colspan=4 align=right><b><?php echo $VM_LANG->_('PHPSHOP_CART_TOTAL') .": " ?></b></td>
          <td><?php echo $order_total ?></td>
        </tr>
      </table>
    </td>
  </tr>
  <!-- end order items information -->

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10401
  • VirtueMart Version: 3+
Re: email confirmation NOT showing product ordered
« Reply #11 on: March 02, 2011, 15:09:11 pm »
copy the whole order email file, and paste it into an html validator

I have never seen this problem before
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

br29

  • Beginner
  • *
  • Posts: 44
Re: email confirmation NOT showing product ordered
« Reply #12 on: March 02, 2011, 17:13:15 pm »
im using dreamweaver cs5 and its not flagging anything as broken. ill try getting a fresh copy of the file and going through it i guess.

thanks for the help.