Results 1 to 10 of 53

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Posts
    199
    Plugin Contributions
    0

    Default Re: PDF Order Center

    I enjoy PDFOC for quick and easy packing slips. Mine works fine with Super Orders installed, by the way. However, I've always had a problem with apostrophes in product names coming up as symbol code. Can't remember right now but it's something like "&39a;"
    Has anyone had this problem? Is there a quick fix?

  2. #2
    Join Date
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: PDF Order Center

    Just a note to say the to get rid of the 403 error, I had to change the admin/.htaccess and the admin/includes/.htaccess files.

  3. #3
    Join Date
    Aug 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: PDF Order Center

    Quote Originally Posted by brushwoodnursery View Post
    I enjoy PDFOC for quick and easy packing slips. Mine works fine with Super Orders installed, by the way. However, I've always had a problem with apostrophes in product names coming up as symbol code. Can't remember right now but it's something like "&39a;"
    Has anyone had this problem? Is there a quick fix?
    Same problem here. Also with all special german characters. A fix or solution will be very appreciated. Update for Zen1.5 also

    thanks

  4. #4
    Join Date
    Dec 2006
    Posts
    199
    Plugin Contributions
    0

    Default Re: PDF Order Center

    Quote Originally Posted by 2marco View Post
    Same problem here. Also with all special german characters. A fix or solution will be very appreciated. Update for Zen1.5 also

    thanks
    2marco, we had this fixed. I looked around in the files as best I could and found the following.
    in admin/includes/modules/pdfoc/templates/Packing-Slip.php

    I compared an old backup to the more recent file and found the following change. Not sure if this is it but I hope it helps. It's the only change I found in the module.

    old:
    Code:
     $prod_str = $order->products[$i]['qty'] . " x " . $order->products[$i]['name'];
    new:
    Code:
     $prod_str = $order->products[$i]['qty'] . " x " . html_entity_decode($order->products[$i]['name'], ENT_QUOTES);

  5. #5
    Join Date
    Aug 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: PDF Order Center

    thank you very much, I did made the changes to both the Packing-Slip.php as also for the invoice.php. But that is only for the product names offcourse. Maybe I had to clarify a little bit more, but the problem is also in the shipping and invoice adresses. I assume the html_entity_decode , ENT_QUOTES); should be implemented in this section also, but if someone could give me a hint, or the exact codes would be very nice.

  6. #6
    Join Date
    Aug 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: PDF Order Center

    Then also another question did came up: I have implemented the VAT-Mod BETA UNOFFICIAL for Zen Cart v. 1.3.9h, (works fine) But i need to show the VAT number of the customer on the invoice. I have tried a little bit, (as far as I could) and added the following line:

    Code:
     $pos = $pdf->ezText("<b>" . ENTRY_TVA_INTRACOM . "</b> " . $order->info['billing_tva_intracom'],PDFOC_GENERAL_FONT_SIZE);
    The ENTRY_TVA_INTRACOM is shown correctly in bold text, but the "billing_tva_intracom" which is available and filled in the database isn't. I assume it is a small mistake, and hopefully someone is willing to guid me in the right direction.

  7. #7
    Join Date
    Sep 2008
    Posts
    220
    Plugin Contributions
    0

    Default Re: PDF Order Center

    Hello..anyone successfully make this work with 1.5.5?

  8. #8
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: PDF Order Center

    Quote Originally Posted by navido View Post
    Hello..anyone successfully make this work with 1.5.5?
    I am willing to take a look. I started updating this module long ago, but stopped due to lack of interest by others. It probably needs lot of work.

  9. #9
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: PDF Order Center

    Quote Originally Posted by navido View Post
    Hello..anyone successfully make this work with 1.5.5?
    Working on an update right now. You can download a development version here from GitHub .

    It is for Zen Cart 1.5.6, but it should also work on 1.5.5
    Php minimal version is 5.6

    !! This is not for a live cart, just for testing. !!

 

 

Similar Threads

  1. PDF Order Center help.
    By drgr33n in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 6 Oct 2010, 11:07 AM
  2. PDF Order Center
    By cshellca in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Aug 2010, 06:45 PM
  3. pdf order center
    By tavikki in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 23 Nov 2008, 07:36 PM
  4. PDF Order Center
    By londoner1988 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 Mar 2008, 09:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg