Jump to content
PopTheTop

Fancier Invoice & Packingslip v1.0

Recommended Posts

I have the exact same problem and have been battling with it for over a week. What is wierd (and perhaps a clue to someone with more knowledge) is that I had this site on another server before taking it live. Everything was working perfectly, moved the site to the new server and everything except the email /checkout_success now works.

 

This site is currently live and it is a very real issue. I would be extremely grateful if someone could give me some advice or assistance. :'(

 

I think you need to edit the file "configure.php" in catalog/includes/local folder to seth all path correct.

Since you've changed your provider, the path is probably changed.

This is also descriped in step 6 of the installation manual.

 

Success!

Share this post


Link to post
Share on other sites

Hi all

 

I've been pondering installing this contribution - it looks like it's the type of mod that I'm after.

 

A quick question if I may...

 

In one note of the many updates/versions of FIP, I read that 'this is not compatible with PayPal IPN - is this correct?

Please say it is??

 

Sorry to try to fast track for an answer to this but it's early morning and I'm so tired after searching for more info for the last 4-5hrs.

 

Cheers

Tropolite

Share this post


Link to post
Share on other sites

Great package just a few simple things i carnt seem to sort out,

 

user section,

 

 

1) account_history_info.php?order_id=3 i get "NAVBAR_TITLE_4" up the top

 

2) When i click print invoice i get

 

The requested URL /FILENAME_PRINT_MY_INVOICE was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

Admin section

 

 

up the top of the invoice/packing slip i get

 

INVOICE_TEXT_INVOICE_NR 4

INVOICE_TEXT_INVOICE_DATE03/25/2007

 

 

have i missed a file?

 

Laurence


Please visit my web site from above link

Share this post


Link to post
Share on other sites

sorry just the account_history_info.php saying NAVBAR_TITLE_4

 

and the invoice/packing slips saying

 

 

INVOICE_TEXT_INVOICE_NR 4

INVOICE_TEXT_INVOICE_DATE03/25/2007

 

 

any help would be greatfull

 

Laurence


Please visit my web site from above link

Share this post


Link to post
Share on other sites
Great package just a few simple things i carnt seem to sort out,

 

user section,

 

2) When i click print invoice i get

 

The requested URL /FILENAME_PRINT_MY_INVOICE was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

 

 

Laurence

 

Hi H ave the same problem with printing, so any help would be appreciated

 

Thanks

 

Lloyd

Share this post


Link to post
Share on other sites

Pleeeeeease help :'(

 

Click here for my problem..

 

Would really appreciate any help as the shop was due to go live last nite and something went wrong after installing this contrib... and being in a rush i made the stupid decision/mistake of not backing up the last few files i edited, hense i don't know what the cause of the problem is...!

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Great contri, but I have a few problems, so hopefully can someone help!

 

1. normally osC send a mail to confirm to the customer and the shop, now nobody

receives a mail anymore... How can I fix that?

 

2. at the packingslip I have a red cross instead of the place of the logo; is it the path or...

 

3. at the invoice, at the top left, there is a red cross and the text: 'Click HERE to display or hide

the Order Comments box below for printing'; how can I fix that?

 

Thnx for your assistance!

Share this post


Link to post
Share on other sites

Hi

 

2. Packingslip => Go to catalog/admin/includes/language/english/packingslip.php

look for this string

// Image Info

define('INVOICE_IMAGE', 'images/ Put your image her .jpg'); //Change this to match your logo image and foler it is in

 

3. Invoice => Go to catalog/admin/includes/language/english/invoice.php

look for this string

// Image Info

define('INVOICE_IMAGE', 'images/put your image her .jpg'); //Change this to match your logo image and foler it is in

 

Hope this will help you ;)

 

1. normally osC send a mail to confirm to the customer and the shop, now nobody

receives a mail anymore... How can I fix that?

 

=> Need more info what you have done here

 

Cyclopes

 

Great contri, but I have a few problems, so hopefully can someone help!

 

1. normally osC send a mail to confirm to the customer and the shop, now nobody

receives a mail anymore... How can I fix that?

 

2. at the packingslip I have a red cross instead of the place of the logo; is it the path or...

 

3. at the invoice, at the top left, there is a red cross and the text: 'Click HERE to display or hide

the Order Comments box below for printing'; how can I fix that?

 

Thnx for your assistance!

Share this post


Link to post
Share on other sites

Thanks voor your quick respons!

