aniis234 Posted June 18, 2015 Share Posted June 18, 2015 Hello, I just wanted to know how I can add a price list for customers to see and download once and only when they are logged in? Please help, i'm not too familiar with coding features like this, Thanks in advance. Link to comment Share on other sites More sharing options...
musicmaster Posted June 19, 2015 Share Posted June 19, 2015 Go in the backoffice menu to customers-groups and define for all groups except "customer" that prices shouldn't be shown. Link to comment Share on other sites More sharing options...
aniis234 Posted June 27, 2015 Author Share Posted June 27, 2015 Thanks for answering and sorry i don't think i phrased my question properly, i meant that I would like for the customers to be able to download a .pdf document (more specifically a price list) once they log in to the website. How can I do that? Link to comment Share on other sites More sharing options...
musicmaster Posted June 28, 2015 Share Posted June 28, 2015 What price list? Of the category? Of your whole shop? How many different price list will there be? Link to comment Share on other sites More sharing options...
aniis234 Posted June 28, 2015 Author Share Posted June 28, 2015 there's an excel price list of all the products as well a .pdf document I want the customers to be able to download once they are logged in. Can this be done? Link to comment Share on other sites More sharing options...
musicmaster Posted June 29, 2015 Share Posted June 29, 2015 On the following link you can find a module that enables you to see the group id in the template. From that you could add some conditional code to the template that only shows a link when the customer is of a certain group: https://www.prestashop.com/forums/topic/228277-get-customer-group-id-in-smarty/ Link to comment Share on other sites More sharing options...
aniis234 Posted June 29, 2015 Author Share Posted June 29, 2015 Thank you for responding. This is the back-end of my store and i just want to add another button here where I can link it to a .pdf file is there a way that can be done? 1 Link to comment Share on other sites More sharing options...
abdullacm Posted June 30, 2015 Share Posted June 30, 2015 i have developed a module, i hope the module will help you. Please find the attached module file. pricelist.zip Link to comment Share on other sites More sharing options...
aniis234 Posted June 30, 2015 Author Share Posted June 30, 2015 i have developed a module, i hope the module will help you. Please find the attached module file. Thanks for the module. How can I attach the price list though? Link to comment Share on other sites More sharing options...
abdullacm Posted June 30, 2015 Share Posted June 30, 2015 try installing the module, there will be a new tab "Price List" in my account page, customer can download by clicking on this Link to comment Share on other sites More sharing options...
aniis234 Posted June 30, 2015 Author Share Posted June 30, 2015 try installing the module, there will be a new tab "Price List" in my account page, customer can download by clicking on this I understand that but I mean how can i attach the file for customers to download from the back end? Thanks! Link to comment Share on other sites More sharing options...
abdullacm Posted June 30, 2015 Share Posted June 30, 2015 you mean the download link? yourdomain/module/pricelist/download?format=pdf Link to comment Share on other sites More sharing options...
electroid.it Posted January 21, 2016 Share Posted January 21, 2016 I have installed your module, I have prestashop 1.6, but doesn't display anything , when I click to download the price list, the pdf is blank, only the header displaying. Noone product listed. I tried to set the permissions to the directory of the module and nothing changed, I tried to search any error of the sql script, but seems all is ok. Can you help me? thanks a lot Link to comment Share on other sites More sharing options...
امیر Posted May 3, 2016 Share Posted May 3, 2016 this moudle no working by ps 1.6.1.4 plz update Link to comment Share on other sites More sharing options...
BZZYBI Posted February 21, 2017 Share Posted February 21, 2017 (edited) Thank you for responding. This is the back-end of my store and i just want to add another button here where I can link it to a .pdf file is there a way that can be done? I would like to do the same? aniis234 did you manage to get this to work? Edited February 21, 2017 by BZZYBI (see edit history) Link to comment Share on other sites More sharing options...
vagmor Posted March 14, 2019 Share Posted March 14, 2019 On 6/29/2015 at 7:25 PM, aniis234 said: Thank you for responding. This is the back-end of my store and i just want to add another button here where I can link it to a .pdf file is there a way that can be done? i need this to can someone help? i i have 3 b2b customer groups and i would like to be able to download a pdf that corresponds to their group.. is this possible? Link to comment Share on other sites More sharing options...
tuk66 Posted March 20, 2019 Share Posted March 20, 2019 Like this? This is an image from an older version, but the M4 PDF Extensions module adds a button in customer's account to generate a PDF file using a template. 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