Magento : Migration to Magento 1.8 1/2

Hello,

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 1.7.0.2 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 :

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

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

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 : 
<template>/template/checkout/onepage/review/info.phtml
<script type="text/javascript">
 //<![CDATA[
 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'));
 //]]>
 </script>

I had previously:

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

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
http://www.mystockphoto.fr

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.