Skip to content

Commit

Permalink
migrated address plugin to confirmation page
Browse files Browse the repository at this point in the history
  • Loading branch information
illiphilli committed Jun 29, 2011
1 parent 1da65a1 commit a6c1c16
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 35 deletions.
3 changes: 3 additions & 0 deletions framework/modules/ecommerce/assets/css/confirmation.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ a.awesome.next {
width:90%;
}

.address span {
display:block;
}
40 changes: 5 additions & 35 deletions framework/modules/ecommerce/views/cart/confirm.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,10 @@
</tr>
</thead>
<tbody>
<tr>
<tr class="even">
<td>
<address>
{$billing->address->firstname} {$billing->address->middlename} {$billing->address->lastname}{br}
{$billing->address->address1}{br}
{if $billing->address->address2}{$billing->address->address2}{br}{/if}
{$billing->address->city},
{* $billing->address->state|statename}, {$billing->address->zip *}
{if $billing->address->state == -2}
{$billing->address->non_us_state}
{else}
{$billing->address->state|statename:abv}
{/if}
{$billing->address->zip}
{if $billing->address->state == -2}
{br}{$billing->address->country|countryname}
{/if}
</address>
</td>
{$order->billingmethod[0]->addresses_id|address}
</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -121,24 +106,9 @@
</tr>
</thead>
<tbody>
<tr>
<tr class="even">
<td>
<address>
{$shipping->shippingmethod->firstname} {$shipping->shippingmethod->middlename} {$shipping->shippingmethod->lastname}{br}
{$shipping->shippingmethod->address1}{br}
{if $shipping->shippingmethod->address2}{$shipping->shippingmethod->address2}{br}{/if}
{$shipping->shippingmethod->city},
{* $shipping->shippingmethod->state|statename}, {$shipping->shippingmethod->zip *}
{if $shipping->shippingmethod->state == -2}
{$shipping->shippingmethod->non_us_state}
{else}
{$shipping->shippingmethod->state|statename:abv}
{/if}
{$shipping->shippingmethod->zip}
{if $shipping->shippingmethod->state == -2}
{br}{$shipping->shippingmethod->country|countryname}
{/if}
</address>
{$shipping->shippingmethod->addresses_id|address}
{if $shipping->shippingmethod->to != "" || $shipping->shippingmethod->from != "" || $shipping->shippingmethod->message != ""}
{br}
<h4>Gift Message</h4>
Expand Down

0 comments on commit a6c1c16

Please sign in to comment.