Forums / Addon Shipping Modules / Austpost out of alignment

Austpost out of alignment

Locked

Started by jogr on 20 Jun 2008, 9:38 AM · Views: 1,191

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
20 Jun 2008, 9:38 AM
#1
jogr avatar

jogr

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Austpost out of alignment

I am using Austpost which works great, unfortunately on the pages that show totals i.e invoice, checkout etc the line that shows the Austpost amount does not line up in the Totals column it appears to be left aligned.

21 Jun 2008, 2:48 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Austpost out of alignment

jogr:

I am using Austpost which works great, unfortunately on the pages that show totals i.e invoice, checkout etc the line that shows the Austpost amount does not line up in the Totals column it appears to be left aligned.

This is a CSS or theme issue rather than an AustPost module issue.
The AP module merely obtains the quotes. It doesn't define how they are actually displayed.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

21 Jun 2008, 3:06 AM
#3
jogr avatar

jogr

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: Austpost out of alignment

Hello Rod
I should have mentioned that I had not included the icons and was relying on a text only effect per alt=x.
As a test I replaced all calls to icons with define statements to give me a text value, which now works fine except on ADMIN/invoice.php,
The culprit code (in my case) appears to be on or about line 279......

for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
echo ' <tr>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Text">' . $order->totals[$i]['title'] . '</td>' . "\n" .
' <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
' </tr>' . "\n";

where I think there is still a call to an icon(austpost_del). nonetheless I shall persevere with it and hopefully come up with a solution,
Regards
John