ext4mage

  • Orders2CSV PRO - Variable use in column value

    Posted on October 16, 2012 by ext4mage

    Variable use in column value

    There are a lot of variables at your disposal. All variables that exist in Orders2CSVPRO are shown in the help section, and you can also use default Magento variables. The way that you indicate a variable, is by using the format shown below in code example.

    {{variable_code}} the format
    {{order_data_status}} example, will print the status of the order

    The variables are divided up into different types. A general section which can be used in all types ofCSV’s.

    Magento orders2csvPRO extension help general

    And there a variables that can only be used in different types. There are groups of variables for invoice, shipment and credit memo, which can only be used in that CSV types.

    Magento orders2csvPRO extension help invoice

    Variables related to product are found under each type, and general variables that can be used in all type under Product and Product Bundle, which include variables related to the bundle group and the single items in the bundle.

    Formatting variables

    There are some standard formatting options available in the Orders2CSVPRO module. These formatting can be used on all variables, whether or not they are computed or single. The last tab in help pages, is a list of all the available formatting options.

    Magento orders2csvPRO extension help formatting

    You use formatting for a single variable on the way shown below here:

    {{formatting variable_code}} the format
    {{format_price order_data_subtotal}} example, will print the subtotal of order with the correct currency formatting

    If you have inline code the formatting of that is as follows

    ##formatting  the_code## the format
    ## format_price  {{order_data_subtotal }}-{{order_data_discount}}## example, will print the subtotal minus the discount with the correct currency formatting

    Coding inline in value field

    With Orders2CSVPRO inline code you can make the export file very specialized. You can do everything from simple math stuff to very complex PHP code. I will give a short introduction to what you can do, but there is many more options to generate custom values. The format of inline coding in Orders2CSVPRO is as follows

    ## the_code## the format
    ##{order_data_subtotal }}-{{order_data_discount}}## will print the subtotal minus the discount

    The above example is very simple, here we just take one value and subtracts another.

    The power of this function is very massive, because you can use different types of PHP code directly in the value field. An example could be that you to print the a text and calculate the average item price, this can be done by below code:

    You have ordered {{format_integer invoice_data_total_qty}} item with an average price of  ##{{format_convert_price invoice_data_subtotal_incl_tax}}/{{format_integer invoice_data_total_qty}}##

    Not all PHP function can be used. Example: if expression cannot be used, instead use the conditional operator ?: - the eval function is used in Orders2CSVPRO, you can read more about it on php.net

    Be sure that you are signed up for ext4mage newsletter, because we will be sending out tips and examples of ways to use inline coding.

    The Orders2CSV PRO extension for Magento
    See more about the magento extension Orders2CSV PRO


    This post was posted in Manual and was tagged with orders2csvpro, orders2CSV PRO, manual

  • Notify4errors user manual

    Posted on October 1, 2012 by ext4mage

    User manual

    The notify4errors extension for Magento

    Intro

    The notify4errors module from ext4mage.com makes it possible to see errors and notifications that your users experience. It records error, warning and notification messages from your system, and also records all 404 page not found errors that happens. All recordings is shown with information about the call and the users system, so that it is possible to use the data to debug the problems.

    This document is a guide to teach you how to use the module. For installation instructions please see the installation manual.

    System options

    Set up the general options for the use of the module.

    notify4errors_configuration

    Field description:

    • Messages levels – which messages shall be saved (errors, warnings and notices)
    • Capture CMS no-route – shall 404 page not found errors be captured
    • Capture CMS no-cookie – shall request where customer do not have cookie enabled be captured

     

    Log of errors

    The first you see when you click on ext4mage->notify4errors is a list off all notification that is recorded in the module. You can then click on it to see more information about an recording. notify4errors_grid

    View recording

    All information about the recording will now be shown, based on which type it is different information will be shown. If the recording is a messages then the message text will be shown

    Some of the information shown is also related to the users how got the error

    The notify4errors extension for Magento
    See more about the magento extension notify4errors


    This post was posted in Manual

  • HTML2PDF User manual - Index / Intro

    Posted on July 24, 2012 by ext4mage

    Content

     
     

    Intro
    The HTML2PDF module from ext4mage.com will help you make Magento PDF print’s with ease. It is now possible to make Magento PDF’s with a WYSIWYG editor, as you know it from the CMS pages of Magento.
    It also brings you the possibility to setup different PDF’s for you stores and languages. Still with a maximum of reuse.

    This document is a guide to teach you how to use the HTML2PDF module. For installation instructions please see the installation manual. This manual is designed to explain every step of the module, and give an understanding of the different elements and fields used in HTML2PDF module.

    Throughout the manual you will see two types of text elements.

    This type of text will have some tips & tricks to the current subject. Read them, because they will contain information that will save you many hours.

    In these text format code examples and formatting are written.
     
     

    The HTML2PDF extension for Magento
    See more about the magento extension HTML2PDF


    This post was posted in Manual and was tagged with html2pdf, magento, pdf, print pdf, manual

  • HTML2PDF User manual - Development mode

    Posted on July 24, 2012 by ext4mage

    Development mode

    The HTML2PDF module has an inbuilt function to set it in development mode this is very useful when making a template. You set the module into development mode in system settings.

    Be aware that development mode affects the entire module, so it is not possible to print any PDF’s in this mode. Alternative you can also set the module to inactive, so Magento PDF’s are used, and then use the preview function in the template screen.

    When in development mode the code breaks, and prints the templates information and html directly to the screen. The first thing you see is a long list of text like the on below, it contains 2 types of print-out.

    • The first Variable in template is the variable function being performed, you can see the variable code and then the Magento code that is translated into, and finally the real value it produces.
    • Second is the inline code, here you see the code being processed after all variables have been translated into real values. The next line is the html code after the processing, this is the code that will be used in to PDF generator

    HTML2PDF User manual - development mode printout

    If it is still not showing in the PDF as in the development mode print-out, then check the html code to see if anything here is wrong

    Last in the print-out the header, main and footer text is printed out in html. This is the final html code that is being sent to the PDF generator.

    HTML2PDF User manual - development mode printout all

    If everything is looking fine in the development print-out, but not showing up in the PDF then check the html is well-formatted. Even if you are missing an end </b> can break the PDF generator.

     
     
     

    The HTML2PDF extension for Magento
    See more about the magento extension HTML2PDF


    This post was posted in Manual and was tagged with html2pdf, magento, pdf, pdf layout, manual, debugging

  • HTML2PDF User manual - Customer viewing

    Posted on July 24, 2012 by ext4mage

    Customer viewing

    From version 1.3 it is possible to let the customer download the PDF’s from their account, or you can attach it to the different sales emails.

    When the customer logs into his account and goes to My Orders and selects an order the below screen will be shown, here invoice tab selected.

    HTML2PDF User manual - customer myorders print of pdf

    When the customer then clicks on Print Order, Print Invoice etc. it will be the HTML2PDF generated PDF, which is presented to the customer.

    If the function to attach the PDF’s to the sales emails is used, when the emails is then sent, the PDF and the Term and Conditions (is selected) is attach to the email as files.

    HTML2PDF User manual - customer mail with pdf attached

     
     
     

    The HTML2PDF extension for Magento
    See more about the magento extension HTML2PDF


    This post was posted in Manual and was tagged with html2pdf, magento, pdf, manual, customer, frontend

  • HTML2PDF User manual - Example explained

    Posted on July 24, 2012 by ext4mage

    Example explained

    In the HTML2PDF module when just installed is examples of templates. Below is the example for the invoice template’s main text, here you can see that both variables and formatting are used. Make notice of the way tables are used in the examples, if you would do the same with div or similar it would not work. Use the templates as inspiration or as the base of you own templates, just use save as function so the original is not overwritten. HTML2PDF User manual - example of a PDF template

    Notice the way cellspacing and cellpadding is used in the inline tables of the example. Use this way and not style padding or margin elements

    Below is the invoice example in a PDF reader, here you can see all the variables change to real values.

    HTML2PDF User manual - the PDF from the example template

     
     
     

    The HTML2PDF extension for Magento
    See more about the magento extension HTML2PDF


    This post was posted in Manual and was tagged with html2pdf, magento, pdf, pdf layout, manual

  • HTML2PDF User manual - Using inline coding

    Posted on July 24, 2012 by ext4mage

    Using inline coding

    This is where things get very powerful and a bit complex. If you do not know PHP just a bit, then be careful about which code you type in here.

    What you can do with HTML2PDF inline code, is everything from simple math stuff to very complex PHP code. I will here give a short taste of what you can do, but there is a lot of other possibilities. The format of inline coding in HTML2PDF is as follows

    ## the_code##            //the format
    ##{order_data_subtotal }}-{{order_data_discount}}##
      //will print the subtotal minus the discount
    

    The above example is very simple, here we just take one value and subtracts another.

    The below example from the example template delivered with HTML2PDF is more complex. Here we want to show the picture of a product in the product table, for that we need 2 different variables. The first one is Magento build-in media function (also know from Magento CMS) to get the correct path, and then the products image URL. But before we can render the image we have to check if it exists, otherwise the PDF generator will give an error. The way we do that is  by checking if the product URL has the text  “no_selection” (found by looking in the help page variables), and if it is not equal that we render the image. HTML2PDF User manual - using inline coding example

    Not all PHP function can be used. Example: if expression cannot be used, instead use the conditional operator ?: - the eval function is used in HTML2PDF, you can read more about it on php.net

    It can be a bit tricky to get the inline code to work, but setting HTML2PDF in development mode can be very useful when creating and testing inline code

    Be sure that you are signed up for ext4mage newsletter, because we will be sending out tips and examples of ways to use inline coding.

     
     
     

    The HTML2PDF extension for Magento
    See more about the magento extension HTML2PDF


    This post was posted in Manual and was tagged with html2pdf, magento, pdf, print pdf, manual, inline coding

  • HTML2PDF User manual - Using formatting

    Posted on July 24, 2012 by ext4mage

    Using formatting

    There are some standard formatting options available in the HTML2PDF module. These formatting can be used on all variables, whether or not they are computed or single. See more about computed variables in section Using inline coding.

    The last tab in help pages, is a list of all the available formatting options. HTML2PDF User manual - listing formatting in help

    The way you use formatting is like follows for a single variable

    {{formatting variable_code}}        //the format
    {{format_price order_data_subtotal}}
      //example, will print the subtotal of order with the correct currency formatting
    

    If you have inline code the formatting of that is as follows

    ##formatting the_code##             //the format
    ##format_price {{order_data_subtotal }}-{{order_data_discount}}##
      //example, will print the subtotal minus the discount with the correct currency formatting
    
     
     
     

    The HTML2PDF extension for Magento
    See more about the magento extension HTML2PDF


    This post was posted in Manual and was tagged with html2pdf, magento, pdf, manual, variables

  • HTML2PDF User manual - Using variables

    Posted on July 24, 2012 by ext4mage

    Using variables

    There are a lot of variables at your disposal when making a text or table element. All HTML2PDF accessible variables are shown in the help section, but beside these all default Magento variables can also be used. The way that you indicate a variable, is by using the format shown below in code example and screen print.

    {{variable_code}}        //the format
    {{order_data_status}}    //example, will print the status of the order
    

    HTML2PDF User manual - using variables in PDF

    The variables are divided up into the types of PDF that you can create. There are a general section of variables which can be used in all types of PDF’s. HTML2PDF User manual - listing order variables in help

    And there a variables that can only be used in a specific type. There are groups of variables for invoice, shipment and credit memo, which can only be used for that specific type of PDF.HTML2PDF User manual - listing invoice variables in help

    Some variables are to be used in the product table, which is general for all types of PDF’s and all types of product. In the help screens these are under the Product tab.

    There are also variables specific for bundle product types, which include variables related to the bundle group and the single items in the bundle.
    HTML2PDF User manual - listing product bundle variables in help

    When creating a new text or table, and you need to debug. Then setup in System Configuration the specific order, invoice or product id and then see all the available variables in the help pages.

    Download the tables with variables to CSV or Excel to sort and search trough. Do this and you can easy find the exact variable you are looking for.

     
     
     

    The HTML2PDF extension for Magento
    See more about the magento extension HTML2PDF


    This post was posted in Manual and was tagged with html2pdf, magento, pdf, manual, variables

  • HTML2PDF User manual - Template setup

    Posted on July 24, 2012 by ext4mage

    Template setup

    This is the master of the HTML2PDF module; here you collect the different elements into the final template used for printing the PDF.

    When you press print in the different screen in Magento, then the active template based on type and store is selected. If no templates is present for the PDF type and store the default Magento PDF layout will be chosen. Are there multiple templates which are matching, the template to be chosen random.

    First screen you will see when editing a template is the general tap, here you setup main information about the template in hand.

    HTML2PDF User manual - edit general part of template element

    Field description:

    • Type – select the type of print the template should be applied to, can be Order, Invoice, Shipment and Credit Memo.
    • Store view – Select the stores that this template shall be active for
    • Number of cross-sell items – Is the number of cross-sell items that should be collected, still only the ones defined in the cross-sell text element will be shown
    • Active from – Set an date from which this template should be used, can be empty
    • Active to – Set a date until which this template should be used, can be empty
     

    In the next tab you select the text and table elements that should be used in this templateHTML2PDF User manual - edit the text element used in template

    The last tab contains information about the general style and setup of the template in hand. HTML2PDF User manual - edit the style of the template element

    It is still possible to set a different font, font-size and color within the single text element. But not all font-types are supported.

     
     
     

    The HTML2PDF extension for Magento
    See more about the magento extension HTML2PDF


    This post was posted in Manual and was tagged with html2pdf, magento, pdf, pdf layout, manual

Items 1 to 10 of 29 total

Page:
  1. 1
  2. 2
  3. 3