Ejemplo n.º 1
0
    ?>

  <div class="buttonSet">
    <span class="buttonAction"><?php 
    echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary');
    ?>
</span>
<?php 
    // EU-NEUE -BOF
    ?>
<br>
      <p class="tax_info">
        <?php 
    $c__heimatland = 14;
    // 81 = Deutschland //
    list($lieferdatum_von, $lieferdatum_bis) = get_lieferzeitraum($c__heimatland);
    echo TEXT_LIEFERUNG . $lieferdatum_von . "-" . $lieferdatum_bis;
    ?>
      </p>
<?php 
    // EU-NEUE EOF
    ?>
    <?php 
    echo tep_draw_button(IMAGE_BUTTON_REVIEWS . ($reviews['count'] > 0 ? ' (' . $reviews['count'] . ')' : ''), 'comment', tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()));
    ?>
  </div>

<?php 
    if (USE_CACHE == 'true' && empty($SID)) {
        echo tep_cache_also_purchased(3600);
    } else {
Ejemplo n.º 2
0
    //------insert customer choosen option eof ----
    $products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n";
}
// lets start with the email confirmation
$email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";
if ($order->info['comments']) {
    $email_order .= tep_db_output($order->info['comments']) . "\n\n";
}
$email_order .= EMAIL_TEXT_PRODUCTS . "\n" . EMAIL_SEPARATOR . "\n" . $products_ordered . EMAIL_SEPARATOR . "\n";
for ($i = 0, $n = sizeof($order_totals); $i < $n; $i++) {
    $email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n";
}
if ($order->content_type != 'virtual') {
    $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n";
    // EU-NEUE-BOF
    list($lieferdatum_von, $lieferdatum_bis) = get_lieferzeitraum($order->info['country_id']);
    $email_order .= "\n" . TEXT_LIEFERUNG . $lieferdatum_von . '-' . $lieferdatum_bis . "\n";
    // EU-NEUE -EOF
}
$email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $billto, 0, '', "\n") . "\n\n";
if (is_object(${$payment})) {
    $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n";
    $payment_class = ${$payment};
    $email_order .= $order->info['payment_method'] . "\n\n";
    if (isset($payment_class->email_footer)) {
        $email_order .= $payment_class->email_footer . "\n\n";
    }
}
// osc-support-edition BOF
require DIR_WS_LANGUAGES . $language . '/' . FILENAME_WIDERRUF;
$email_order .= utf8_encode(html_entity_decode(TEXT_WIDERRUF_CHECKOUT, ENT_QUOTES, 'ISO-8859-15')) . "\n\n";