I am experimenting with ocmod on XAMPP, and some things i don't understand.
If i make two ocmod to change product page, separately works fine but second ocmod not works if first ocmod enabled.
I concluded, i need to consider the changes in earlier ocmod when making second ocmod.
For example, if i delete some code line in first ocmod, in second ocmod i must consider that change, and i can't work according default file.
Where am i wrong???
If i make two ocmod to change product page, separately works fine but second ocmod not works if first ocmod enabled.
I concluded, i need to consider the changes in earlier ocmod when making second ocmod.
For example, if i delete some code line in first ocmod, in second ocmod i must consider that change, and i can't work according default file.
Where am i wrong???
If both your modifications search for the same string of the code, then indeed the second one won't work. You need to consider changes made by your other modification, the one that is processed first.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Monitor the changes in your admin - > extensions - > modifications - > Logs tab for error messages that could be shown after an OCMod installation uploaded from the admin - > extensions - > installer page. Also ensure to clear your cache at times by following this FAQ: viewtopic.php?f=176&t=200804#p718325
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Totally possible to target same file but if you have removed part of code in first ocmod then you cannot target the same piece of code in the second ocmod( as it wont be there)
Just choose another piece of code and use 'offset if needed'.
Who is online
Users browsing this forum: No registered users and 16 guests