News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

best updating algorithms j2.5 to j3 and vm2 to vm3?

Started by vm3newb, January 28, 2015, 00:08:49 AM

Previous topic - Next topic

vm3newb

Hello,


I've an eShop on j2.5 which has a VM2. I would like to both upgrade to j3 and to VM3. Now I'm not sure how best to approach this. My guess is that as VM2 is not compatible with j3, I must first upgrade to VM3 on my existing j2.5, then after a successful upgrade, go for the j2.5-to-j3 upgrading step.

Please make me clear

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

vm3newb

Quote from: GJC Web Design on January 28, 2015, 01:25:13 AM
Correct
J2.5/VM2.6->J2.5/VM3

then
J2.5 -> J3

Thank you, I went to start upgrade, then I navigated to Virtuemart 2 – Live Update, then clicked "Update to the latest version". I got these messages:
JInstaller: :Install: Cannot find XML setup file
Invalid package type. The update can not proceed.

I see these informatio in the live-update page:
Installed version 2.0.26d
Latest version 2.6.6

Now should I manually try to install from 2.0.26 all the way to 2.6 stable, then from there to VM3? Or there is any simpler way, like just take VM3 files and try to install as an extension?

jenkinhill

Do not use the live updater! It has been removed for current versions. See http://forum.virtuemart.net/index.php?topic=123808.0

You can go direct from VM2.0.26d to 2.6.14 and then to VM3.0.3 (or 3.0.4 which will very soon be released).

All this should be tested on a backup copy of your site, not on the live site! If you use a commercial template or template overrides then these may need editing to work with VM3.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

vm3newb

Quote from: jenkinhill on January 28, 2015, 18:23:46 PM
Do not use the live updater! It has been removed for current versions. See http://forum.virtuemart.net/index.php?topic=123808.0

Thanks a lot! I'm here alive with finished migration of VM2 to VM3 and J2.5 to J3! I'm not sleeping? ;-)
Well, still on a test server:
http://54.186.52.172/ekoklimat/index.php/konditsionery-nastennye/mitsubishi-electric

One last question:
Sure my template is gone! Now I have to make a new template from scratch. I know how to design template for J3 (bootstrap based), but I've never created a template for VM.
Is there any guideline or simple tutorial (meaning even very brief) where I can have a starting point please? any documentation regarding VM templating please?

P.S.
Welldone VM creators! I didn't believe it before doing it: how simple it was! All crystal-clear steps, no bothering warning / error, etc. Congratulations for such a mastery!

jenkinhill

Use the default VM templates - ie rename the [Joomlatemplate]/html/com_virtuemart directory. That gives something that should work. You say you are going to migrate then to Joomla 3.3 which will require a new Joomla template, so I'd leave making any required VM template overrides that you may need until that migration is done.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

vm3newb

Quote from: jenkinhill on January 28, 2015, 20:35:19 PM
Use the default VM templates - ie rename the [Joomlatemplate]/html/com_virtuemart directory. That gives something that should work. You say you are going to migrate then to Joomla 3.3 which will require a new Joomla template, so I'd leave making any required VM template overrides that you may need until that migration is done.

but I wrote in my post: I'm done with all migrations! if you click to the link of my test web site you'd see, it is now fully on J3 and VM3, so I'm exactly to know about those VM template overrides!

Could you please tell me, how I should start making a template for my new VM3 on J3?

GJC Web Design

it is very simple .. as Jenks said it is just over rides

ONLY over ride what files you need -- your just shifting VM frontend views->tmpl files into

templates/your_template/html/com_virtuemart/productdetails  etc

basic how to's here

http://docs.virtuemart.net/tutorials/templating-layouts.html

but also as he says - decide what your Joomla J3 template is first -- what people sell as VM templates is a joomla template with some over rides for the VM view files
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

vm3newb

Quote from: GJC Web Design on January 28, 2015, 22:45:40 PM
it is very simple .. as Jenks said it is just over rides

ONLY over ride what files you need -- your just shifting VM frontend views->tmpl files into

templates/your_template/html/com_virtuemart/productdetails  etc

basic how to's here

http://docs.virtuemart.net/tutorials/templating-layouts.html

but also as he says - decide what your Joomla J3 template is first -- what people sell as VM templates is a joomla template with some over rides for the VM view files

Thanks very much! In fact I already wrote J3 bootstrap-based templates, also J3 extensions, but never done so with VM, I wanted to start from examples to learn not only of templating (overrides) for VM but also how to extend it and searched Amazon for books over "programming" VM, but there found only simple shop setup books. I'd follow links you kindly sent.