sandysasmita Posted December 21, 2013 Share Posted December 21, 2013 hello, i have a multistore with three shops and three different themes, and most of the product images are same for all shops... (that's why i like "multistore" feature it's simple to use one backoffice) the problem is all of my themes have three different size of images settings... so when i regenerate image for shop1, the other shops have the same images size too... which is not good for me (makes my website looks horrible)... is there any way to set images size per shop/theme? or maybe can i change the image type per theme like : "large_default" to> "large_shop1" (on theme1) "large_default" to> "large_shop2" (on theme2) "large_default" to> "large_shop3" (on theme3) so i can regenerate images for each theme (1,2,3) with three different images size.. anybody knows what files should i edit? note : i buy all those themes at templatemonster.com and it's impossible to contact the developer... i wish there's a solution for this problem, so i can continue develop my website... thank you in advance Link to comment Share on other sites More sharing options...
El Patron Posted December 21, 2013 Share Posted December 21, 2013 have your tired this? back office-->preferences-->images at the top select the shop you want to work with here you can manage by 'that shop' Link to comment Share on other sites More sharing options...
sandysasmita Posted December 21, 2013 Author Share Posted December 21, 2013 Hi El Patron, of course i already try that settings so many times... PS 1.5.2, i try fresh install PS 1.5.6.1 (local) and install two themes, try to apply image preferences settings again, regenerate, but still not working... is there something wrong with all my themes? well I'm going to try PS 1.5.3 tomorrow ... the changelog says that this bug is fixed... i hope this works... anyway, thanks for your reply El Patron Link to comment Share on other sites More sharing options...
El Patron Posted December 21, 2013 Share Posted December 21, 2013 On 12/21/2013 at 9:46 PM, sandysasmita said: Hi El Patron, of course i already try that settings so many times... PS 1.5.2, i try fresh install PS 1.5.6.1 (local) and install two themes, try to apply image preferences settings again, regenerate, but still not working... is there something wrong with all my themes? well I'm going to try PS 1.5.3 tomorrow ... the changelog says that this bug is fixed... i hope this works... anyway, thanks for your reply El Patron yes, please let us know how you get along with this. It's an important subject. Link to comment Share on other sites More sharing options...
El Patron Posted December 23, 2013 Share Posted December 23, 2013 did you have any luck resolving this? Link to comment Share on other sites More sharing options...
sandysasmita Posted December 24, 2013 Author Share Posted December 24, 2013 Hello El Patron, thank you for following me up about this topic, after i tried to install prestashop 1.5.3 and try to setting image size each shop at preferences>image>shop1/shop2/shop3 and still no solution (the image size of each custom theme are still the same) so i found another way to do this. like i said before, so i create new images type of each shop, e.g: thickbox_shop1, thickbox_shop2, then i edit the .tpl files on each custom theme folder and module folder (each custom theme too) "thickbox_default" to> "thickbox_shop1/2/3" and regenerate all images... well it works... so the conclusion is, custom theme developer should create a new custom image type for every custom theme and create the .tpl files for each theme/modules they used. i don't know why this could happen to my theme (because all theme from same developer "hermes" at templatemonster.com) so i have no clue, i don't have another theme. or maybe you can post a tutorial about how to apply different image size for different custom theme on multistore, i think maybe some of people have same problem as i am. so your tutorial can help us Thank You ... 1 Link to comment Share on other sites More sharing options...
sandysasmita Posted December 24, 2013 Author Share Posted December 24, 2013 hey it works for "watermark" modules too!!! :D because now each shop has different image type, so the watermark can apply for each shop with selected image type... so i don't have to add watermark manually using photoshop for each shop... hurray... :D :lol: 1 Link to comment Share on other sites More sharing options...
vansrv7 Posted January 29, 2014 Share Posted January 29, 2014 Hi sansysasmita, I have the same problem with my three shops. Which .tpl file need to be modified exactly? Link to comment Share on other sites More sharing options...
sandysasmita Posted February 2, 2014 Author Share Posted February 2, 2014 (edited) On 1/29/2014 at 8:22 AM, vansrv7 said: Hi sansysasmita, I have the same problem with my three shops. Which .tpl file need to be modified exactly? hello vans, sorry for late reply, the first thing you have to do is you must create new image type AND images size for your each theme at the preferences>image at your back office... ex: small_theme1, home_theme1, medium_theme1.... small_theme2, home_theme2, medium_theme2... etc... after you create new image type, you should regenerate images again. the .tpl files need to modified are in the themes folder of your site... ( public_html/themes/theme1 ) and so the .tpl file in your modules folder of your theme. ( public_html/themes/theme1/modules ) because every theme use different modules, so i cant tell you what excactly file name you should edit just search every .tpl files that contain word "_default" . and then you have to modify that .tpl files according to image type that you just create. this is should be like: original code: <img src="{$img_cat_dir}default-medium_default.jpg" alt="" /> change to <img src="{$img_cat_dir}default-medium_theme1.jpg" alt="" /> after you finished editing, go to your site, refresh, and you should see the image in the correct size. and if you want to apply different watermark for each theme, just configure the watermark module at your back office, and i think you will know what to do there... remember to BACKUP your site first before doing any changes to your code. hope this help you ... sorry for my bad english... cheers. Edited February 2, 2014 by sandysasmita (see edit history) 3 Link to comment Share on other sites More sharing options...
vansrv7 Posted February 2, 2014 Share Posted February 2, 2014 Hi sandysasmita, thank you for your reply and for your instruction. After a little bit of "meditation" I already went to the conclusion that you could not supply me a list of files since they change due different themes and module, so I started to search manually for each of them and made the correction you did (I totally modified about 15 files) Works perfectly. Thank you for the tip. 1 Link to comment Share on other sites More sharing options...
sandysasmita Posted February 3, 2014 Author Share Posted February 3, 2014 On 2/2/2014 at 7:39 PM, vansrv7 said: Hi sandysasmita, thank you for your reply and for your instruction. After a little bit of "meditation" I already went to the conclusion that you could not supply me a list of files since they change due different themes and module, so I started to search manually for each of them and made the correction you did (I totally modified about 15 files) Works perfectly. Thank you for the tip. im glad you made it... and your welcome vans 1 Link to comment Share on other sites More sharing options...
CrossY Posted April 21, 2014 Share Posted April 21, 2014 This problem still persists in 1.5.6.2. Is this fixed in 1.6 yet? For now, I guess it will be manual fixes through the .tpl files then... Link to comment Share on other sites More sharing options...
El Patron Posted April 21, 2014 Share Posted April 21, 2014 On 4/21/2014 at 4:34 PM, CrossY said: This problem still persists in 1.5.6.2. Is this fixed in 1.6 yet? For now, I guess it will be manual fixes through the .tpl files then... see the following open forge report. Please login and vote this issue 'up'. Add comment to support getting this fixed. Not sure why it was changed from a bug to a feature request when obviously one can select the shop they want to work with making one assume by shop image size is supported. http://forge.prestashop.com/browse/PSCFV-11950 regards, el 1 Link to comment Share on other sites More sharing options...
CrossY Posted April 21, 2014 Share Posted April 21, 2014 On 4/21/2014 at 6:23 PM, El Patron said: see the following open forge report. Please login and vote this issue 'up'. Add comment to support getting this fixed. Not sure why it was changed from a bug to a feature request when obviously one can select the shop they want to work with making one assume by shop image size is supported. http://forge.prestashop.com/browse/PSCFV-11950 regards, el +1 vote and comment, thanks! 2 Link to comment Share on other sites More sharing options...
El Patron Posted October 10, 2014 Share Posted October 10, 2014 On 7/6/2014 at 12:58 PM, Worldmart.in said: In MultiShop 1.6.0.8 why only super admin can change themes. As even after giving permission for store profile to select themes. Every store can't have selection of theme as per the choice.It shows select one shop even after the theme is been selected by single store. Is this a bug? this is off topic, please make sure in the future to post on topic. you have already one warning for spamming. Link to comment Share on other sites More sharing options...
info@oliwine.it Posted December 15, 2016 Share Posted December 15, 2016 And if i use the same template for two different shops but i need to have different image size for each? How can i manage to generate two different images size for the same template? Helpp!! Link to comment Share on other sites More sharing options...
CantCode Posted September 16, 2018 Share Posted September 16, 2018 Hey, we are currently experienceing this issue with our 1.6 installation. We have 8 Subshop and are getting in trouble with that. I cant also really find a solution so far. Anyone have more information or a solution for this problem which not involves editing all templates on multiple places? Thank you very much! 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