Magento : Migration to Magento 1.8 1/2


As I said previously, I am using Magento for my e-commerce store and the release 1.8 of Magento was just released ! I was in version previously.

I have tested the migration of the version 1.8 on my development system and I was facing some problem : The checkout process is no longer working !

An advice : Never do a migration on your production system !

My checkout issue comes from my template.

In the /app/design/frontend/default/mystockphoto18/template/checkout/onepage file (line 36), replace :

<?php echo $this->getChildHtml('methods') ?>

<fieldset id="checkout-payment-method-load">
<?php echo $this->getChildHtml('methods') ?>

To be sure, there is no other hidden issue, I have decided to check all the change into my template files !

Just run the following diff :

$ diff -bur base/default/template default/<templatename>/template
And I found a difference into the following file : 
<script type="text/javascript">
 review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));

I had previously:

<script type="text/javascript">
 review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));

Bingo ! It was the problem and now the heckout is really working !

Now I have tested the migration on my test system, I can do the migration on my production system !.

The link to my e-commerce store MyStockPhoto !

Don’t hesitate to leave a comment or donate to contribute on the time spent searching the solution.

You may be interrested by my Magento Module API  : Myapi_Myconf !

Nicolas Portais
Author Photographer

Ce contenu a été publié dans Magento, avec comme mot(s)-clé(s) , , , , . Vous pouvez le mettre en favoris avec ce permalien.

2 réponses à Magento : Migration to Magento 1.8 1/2

  1. Ping : Magento : Migration to magento 1.8 2/2 | Nicolas Portais Portfolio

  2. Ping : Magento : Upgrade from magento 1.8 to 1.8.1 | Nicolas Portais Portfolio

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Captcha (solve the arithmetic equation) * Time limit is exhausted. Please reload CAPTCHA.