Sairon Posted March 8, 2023 Share Posted March 8, 2023 Hello, I have an old Prestashop store where one part of the store was custom coded, and now I would like to copy all the responsible code to a new shop, but I can't find where it is located. Store URL from which I would like to take the code: https://www.kariskizetonai.lt/home/8-karisku-zetonu-komplektas-juodas.html In the photo below there is the section with the features I would like to copy and paste to my new shop, and also, how it looks in the BO: This feature allows to limit the available characters and the number of them. It also displays how it will look in real time, and you can chose the which image is prescribed for which product, so if you pick a different product, the colour changes. Also how many and which files are responsible for the mentioned actions (How many files are there)? Link to comment Share on other sites More sharing options...
Nickz Posted March 8, 2023 Share Posted March 8, 2023 (edited) On 3/8/2023 at 7:29 AM, Sairon said: I have an old Prestashop store where one part of the store was custom coded, and now I would like to copy all the responsible code to a new shop, but I can't find where it is located. Be carefull and do not just overwrite some files. 1rst step is a back up. Files and database. 2nd step is seeing if the old code is up for it. Php has changed a lot over the last 7 years. Try to get your shop working locally (localhost) and work from there. Edited March 9, 2023 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
s4lvozesta Posted March 9, 2023 Share Posted March 9, 2023 If the custom code is a module, then it would be in projectroot/modules folder obviously. Also, check override folder When it is not a module, my safe bet would be to make sure the same PHP version (as pointed out) and PrestaShop version Link to comment Share on other sites More sharing options...
endriu107 Posted March 9, 2023 Share Posted March 9, 2023 It looks like it is module rw_customizatorius Link to comment Share on other sites More sharing options...
Sairon Posted March 18, 2023 Author Share Posted March 18, 2023 @endriu107 Thanks, I have found it in the public_HTML folder. Is it possible to extract it from there so I have the files on my desktop? Link to comment Share on other sites More sharing options...
Sairon Posted March 18, 2023 Author Share Posted March 18, 2023 Thank you @s4lvozesta for your reply. How can I check if the files will be supported by a newer PHP version? Link to comment Share on other sites More sharing options...
Sairon Posted March 18, 2023 Author Share Posted March 18, 2023 Update: I have downloaded the module, but it is showing up correctly in the BO or FO. Does any one know how to fix it? Attaching images below how it looks on the old version, and new: Link to comment Share on other sites More sharing options...
endriu107 Posted March 18, 2023 Share Posted March 18, 2023 Until PrestaShop 1.7 there is new way to display modules in product edit page, modules not having this option will not work. I think you should contact with this module developer or you should use other module. Link to comment Share on other sites More sharing options...
Sairon Posted March 18, 2023 Author Share Posted March 18, 2023 Using another module is not an option, since the code was written specifically for us for the reason. Is it difficult and hard to edit the code in order to make it work? Do you @endriu107 maybe have the knowledge to do these changes? 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