Hint 1
One thing to mentioned first. When editing files and then ftping them up, you need to have your browser open with your shopping cart page displayed with something in it and hit reload of press f5 every minute or so, this will stop your session timing out otherwise you'll end up having to log in frequently which is more time consuming to see your changes.
Hint 2
Above is a good and comprehensive guide, There is a way to test exactly what your customer will see when worldpay sucks things in.
What's not mentioned is that to see how badly screwed up worldpay makes your site, you need to remove the base href tag from
includes/templates/template_default/common/tpl_header.php
PHP Code:
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
by changing it to
PHP Code:
<!--base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" /-->
<base href="http://rbsworldpay.co.uk" />
This will screw your site up ! But this way you know the exact extent of how bad the missing base href tag is and will generate lots of 404's not found over at worldpay's site, but it's the best way to see how bad things are.
The other thing to mentioned is that template_default may not be the template you are using to copy the files over to/ from the new folder, because you may already be using an overriding template. What you need to do is put
HTML Code:
<h1>HELLO WORLD 1</h1>
and then 2 and then 3 etc.... in any file you find where the folder and filename ends in
common/html_header.php
which will tell you which one to copy over.
Once you've done all of the editing it's best to still have the base href tag removed, put something in your shopping basket and go to world pay, then hit the cancel button on worldpay's website that will bring up the set of templates that you would have been editing
If the cancel page displays correctly (and you can hit f5 to refresh it if you need to reedit, and upload) then there is a good chance that you can go and make a payment in test mode and see if the final page works. The final page is ONE SHOT meaning that it will dump your shopping cart and try and redirect you, so you can't edit and then hit reload, you need to play around with the cancelled transaction page.
After you've done all this (and this is why I can't program the module to do this automatically), you can then "finally" put the base href tag back.
Philip.
Bookmarks