Jump to content

Archived

This topic is now archived and is closed to further replies.

HobbesBS

Fancier Invoice an Packagingslip for 2.31

Recommended Posts

Hello all here :-

 

have anybody in this forum the Invoice and Packaginslip for 2.3.1 working in 2.3.2?

If yes, please help..

 

1. in my checkout process, wenn a order ist paced.. i see only a blank site. order is comming in admin, but in shop site are blank and no mail to customer.

 

2. In admin, the packaginslip don´t work. only a blank page i see there.

 

I hope anybody can help here :-

 

greets

Hobbes

Share this post


Link to post
Share on other sites

@@HobbesBS it should work on 2.3.2 the same as 2.3.1 - double and triple check your install


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Hello Mort,

 

that i have done, i think i have a problem with my checkout_process.

 

in install there is...

// lets start with the email confirmation

 

Add After:

// START HTML Invoice

if (EMAIL_INVOICE == 'true') {

require(DIR_WS_MODULES . EMAIL_INVOICE_DIR . FILENAME_EMAIL_INVOICE);

} else {

// END HTML Invoice

 

and in my one ich have something, so i don´t who i have to add it the code.

 

my checkout :

// 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";

}

 

$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";

// osc-support-edition EOF

 

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

Can you tell me, who i have to change the code ????

 

greets

Hobbes

Share this post


Link to post
Share on other sites

×