Uninstall K2-store

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Dec 28, 2014 11:11 pm
Reply with quote
Report this post
Hi

The BikeStore quick-start for Joomla 2.5 contains both K2Store and VirtueMart.

Since I am using VirtueMart I obviously want to remove K2Store.

What would be the recommended steps to uninstall it?

I tried:
1) Extension Manager
2) Search for "k2".
3) Select all results (about 20) and click "Uninstall".

The problem is that this broke JavaScripts includes of the site and now the VirtueMart does not work properly.

This can be easily reproduced. Just install the quickstart for Joomla 2.5, do the steps above, then go to the site and try to add anything to the cart. It just does not work, because jQuery is not properly included (or rather the include order is wrong).

Could you please advise what the correct way to uninstall K2 would be?

Thank you

Regards
Stepan
User avatar
Fresh Boarder

teitbite
Mon Dec 29, 2014 11:25 am
Reply with quote
Report this post
Hi

Do You want to uninstall K2 or K2store? Removing K2store is just a matter of uninstalling it, but K2 alone is not as simple as that. It loads jQuery version with it, so if You want to disable it, You need to load jQuery in some other place (with Easy jQuery plugin for example).

Next problem can be that some of the modules may be trying to show K2 articles and all has to be reconfigured to show a different source or deleted. Having modules display K2 while there is no K2 installed may end up bad for site.
User avatar
Moderator

GK User
Tue Dec 30, 2014 3:12 am
Reply with quote
Report this post
Hi

Thanks for the reply. The thing was I uninstalled both K2Store and K2 and the VirtueMart ADD action stopped working.

After some debugging, I found it was because of the "K2 System" plugin. This plugin makes sure JQuery gets included.
After uninstalling/disabling it, VirtueMart stops working.

In other words, the Bike Store template has a dependency on K2 even though it's not really used when we choose to use VirtueMart.

However, I was able to get this working with the "JQuery Easy" plugin as you suggested.

Regards
Stepan
User avatar
Fresh Boarder

teitbite
Tue Dec 30, 2014 9:33 pm
Reply with quote
Report this post
Hi

VM is loading it's own jQuery library. I think after removing K2 You just had to enable jQuery be loaded from VM. Anyway Easy jQuery solution is also fine.
User avatar
Moderator


cron