a_smith Posted October 20, 2013 Share Posted October 20, 2013 (edited) Hello I am using PS1.5.6.0 with multi store set up. I have one group, two shops in the group with the stock sharing. For the main (default) shop I have customised invoice template which is located in pdf folder in this shop theme folder (/themes/shop_A/pdf). All is working fine for this shop. PDF's are created using 'local' pdf template. The problem is that the second shop ignore its local /pdf folder located in its theme folder (/themes/shop_B/pdf) and keep using the files from the default shop. The second shop wont even use the files from the main pdf folder located on the root of PS installation. Wired part is that the invoices for the second shop gets the page layout from the main shop /pdf local folder. The logo onto pdfs gest changed to the right one (second shop logo) but the contact details printed on the pdf footer stays unchanged, and they appear same as for the main shop. Unfortunately I am using different office address and the contact details for the second store. How to get the second store start using locally stored /pdf files from this shop template folder and not the default shop template files?? Is it (another) PS bug? Edited October 20, 2013 by a_smith (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted October 21, 2013 Share Posted October 21, 2013 is there anything more than and index.php file in your themes/yourtheme/pdf? 1 Link to comment Share on other sites More sharing options...
a_smith Posted October 21, 2013 Author Share Posted October 21, 2013 (edited) Good question hehe. Yes, sure. I have all 12 .tpl files there, .htaccess and lang folder. Second store just ignores its local pdf's folder same as the pdf folder located at PS root path. It gets the pdf template files from the local pdf folder from default shop themes folder. The layout itself its not an issue. The problem is that only the logo being changed to the right one for the second store. Unfortunately the contact details printed on the bottom of the pdf are not the second shop address but the first shop address/phone/vat..... etc.... Edited October 21, 2013 by a_smith (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted October 21, 2013 Share Posted October 21, 2013 config.inc.php sets the shops default theme name... then in later processing this should be used to override the default themes pdf files (modules/etc etc) can you open a forge bug report on this here post the forge url back here Link to comment Share on other sites More sharing options...
a_smith Posted October 21, 2013 Author Share Posted October 21, 2013 (edited) done http://forge.prestashop.com/browse/PSCFV-10766 EDIT: OK, its not PS bug. It was my set up issue. I am not entirely sure but the local pdf files were ignored because of PS cache. After I manually deleted theme cache files and SMARTY cache files, all the locally stored .tpl files from pdf folder took effect. And then... I had non translated frazes for the second shop on BO > Preferences > Store Contacts...... The address and the phone number were non-unique and common for both shops. @El Patron thanks for your help Mod, please mark this thread as [sOLVED] Edited October 21, 2013 by a_smith (see edit history) Link to comment Share on other sites More sharing options...
trevorgilligan Posted March 16, 2018 Share Posted March 16, 2018 if there are say 3 multistores. and the 3 want to use seperate attachments, pdfs, is this possible? currently, each store can see all pdf attachments 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