Page 1 of 1

Downloadable product preview on product page

Posted: Fri Jan 18, 2019 3:27 pm
by developer2@webindia
Hi all. I am building a web store for book selling. I need to show preview of the book before customer purchases
(like amazon https://www.amazon.in/Wings-Fire-Autobi ... ywords=apj ) .
Preview should be pop up when user clicks on the product images. I tried many ways. but not works.
please help.
I fecth the file name from the db. But I can't access the file with file name. Download folder located out side the public_html directory. Hope you guys understand my problem. Thank you

Re: Downloadable product preview on product page

Posted: Fri Jan 18, 2019 8:58 pm
by paulfeakins
You mean the ability to read a few pages of the book?

Re: Downloadable product preview on product page

Posted: Sat Jan 19, 2019 1:39 pm
by developer2@webindia
paulfeakins wrote:
Fri Jan 18, 2019 8:58 pm
You mean the ability to read a few pages of the book?
No sir, The whole pdf. I need to display the whole pdf content

Re: Downloadable product preview on product page

Posted: Thu Feb 21, 2019 4:29 am
by paulfeakins
Well just link to it and the browser will handle it.

Re: Downloadable product preview on product page

Posted: Thu Feb 21, 2019 10:32 pm
by straightlight
Take note that by simply linking it on the browser, Adobe Reader (minimum) must be installed on the client's device.