ChrisMessina Posted May 28, 2019 Share Posted May 28, 2019 Hello, I am on Prestashop 1.7.5.2 and I can't find the function to print a product page. I looked in the options and the native modules but I can't find anything. Has this module been removed from version 1.7 ? Thank you Link to comment Share on other sites More sharing options...
tuk66 Posted May 29, 2019 Share Posted May 29, 2019 Use Ctrl + P in your browser. Link to comment Share on other sites More sharing options...
ChrisMessina Posted May 29, 2019 Author Share Posted May 29, 2019 45 minutes ago, tuk66 said: Use Ctrl + P in your browser. I know how to print, but the users don't always do, plus the print display is the mobile version of the page so it's not super useful since it takes 5-6 pages for a simple product page. I ended up adding a <a href="javascript:print();">Print</a> , plus customizing a "@media print" stylesheet and it works well. Link to comment Share on other sites More sharing options...
mobeen Posted September 22, 2019 Share Posted September 22, 2019 Hi. Also interested in changing the printing of product page as it prints like 3 pages just for a single product. Can you tell me how did you modify the media print css files? Link to comment Share on other sites More sharing options...
ChrisMessina Posted September 23, 2019 Author Share Posted September 23, 2019 On 9/22/2019 at 3:46 AM, mobeen said: Hi. Also interested in changing the printing of product page as it prints like 3 pages just for a single product. Can you tell me how did you modify the media print css files? This is my css for the print media. I also added some classes to the product page template to be able to hide or align some elements. @media print { /* All your print styles go here */ #header-nav, #menu-icon, #search_widget, #footer, .featured-products, .js-qv-mask, .print-link, .product-additional-info, a.gformbuilderpro_openform, div#group_accessories { display: none !important; } #_desktop_logo{display:inline-block!important; width:20%!important; float:left!important;} .header-phone-address{width: 50%; float:left;} .header-phone, .header-address {text-align: left!important; float: left; display: block; width: 100%;} .header-address {margin-top: 12px;} .print-product-image { width: 50%; float: left; border:1px solid black; } .print-product-price { width: 50%; float: left; } } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now