Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

This is a Magento Frontendcontroller which overwrites the default Sales-Order-Controller (Mage_Sales_OrderController) from Magento and offers functions for frontend-PDF-generation (e.g. in a customer's orderhistory). The funtions generate PDFs for orders, invoices or shipments.

Notifications You must be signed in to change notification settings

basecom-archive/archive-magento-frontendpdf-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Installation

  1. Copy all files to corresponding folders of your Magento setup
  2. Add Donwload Links to template-file (e.g. /magento/app/design/frontend/default/default/template/sales/order/history.phtml):
    [...]
    <a href="https://github.com/%3Cspan%20class="pl-ent"><?php echo Mage::getUrl('sales/order/orderpdf', array('order_id' => $_order->getId())); ?>"><?php echo $this->__('View Order as PDF') ?></a>
    <a href="https://github.com/%3Cspan%20class="pl-ent"><?php echo Mage::getUrl('sales/order/invoicepdf', array('order_id' => $_order->getId())); ?>"><?php echo $this->__('View Invoice as PDF') ?></a>
    <a href="https://github.com/%3Cspan%20class="pl-ent"><?php echo Mage::getUrl('sales/order/shipmentpdf', array('order_id' => $_order->getId())); ?>"><?php echo $this->__('View Shipment as PDF') ?></a>
    [...]

About

This is a Magento Frontendcontroller which overwrites the default Sales-Order-Controller (Mage_Sales_OrderController) from Magento and offers functions for frontend-PDF-generation (e.g. in a customer's orderhistory). The funtions generate PDFs for orders, invoices or shipments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages