Jump to content

Image sliders in Multishop


Recommended Posts

Hello Everyone,

I just created a group for my multishop, and would like to display a new set of image sliders ONLY for the multishops on my site - For example, I want images "A,B,C" to display on the image slider on the default shop, and Images "D,E,F" to show on the multishop sliders . However, after selecting the multishop group from the "List of Modules", and changing the images to the ones that I wanted, it affected the ones on the default site too.. in other words, slider for all shops is affected. Is there a way to set prestashop to display certain images on multishop sliders?

Link to comment
Share on other sites

  • 3 months later...
  • 4 months later...

One way may be to make a replicat of the module and modify it.

I´ll explain my little (maybe buggy) howto:

1. via ftp copy the folder modules/ps_imageslider
2. rename the local stored copy in ps_imageslideryourcopy
3. with your favorit text editor you have to replace some words in all files of that folder.
- replace the text "ps_imageslider" to "ps_imagelideryourcopy"
- replace the text "homeslider" to "homeslideryourcopy"
- replace the text "Ps_HomeSlide" to "Ps_HomeSlideyourcopy"
- replace the text ".Imageslider." to ".Imageslideryourcopy."
4. Search and replace  with your file explorer the following File Names (file-name-parts):
homeslider  to  homeslideryourcopy  (example:  homeslider.js to homeslideryourcopy.js, and so on)
ps_imageslider to ps_imageslideryourcopy (example: ajax_ps_imageslider.php will be ajax_ps_imageslideryourcopy.php)
5. open the config_de.xml and rename the Displayname.
6. create an Zip archive of ps_imagesilderyourcopy
7. go to the admin -> Module Manager -> Add Module and upload it.
8. Enable the new module for only one of your multishops (maybe you will find it named as imageslider - don´t know how to rename it) 
9. Change the displayed position in design -> positions -> displayHome
10. have fun.

Please use it at your own risk 😉

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...