I feel very embarressed... I didn't place a '/' in the beginning of the path... the logo is ok now.

 

The first question: the settings at E-mail options:

Send HTML or Text Invoices to Customers true

Default E-Mailed HTML Invoice Template html_invoice.php

E-Mail Transport Method smtp

E-Mail Linefeeds LF

Use MIME HTML When Sending Emails true

Verify E-Mail Addresses Through DNS false

Send E-Mails true

 

In the configuration, my store,

Send Extra Order Emails To info@myshop.nl

 

Before installation, an e-mail was sended to the customer and the shop, but now no one is

receiving e-maisl anymore...

Hope you have a solution!

Share this post


Link to post
Share on other sites

Just successful finished installation (Fancier_invoice_6.2).

Takes time because of many files, updates and corrections in language definition files.

 

Anyway it works fine!

but noted a bug in " My Account » History » Order # " section where "Billing Address" and "Delivery Address" is. It cut last world in area/country line. In my case only 11 letters on display and printout.

 

Please fix!

Thanks!

 

Sergei

Share this post


Link to post
Share on other sites

Just successful finished installation (Fancier_invoice_6.2).

Takes time because of many files, updates and corrections in language definition files.

 

Anyway it works fine!

but noted a bug in " My Account » History » Order # " section where "Billing Address" and "Delivery Address" is. It cut last world in area/country line. In my case only 11 letters on display and printout.

 

Please fix!

Thanks!

 

Sergei

Share this post


Link to post
Share on other sites

Hi,

 

I have just installed this contribution but now I am receiving an error when checking out. When I click 'Confirm Order' I receive the following error:

 

Hi,

 

I have just installed this contribution but now I am receiving an error when checking out. When I click 'Confirm Order' I receive the following error:

 

Warning: require(/home/YOUR_DOMAIN/public_html/catalog/admin/includes/languages/english/invoice.php) [function.require]: failed to open stream: No such file or directory in /home/inmy/public_html/includes/modules/email_invoice/email_invoice.php on line 30

 

Fatal error: require() [function.require]: Failed opening required '/home/YOUR_DOMAIN/public_html/catalog/admin/includes/languages/english/invoice.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/inmy/public_html/includes/modules/email_invoice/email_invoice.php on line 30

 

 

Can anyone shed some light on what I may have done wrong?

 

Thanks in advance.

 

Can anyone shed some light on what I may have done wrong?

 

Thanks in advance.

Share this post


Link to post
Share on other sites
I think you need to edit the file "configure.php" in catalog/includes/local folder to seth all path correct.

Since you've changed your provider, the path is probably changed.

This is also descriped in step 6 of the installation manual.

 

Success!

 

HI,

 

Im having the same problem right now and I know where to fix it but not exactly sure what I should the path to? at the moment the path is:

 

define('DIR_FS_ADMIN', '/home/YOUR_DOMAIN/public_html/catalog/admin/'); // absolute path required

 

My website is called: www.inmyimagination.com.au I have tried replacing the 'YOUR_DOMAIN' part of the path with inmyimagination.com.au but it still doesnt work. Anyone know what it should be??

 

Thanks in advance.

Share this post


Link to post
Share on other sites

hi

try this

 

define('DIR_FS_ADMIN', '/home/inmyimagination/public_html/catalog/admin/'); // absolute path required

 

;)

 

Cyclopes

 

 

HI,

 

Im having the same problem right now and I know where to fix it but not exactly sure what I should the path to? at the moment the path is:

 

define('DIR_FS_ADMIN', '/home/YOUR_DOMAIN/public_html/catalog/admin/'); // absolute path required

 

My website is called: www.inmyimagination.com.au I have tried replacing the 'YOUR_DOMAIN' part of the path with inmyimagination.com.au but it still doesnt work. Anyone know what it should be??

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Hi

Try this setup ;)

 

Send HTML or Text Invoices to Customers => true

Default E-Mailed HTML Invoice Template => html_invoice.php

E-Mail Transport Method => sendmail

E-Mail Linefeeds => LF

Use MIME HTML When Sending Emails => false <- this will switch between Html or text mail

Verify E-Mail Addresses Through DNS => false

Send E-Mails => true

 

Try this option

 

Cyclopes

 

 

Thanks voor your quick respons!

I feel very embarressed... I didn't place a '/' in the beginning of the path... the logo is ok now.

 

The first question: the settings at E-mail options:

Send HTML or Text Invoices to Customers true

Default E-Mailed HTML Invoice Template html_invoice.php

