Saturday, November 21, 2009

Virtuemart checkout progress bar

A slightly wierd one. Whn choosing the theme vmgreen, the checkout progress bar would not appear. Looking at the source of the markup the table which has a background style of the image had the relative URL of the folder displayed before the absolute URL of the image in the style declaration.

Editing [theme]/checkout/checkout_bar.tpl.php I messed around with it until I saw that the lines with :-

echo '
<table style="background: url( '. VM_THEMEURL .'images/checkout/checkout'.....

There was a space between url( and '.VM_THEMEURL .......

Removing that space did the trick for some strange reason.

1 comments:

Bobby said...

Wow.. I was troubleshooting this one myself. I looked at that a hundred times and never would have guessed that the space was the problem.

Post a Comment