How can I print out the Product Details page?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
hblueair
Forum Members
Forum Members
Posts: 15
Joined: Mon Jan 12, 2009 3:16 am

How can I print out the Product Details page?

Post by hblueair »

Hi,

Does anyone know how to print the product Details page??? ??? ???

I have search a lot on the Forum however, still can't find a solution for this.
I have created a Details template inside the Product Module and linked with a page called "Product_details"

i.e Product_details -> {content}
                                      '-> Details template  printlink} it still printing "Product_details" content instead of
the Details template content.

What should I do??

Thanks a lot a lot!!

Thanks,
Hebee
hblueair
Forum Members
Forum Members
Posts: 15
Joined: Mon Jan 12, 2009 3:16 am

Re: How can I print out the Product Details page?

Post by hblueair »

Hi everyone,

Did I post it in a wrong area>

I really want to know why my {print} function can't print out the Product Details page.

Please help!!!!! Anyone?

Thanks,
Hebee
JeremyBASS

Re: How can I print out the Product Details page?

Post by JeremyBASS »

Like print return?  that be {$foo|print_r}

hope that helps...

jeremyBass
hblueair
Forum Members
Forum Members
Posts: 15
Joined: Mon Jan 12, 2009 3:16 am

Re: How can I print out the Product Details page?

Post by hblueair »

Hi jeremyBass,

Thanks a lot for your reply, however it shows an number 1 on the page after I insert {$foo|print_r}.

I notice that in the News module would have an file call action.print.php and template file called articleprint.tpl
so that why the News section can print out each article.

Could the Product have the same function so that I can use {$entry->printlink}?

But I don't know how to make this work out. Could you help?

Thanks,
Hebee
JeremyBASS

Re: How can I print out the Product Details page?

Post by JeremyBASS »

:) ... I sorry... your not suppose to put {$foo|print_r} in ... your suppose to use |print_r.. put it at the end of some {var} to print return the posible array... but that seems to be off what you want...

looks to me like you just need to use the print mod that is installed on the core or CMSMS... and then adjust your template and CSS so that the new article has a id that the CSS, under media print, would be display:block, and set everything else to display:none.... take a look at the default setup of CMSMS...  there is a print icon there.. ;)  really you can make the print look nothing like what is on screen.

Hope this helps...
cheers
jeremyBass
Post Reply

Return to “Modules/Add-Ons”