Jump to content

Resolved - Improvements to Crosshatch Address Book


Recommended Posts

Just for information (and may be of use to future v6 upgraders....)

The Address Book page in Cc v6 Crosshatch skin looks very basic (see AddressBook_before image), and it's not obvious how a customer should change their address details.

A suggested improvement: in content.addressbook.php, at about line 5 change the "list" div:

        <div class="list">
             {foreach from=$ADDRESSES item=address}
            <div class="address">
                 {if !$address.billing}<span style="float: right;"><input type="checkbox" name="delete[]" value="{$address.address_id}"/></span>{/if}
                <p>
                    <a href="{$STORE_URL}/index.php?_a=addressbook&amp;action=edit&amp;address_id={$address.address_id}" class="txtDefault">{$address.description}</a> &nbsp; {$address.billing} {$address.default}<br/>
                    {$address.line1} {$address.line2}, {$address.town}, {$address.state}, {$address.postcode}
                </p>
            </div>

to look like this:

        <div class="list">
             {foreach from=$ADDRESSES item=address}
            <div class="address">
                 {if !$address.billing}<span style="float: right;"><input type="checkbox" name="delete[]" value="{$address.address_id}"/></span>{/if}
                <p>
                    <a href="{$STORE_URL}/index.php?_a=addressbook&amp;action=edit&amp;address_id={$address.address_id}" class="button_submit">{$address.description}</a> &nbsp; {$address.billing} {$address.default}<br/>
                    {$address.line1} {$address.line2}, {$address.town}, {$address.state}, {$address.postcode}
                </p>
            </div><br />


... in other words, changing class="txtDefault" to class="button_submit", removing the {$address.billing} {$address.default} text and adding a <br /> at the end of the "address" div, gives you this (see Addressbook_after image).

AddressBook_before.png

AddressBook_after.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...