E-Mail Transport Method smtp

E-Mail Linefeeds LF

Use MIME HTML When Sending Emails true

Verify E-Mail Addresses Through DNS false

Send E-Mails true

 

In the configuration, my store,

Send Extra Order Emails To info@myshop.nl

 

Before installation, an e-mail was sended to the customer and the shop, but now no one is

receiving e-maisl anymore...

Hope you have a solution!

Share this post


Link to post
Share on other sites
hi

try this

 

define('DIR_FS_ADMIN', '/home/inmyimagination/public_html/catalog/admin/'); // absolute path required

 

;)

 

Cyclopes

 

Great thanks Cyclopes. Got it working. Cheers.

Share this post


Link to post
Share on other sites
@varnco:

 

2. then find this code (around line 110):

$ei_message->send(STORE_OWNER, SEND_EXTRA_ORDER_EMAILS_TO, $order->customer['name'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT);

 

and replace this with:

$ei_message->send(STORE_OWNER, SEND_EXTRA_ORDER_EMAILS_TO, $order->customer['name'], $order->customer['email_address'], $new_mail_subject, $email_order);

 

Hope this will help you.

 

BTW: The original code for adding the order# in the E-mail subject is found in this contrib: http://www.oscommerce.com/community/contributions,2878

If you replace with

and replace this with:

$ei_message->send('', SEND_EXTRA_ORDER_EMAILS_TO, $order->customer['name'], $order->customer['email_address'], $new_mail_subject, $email_order);

 

You will get back to able to send extra emails to more than one address and use the name1<emailaddress>, name2<email address> format again.


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites
If you replace with

and replace this with:

$ei_message->send('', SEND_EXTRA_ORDER_EMAILS_TO, $order->customer['name'], $order->customer['email_address'], $new_mail_subject, $email_order);

 

You will get back to able to send extra emails to more than one address and use the name1<emailaddress>, name2<email address> format again.

Hell, the edit didn't save.

 

Anyway, if you want order number in subject, see yarno post on page 49.

If you just want to send extra order emails to more than one person, change send(STORE_OWNER, to send('', on line 110 of email_invoice.php


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites
Hell, the edit didn't save.

 

Anyway, if you want order number in subject, see yarno post on page 49.

If you just want to send extra order emails to more than one person, change send(STORE_OWNER, to send('', on line 110 of email_invoice.php

and that should have said mreuver (sorry) post march 13 2007 page 49 in replying to varncos post.

Edited by Coopco

The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites

Hello,

 

Thank you for this great contrib. I only have one problem with the contrib.

I cannot get the email work. The problem is in editing checkout_process.php.

When after a customer hits the confirm button a blank screen appears. No email is sent.

 

this is my code:

// lets start with the email confirmation

// START HTML Invoice

if (EMAIL_INVOICE == 'true') {

require(DIR_WS_MODULES . EMAIL_INVOICE_DIR . FILENAME_EMAIL_INVOICE);

} else {

// END HTML Invoice

$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 .= $payment_class->title . "\n\n";

if ($payment_class->email_footer) {

$email_order .= $payment_class->email_footer . "\n\n";

}

}

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

 

// send emails to other people

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {

tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

}

 

// START HTML Invoice

}

// END HTML Invoice

// load the after_process function from the payment modules

$payment_modules->after_process();

 

$cart->reset(true);

 

// unregister session variables used during checkout

tep_session_unregister('sendto');

tep_session_unregister('billto');

tep_session_unregister('shipping');

tep_session_unregister('payment');

tep_session_unregister('comments');

 

tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL'));

 

require(DIR_WS_INCLUDES . 'application_bottom.php');

?>

 

I also tried removing $cart->reset(true); but there seems to be no difference. I do hope someone can help me solving this. Thanks in advance

Share this post


Link to post
Share on other sites

I forgot to tell:

 

The order does get into the order system. I can see it under admin/customers/orders.

Share this post


Link to post
Share on other sites
I forgot to tell:

 

The order does get into the order system. I can see it under admin/customers/orders.

One major problem with the contribution is that the files have info after the final ?>

The info is called white space and if your text editor shows line numbers, the will be a line number after the final ?>

Get rid of the white space, then you can work on the other errors.


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites

Hi Leslie

 

I have the same problem, but no white space after the end in checkout_process.php . What can then be the problem?

 

I have tried for hours now.

 

And also the print invoice button does not work. Any solutions?

 

Thank you. hope you can help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×