How to create Print icon / "Print htis page" for every product?
Hello,
I have almost finished my first zen cart web site which I created for my client. He is very satisfied with website but he noticed something interesting o website: there is no print icon for each product on web site which could be useful for end users, for example: if they find some interesting product with large description, they want to print it out directly from website - simply by clicking on print icon.
I am not sure if this possible, does zen cart already has this option so I could activate it or I need to modify some of the files from zen-cart package to make this possible? I searched through forum for similar topic but I couldn find anything like my problem :huh:
Any help is appreciated.
Cheers!:smile:
Re: How to create Print icon / "Print htis page" for every product
Products can require scrolling down to capture the complete details,
So a std print page that would also grab the browser stuff won't do.
I have not seen a contribution for this but have to admit that there are so many now that I have not kept up and you should definately look for your self
I might post back with a bit of starting code
Re: How to create Print icon / "Print htis page" for every product
Actually found a thread that deals with printing the center content only -
http://www.zen-cart.com/forum/showthread.php?t=60669
Re: How to create Print icon / "Print htis page" for every product
Thank you kobra for quick reply/help!
I will try with this code asap and keep you informed if it works out:lamo:
Re: How to create Print icon / "Print htis page" for every product
huh:blink:I just read all thread and I am not sure if I can make use of it because of this:
Quote:
I have a print button in tpl_main_page.php that triggers a print function
In my tpl_main_page.php I cant find any print button/option so it looks like I missing that part?
Re: How to create Print icon / "Print htis page" for every product
Quote:
Originally Posted by
adi2009
In my tpl_main_page.php I cant find any print button/option so it looks like I missing that part?
http://javascript.about.com/library/blprint.htm
Re: How to create Print icon / "Print htis page" for every product
Quote:
Originally Posted by
kobra
Quote:
Originally Posted by
llynix
Thank you very much kobra and llynix! I achieved exactly what I wanted: print only center column.
Cheers:wink: