Zen Follower
- Join Date:
- Aug 2009
- Posts:
- 137
- Plugin Contributions:
- 0
print css for order invoice?
Hello,
The order details or Invoice is displayed like any other page, so when the customer wants to print it, it includes everything on the page. Is there a print CSS readily available for the same? so that when the cusomter prints it: "/index.php?main_page=account_history_info&order_id=17"
it prints only the logo and the order details, thus removing everything, right - left columns, everything from header except the logo, and the footer completely?
Or is there a better approach for the same?
in my templates /common/tpl_main_page.php I did the following but then the page looks weird and the logo does not appear since it is in the header:
if (in_array($current_page_base,explode(",",'account_history_info,account_history_info')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
$flag_disable_header = true;
$flag_disable_footer = true;
}
Please suggest a better approach
Regards