Jump to content

Problem with 'order.php'


Flaunt

Recommended Posts

I have a problem relating to 'order.php' (the one on the root folder).

I recently upgraded the store from 1.1.0.5 to the latest version. I use a heavily modified theme so it took me some time to get everything looking right.

However, at first testing the shop, when you viewed your basket or went to checkout with any number of items, the page looked like the picture I have attached below (labebeled 'before'). The only way to fix it I found was to use the old version of the 'order.php' file from the original PS install (1.1.0.5). Then every works and looks like it is supposed to (see second picture labeled 'after'). Only the total amounts seem to work on the broken one.

This problem is also preventing me from using the OPC module I paid for.

Anyone know why or help me?

Thanks

33923_CUWTRjfXnUyAEv1O8ReM_t

33924_0hwyesg3UjY2mkMluS64_t

Link to comment
Share on other sites

You will likely encounter many problems like this using an old v1.1 theme. It would be better to use a newer one. You will need to copy code from the new default theme into your old theme to get things to work. For example, check line 28 of shopping-cart.tpl in your theme's directory:

getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small')}" alt="{$product.name|escape:'htmlall':'UTF-8'}" width="{$smallSize.width}" height="{$smallSize.height}" />



Compare it to the code in your old theme and update it as appropriate. I think the image size was changed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...