banel Posted December 9, 2013 Share Posted December 9, 2013 Hello everybody, In my website only registered clients must be able to upload an image. Anyone knows how can I do that in Prestashop? Regards. Link to comment Share on other sites More sharing options...
vekia Posted December 9, 2013 Share Posted December 9, 2013 only registered clients must be able to upload an image upload files? where? you use some custom modules? can you shed some light on it please? Link to comment Share on other sites More sharing options...
banel Posted December 9, 2013 Author Share Posted December 9, 2013 Hello, Thanks for your answer. I want something like here: http://www.pixartprinting.com/wide-format/printing-self-adhesive-pvc/flat-surface-adhesive/ Only registered clients can upload files. Regards. Link to comment Share on other sites More sharing options...
vekia Posted December 9, 2013 Share Posted December 9, 2013 i see. but you've got fields to upload files? Link to comment Share on other sites More sharing options...
banel Posted December 10, 2013 Author Share Posted December 10, 2013 I thought of creating a page that contains this field but this page should be accessible only to registered persons. But I dont know how to restrict this page only to the members. Link to comment Share on other sites More sharing options...
vekia Posted December 10, 2013 Share Posted December 10, 2013 everything depends on features that you will use to create these fields. basically, it will be enough to use simple if condition in temaplate files: {if $logged} UPLOAD FORM HERE {/if} Link to comment Share on other sites More sharing options...
banel Posted December 11, 2013 Author Share Posted December 11, 2013 Hello Vekia, Thank you for your help. I created a new page but I don't understand where exactly I must put the "if condition". In which template file? Regards. Link to comment Share on other sites More sharing options...
vekia Posted December 11, 2013 Share Posted December 11, 2013 everything depends on where you've got upload form. remember that it must be a part of ps script (.tpl file) 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