Shoppica upgrade

This topic has been marked as resolved.

hello. in the list of modified files (1.0.9 -> 1.0.10) apears catalog/view/theme/shoppica/stylesheet/screen.css as modified. i have loaded for compare

shoppica-premium-open-cart-theme\shoppica_v.1.0.10\OpenCart_v.1.5.1.x\FILES_TO_UPLOAD\catalog\view\theme\shoppica\stylesheet\screen.css
and

patch_1.0.9 - 1.0.10 (for opencart 1.5.1.x only)\catalog\view\theme\shoppica\stylesheet\screen.css
i have no diference between them? what is diferent? am i missing something? exactly what files are true modified?

Since version 1.10 Shoppica provides patches to ease the uprgading process. In the Additional directory you can find a folder named patch_1.0.9 – 1.0.10. It contains only the files that have changed between the version 1.0.9 and 1.0.10. These are the same files that are listed in the changelog and you can copy them if you’re doing an upgrade from Shoppica 1.0.9 to Shoppica 1.10.

based on this, folder named patch_1.0.9 – 1.0.10 should contained modified files wich in screen.css at least i do not have with araxis merge?

 Adyyda
October 11, 2011 at 9:26 pm #2348

The two files you pointed out are meant to be the same. Quote from the documentation:

The patch_1.0.9-1.0.10 folder contains only the files that have changed between the version 1.0.9 and 1.0.10

Let’s say, the Shoppica theme version 1.0.9 has 100 files. To fix some bugs we changed 15 of these 100 files and we released 1.0.10. Now – Shoppica 1.0.10 contains 100 files again – 85 from them are same as 1.0.9, but 15 from them are newer.
The patch directory contains only the these 15 files that has been changed since 1.0.9.
The OpenCart_v.1.5.1.x folder contains all 100 files.

In other words – the patch directory contains extracted files from OpenCart_v.1.5.1.x directory, according to the changelog. It would be disturbing if they weren’t the same :)

A regular update would be to download the latest Shoppica version and upload all of the files in the package over your current installation. With the patch directory you can copy only the changed files. This is made for people like you – who love to modify their themes and have hard times wondering where and what has been changed.

The proper way to see what exactly has been changed in the files would be to compare the patch directory with your older Shoppica 1.0.9 package (I hope you keep it).

October 11, 2011 at 10:36 pm #2350

ok. here is the problem. your new method is rather confusing considering the fact that i have done an upgrade before. as you distibuted the files before, we had OpenCart_v.1.5.1.x folder wich includes all the files and the index vs OpenCart_v.1.5.0.5 wich includes all the files and the index as well. so 2 complete install folders. olso in the log you have specified exactly what are the files modified in 1.5.1 vs 1.5.0.5. going to those files, compared them, adjust them according to the modifications and all is fine. no confusion. upgrade made.

in the new version, we have OpenCart_v.1.5.1.x folder and in separate folders we have the index file coresponding to that version. in adition, if i want to upgrade to latest version we have the folder called patch. what is the point of providing files that are not modified from the main structure OpenCart_v.1.5.1.x? i have compared system/engine/controller.php, catalog/view/theme/shoppica/template/common/header.tpl, catalog/view/theme/shoppica/stylesheet/carousel.css, catalog/view/theme/shoppica/stylesheet/screen.css and none show any modification.

an regular update as you say, means that shoppica is installed (just not working in latest opencart) and just some of the files should be modified. why do not provide exactly the files wich were modified (those 15 as you say) and add instead a bunch of files from wich just some truly contains modifications?

“A regular update would be to download the latest Shoppica version and upload all of the files in the package over your current installation. With the patch directory you can copy only the changed files.” this is the problem. beside the “only the changed files” there are other files as well in the log-have mentioned some up. as for customising your theme, consider that not all of us wants to have 99% the same shop as others. i do not mean just to the colors and modules wich you implemented-you know what i mean since you have sean my shop.

 Adyyda
October 12, 2011 at 9:44 am #2354

We have specific reason to include separate index.php files for each version. Most people prefer to overwrite the index.php file by uploading it, instead of modifying the current one manually. The index.php file contains a variable that returns the opencart version. This variable is used by some of the plugins to maintain compatibility. We don’t want to break external plugins, so this is our workaround, which is documented clearly.

We don’t support version 1.5.0.5 anymore, so we dropped this folder entirely. This folder was not intended to be used for comparison with the 1.5.1.x folder – this could lead to errors. It was only for one specific version of opencart – 1.5.0.5, because of the backward incompatible changes with the next opencart versions.

I think I understand what you did previously – you compared the 1.5.1.x folder with 1.5.0.5 folder to see what has changed. This is wrong and is prone to introducing bugs in your installation. What you need to do for proper comparison is:

1. get the main struicture of OpenCart_v.1.5.1.x for Shoppica 1.0.9 (I hope you keep it)
2. get the main struicture of OpenCart_v.1.5.1.x for Shoppica 1.0.10
3. compare these to folders and examine the changed files to see what exactly has been changed

The use of the patch is completely optional. Many people asked for it, that’s why we included it. It is intended for upgrading current Shoppica 1.0.9 installation to Shoppica 1.0.10 installation by overwriting only the needed files, that have been changed between this two versions.

I hope it is clear for you now.

October 12, 2011 at 11:51 am #2361

ok. thanks for the response.

 Adyyda
October 12, 2011 at 11:57 am #2363
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.