I figured it out an addition needs to be made in ../pages/login/header_php.php
around line 87.
I added:
PHP Code:
$_SESSION['customer_default_postal_id'] = $check_customer->fields['customers_default_postal_id'];
I now have an additional issue I can't seem to add a tick box next to address_book_details.php
I noticed that primary shipping address uses:
PHP Code:
<?php
if ((isset($_GET['edit']) && ($_SESSION['customer_default_address_id'] != $_GET['edit'])) || (isset($_GET['edit']) == false) ) {
?>
<?php echo zen_draw_checkbox_field('primary', 'on', false, 'id="primary"') . ' <label class="checkboxLabel" for="primary">' . SET_AS_PRIMARY . '</label>'; ?>
<?php
}
?>
so I tried:
PHP Code:
<?php
if ((isset($_GET['edit']) && ($_SESSION['customer_default_postal_id'] != $_GET['edit'])) || (isset($_GET['edit']) == false) ) {
?>
<?php echo zen_draw_checkbox_field('primary', 'on', false, 'id="primary"') . ' <label class="checkboxLabel" for="primary">' . SET_AS_PRIMARY . '</label>'; ?>
<?php
}
?>
but it didn't seem to work. Does anyone have any suggestions?
Thanks again.
Bookmarks