Bimse Posted April 16, 2004 Posted April 16, 2004 Sorry but I not so good to English Hey Remove the delivery address in e-mail and ordre when there are choosen a goods in the store. Are there anybody who know how to remove the delivery address on the e-mail that is send when there are choosen the opportunity to collect the ordred in the store. The modul who are used to choose "Get in store" are based on flat.php I have wittout luck tryed in the file checkout_process.php <?php 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 .= $payment_class->title . "\n\n"; if ($payment_class->email_footer) { $email_order .= $payment_class->email_footer . "\n\n"; } } New if ($order->content_type != 'virtual') { //not deliveryaddress when goods i get in the store if (tep_session_unregister('shipping') == ('hentbutik_hentbutik')) { $email_order .= "\n" . MODULE_SHIPPING_HENTBUTIK_EMAIL_TEXT . "\n"; } else { //not deliveryaddress when goods i get in the store $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n"; } //not deliveryaddress when goods i get in the store } //not deliveryaddress when goods i get in the store $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 .= $payment_class->title . "\n\n"; if ($payment_class->email_footer) { $email_order .= $payment_class->email_footer . "\n\n"; } } That work fine when there are choose "get in store" will be delivery address replace by MODULE_SHIPPING_HENTBUTIK_EMAIL_TEXT = Get in store But not wood choose of otter delivery method, delivery address replace by MODULE_SHIPPING_HENTBUTIK_EMAIL_TEXT Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.