Re: Drop Shipping Purchase Orders Module for v1.3.8
Mustang394 - Sorry, I don't understand your last question.
The more I thought about your question the more I realized that these symptoms sound like someone who is updating and did not install the SQL update. Is that possible?
djjase - Glad to hear it works!
Re: Drop Shipping Purchase Orders Module for v1.3.8
Quote:
Originally Posted by
srturner47
Mustang394 - Sorry, I don't understand your last question.
The more I thought about your question the more I realized that these symptoms sound like someone who is updating and did not install the SQL update. Is that possible?
No it was a new install, everything seems to be working except the pdf file is not attached.
Was wondering where in the code it tells it to attach the file to the email.
I get the same error as everyone else if turn mime on, but neither text or html give me the file attachment.
Re: Drop Shipping Purchase Orders Module for v1.3.8
Hi
This mod seems to be really great. However, I am trying to set up for use in Australia, so some features don't work for me.
I would like help on 2 issues:
How can I change the date format in the packing list to dd/mm/yyyy format (I have changed this for my site as a whole but this date is not formating as I would like.
In the packing list I am getting this error appearing at the bottom of the packing slip: Shipping Option: <img
src=includes/templates/template_default/images/icons/austpos
t_logo.jpg alt=AustPost /> (<font
color="#FF0000">ERROR:</font> - where can I edit out this?
I am not using the Ty tracking module although I have it installed.
I am using the Aust Post shipping module
Thanks
Re: Drop Shipping Purchase Orders Module for v1.3.8
OzNet - That makes sense. If you have a picture for part of your shipping option it won't show up right on the pdf packing list. To take this out, just change these lines from send_pos.php:
Code:
if ($countproductsonpo != $countproducts)
$pdf->addNotes(SHIPPING_OPTION.": ".$tmpt[0][7]."\n\n".PO_PARTIALSHIP_PACKINGLIST."\n".$_POST[plistcomments]);
else
$pdf->addNotes(SHIPPING_OPTION.": ".$tmpt[0][7]."\n\n".PO_FULLSHIP_PACKINGLIST."\n".$_POST[plistcomments]);
change to:
Code:
if ($countproductsonpo != $countproducts)
$pdf->addNotes("\n\n".PO_PARTIALSHIP_PACKINGLIST."\n".$_POST[plistcomments]);
else
$pdf->addNotes("\n\n".PO_FULLSHIP_PACKINGLIST."\n".$_POST[plistcomments]);
To change the date format find this line in send_pos.php and send_pos_nc.php:
Code:
$invdate=date("m-d-Y");
Change it to whatever date format you want.
Enjoy!
Mustang - Sorry. I really don't know what is wrong. My best advice would be to hire someone to take a look at it. If you want to hire me, PM me, but anyone who knows what they are doing should be able to troubleshoot this. It is also possible that your server is somehow having problems attaching things. The file is attached using the function zen_mail. You can search for it in send_pos and send_pos_nc. Good luck!
Re: Drop Shipping Purchase Orders Module for v1.3.8
Just uploaded v3.12. Usually it takes a day or two to show up. Enjoy!
*****************************
V3.12 CHANGELOG
*****************************
1) HTML emails fixed.
2) Added {customers_comments} field for email header.
3) Added a list of fields to readme file.
Link
Re: Drop Shipping Purchase Orders Module for v1.3.8
Quote:
Originally Posted by
Mustang394
No it was a new install, everything seems to be working except the pdf file is not attached.
Was wondering where in the code it tells it to attach the file to the email.
I get the same error as everyone else if turn mime on, but neither text or html give me the file attachment.
Mustang: What version of ZenCart you have? If it is v1.3.7.1, it is known that the pdf is knot attaching - not sure why.
thanks,
Gabstero
Re: Drop Shipping Purchase Orders Module for v1.3.8
Quote:
Originally Posted by
gabstero
Mustang: What version of ZenCart you have? If it is v1.3.7.1, it is known that the pdf is knot attaching - not sure why.
thanks,
Gabstero
Running Zen Cart 1.3.8a
Re: Drop Shipping Purchase Orders Module for v1.3.8
http://www.zen-cart.com/forum/showthread.php?t=76632
According to DRBYTE in this thread Zen Cart no longer supports email file attachments.
wonder why they took that out.
A special thank to all those who tried to help, I really do appreciate it.
Re: Drop Shipping Purchase Orders Module for v1.3.8
You are correct, Zen Cart does not support file attachments as far as I know. However, if you look at the zen_mail function in 1.3.8, you will see that this ability has been added to Zen Cart, though as far as I know, it has not been utilized other than to add the ability to the zen_mail function. I believe this is why the attachments don't work with 1.3.7...but that is just speculation as I don't have a 1.3.7 install to look at.
UPDATE: Just noticed this from that thread:
----------
If you were hoping to have the uploaded file included as an attachment to the contact-us email, you should note that as of Zen Cart v1.3.7, there is no support for emailing attachments. That may change in future releases.
----------
That would explain why PDF attachments don't work with 1.3.7. They must have added that ability in 1.3.8.
Again, I highly recommend you hire someone to help you out Mustang. I am fairly confident your problem can be resolved. Good luck!
Re: Drop Shipping Purchase Orders Module for v1.3.8
I may have to down load the install package and look at the un moded files. I wonder if anyone has this installed on 1.3.8 and has the attachments working.
Might try it on a fresh install just to make sure one of my mods isn't causing the problem.
PM Sent.