• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

richtheo
#1 Posted : Wednesday, November 7, 2007 5:03:46 PM(UTC)
richtheo

Rank: Member

Joined: 7/17/2007(UTC)
Posts: 24

The standard [[Order.ShippingAddress]] tag that's included in BVC5 SP2 templates doesn't work for address labels because it includes a phone number !
It also puts the Post Code (Zip) to the right of the city. In the UK we need the postcode underneath the City.

I have tried to build an address block of my own using the discrete address tags but when the customer doesn't provide content for all the fields you end up with blank lines in the address block which looks rubbish.

Can you use script within the templates e.g. ASP <% %> If ... Then ... Else ... End If etc ?

How do i get rid of the blank lines ?
Am i being a wally ?

Please help.

Richard
richtheo
#2 Posted : Wednesday, November 7, 2007 5:11:41 PM(UTC)
richtheo

Rank: Member

Joined: 7/17/2007(UTC)
Posts: 24

Its ok - i solved it by wrapping each line in a DIV tag. The top DIV increases the font size which gives a better label.

<div style="font-size:12pt">
<div>[[Order.ShippingAddress.FirstName]]&nbsp;[[Order.ShippingAddress.LastName]]</div>
<div>[[Order.ShippingAddress.Company]]</div>
<div>[[Order.ShippingAddress.Line1]]</div>
<div>[[Order.ShippingAddress.Line2]]</div>
<div>[[Order.ShippingAddress.Line3]]</div>
<div>[[Order.ShippingAddress.City]]</div>
<div>[[Order.ShippingAddress.PostalCode]]</div>
</div>
<div align="right">[[Order.OrderNumber]]</div>
CorneliuTusnea
#3 Posted : Tuesday, November 13, 2007 7:33:49 AM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

The problem with this is that you will have empty lines for Line2, Line3 if they are empty. Not good.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

richtheo
#4 Posted : Tuesday, November 13, 2007 8:57:30 AM(UTC)
richtheo

Rank: Member

Joined: 7/17/2007(UTC)
Posts: 24

don't seem to get the blank lines. That's why i did it.
Andy Miller
#5 Posted : Tuesday, November 13, 2007 1:09:01 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
empty div's collapse to nothing unless you have added a CSS style to add padding.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012