FAQ

  • Orders2CSV item not showing in order grid

    Posted on June 25, 2012 by ext4mage

    Problem:
    The Orders2CSV in not showing up in the massaction dropdown menu on order grid.

    Solution:
    If you are using Orders2CSV PRO - just upgrade to newest version. Below solution is only working for free version.

    Most common reason for this error, is that another extension is also overwriting the "Mage_Adminhtml_Block_Sales_Order_Grid" function _prepareMassaction. What you can do is either to call my Grid (Ext4mage_Orders2csv_Block_Sales_Order_Grid) from that extension, or call that other extension from the file Ext4mage_Orders2csv_Block_Sales_Order_Grid. Alternative you can also include Orders2CSV functionality into the other function or vice versa.

    Example:
    Other module code add into Orders2CSV _prepareMassaction function:

    protected function _prepareMassaction()
    {
      parent::_prepareMassaction();
      if (Mage::getStoreConfig(self::XPATH_CONFIG_SETTINGS_IS_ACTIVE)) {
         $this->getMassactionBlock()->addItem('orders2csv', array(
           'label'=> Mage::helper('sales')->__('Orders2CSV'),
           'url' => $this->getUrl('*/sales_order_orders2csv/makecsv'),
         ));
         // Below is the other Extension code
         $this->getMassactionBlock()->addItem('delete_order', array(
           'label'=> Mage::helper('sales')->__('Delete order'),
           'url' => $this->getUrl('*/sales_order/deleteorder'),
         ));
      }
    }

    Related product:

    Orders2CSV PRO extension


    This post was posted in FAQ and was tagged with order, orders2csv, orders2csvpro, orders2CSV PRO, grid

  • Order PDF error when preview

    Posted on May 23, 2012 by ext4mage

    When pressing preview of a order PDF template gives error

    Problem:
    Error is thrown when trying to preview a HTML2PDF order template, with the error code: Fatal error: Call to a member function children() on a non-object in app/code/community/Ext4mage/Html2pdf/Model/Order/Pdf/Abstract.php on line 47

    Solution:
    Upgrade HTML2PDF to the latest version - this is now handled within the extension.

    Related product:
      HTML2PDF extension


    This post was posted in FAQ and was tagged with html2pdf, magento, pdf, order, print

  • Mass print action of PDF's

    Posted on May 23, 2012 by ext4mage

    Using the mass action print Invoice, shipping or creditmemo gives error.

    Problem:
    When trying to do the mass print action on the order grid screen, an error is thrown.
    Error text: Page is attached to other documen. Use clone $page to get it context free.

    Solution:
    The most common reason for this, is that another 3. party module is extending the Mage_Adminhtml_Sales_OrderController and therefor the HTML2PDF module is not being run here.

    So find the 3. party extension that also extends Mage_Adminhtml_Sales_OrderController, and add the code found in the file app/code/community/Ext4mage/Html2pdf/controllers/Admin/OrderController.php

    Related product:
      HTML2PDF extension


    This post was posted in FAQ and was tagged with html2pdf, invoice, magento, print pdf

  • HTML2PDF PDF not being shown

    Posted on May 23, 2012 by ext4mage

    Old style Magento PDF is shown not the HTML2PDF template.

    Problem:
    When pressing print in invoice, order, shipping or creditmememo the old Magento style PDF is shown, not the HTML2PDF template PDF.

    Solution:
    The most common reason for this error, is that another extension is installed that also tries to handle the PDF layout. So check if you have any other 3. party modules installed that has something to do with PDF layout. Then try to deactivate them in System->Configuration->Advanced or by going into app/etc/modules and change the 3 party module xml, so it says <active>false</active>.

    Alternative it can also be that the module is not activated. Go into System->Configuration-> Ext4mage->Html2pdf and activate the module if it is not active.

    Know 3. party modules to give problems:

    • MagentoPycho_PdfInvoice

    Related product:
      HTML2PDF extension


    This post was posted in FAQ and was tagged with html2pdf, invoice, magento, print pdf

  • Print PDF error - Unable to get image:

    Posted on May 23, 2012 by ext4mage

    When trying to preview a template or pressing print on invoice, shipping or creditmemo only get error - Unable to get image:

    Problem:
    When pressing either preview or print of any of the PDF the pdf is not shown and one of the following kind of error text shows:
    TCPDF ERROR: [Image] Unable to get image: /media/wysiwyg/xxx.jpg
    Unable to get image: /var/html2pdf/cache/*

    Solution
    There can be a couple of different reason for this error - try going trough these solution

    • The compleate Magento application is protected by .htaccess
    • The folder /var/html2pdf do not have the right permissions, should be same as rest of /var/ folder (properly 755 or 777) - also subfolders shall have these permissions

    You can also try deleting everything in the folder /var/html2pdf/cache/

    Related product:
      HTML2PDF extension


    This post was posted in FAQ and was tagged with html2pdf, invoice, magento, pdf

  • Error in HTML2PDF help screen

    Posted on May 23, 2012 by ext4mage

    Issue with showing the help pages of the HTML2PDF module.

    The help pages will give you a list of all variables, that can be used in the HTML2PDF extension. The page contains different tabs with variables related to the order, invoice, creditmemo, shipping, cross-sell and so on.

    If you see an error on this page - like the one below - the first thing to check is in the configuration. So go to System->Configuration->Ext4mage->Html2pdf and fill in the information here. The different id's that has to be filled, shall be real id's of order, invoice, product in the invoice, shipping and creditmemo.

    Error text seen on this issue:
    Fatal error: Call to a member function getMethodInstance() on a non-object in /app/code/core/Mage/Payment/Helper/Data.php

    Text on help page when not filled correctly:
    order_data_?  Selected order not present

    Related product:
      HTML2PDF extension


    This post was posted in FAQ and was tagged with html2pdf, magento, help page

6 Item(s)