mcqueeneycoins:
@lat9, possibly another bug found on the checkout_success page? "My Orders" button showing in the log off card box, the "My Account" box has a customer service text/button, and Customer Service box duplicates My Account content. See red below:
<!--bof log off card-->
<div id="logOff-card" class="card">
<div id="logOff-card-body" class="card-body">
<?php
if (isset($_SESSION['customer_guest_id'])) {
echo TEXT_CHECKOUT_LOGOFF_GUEST;
} elseif (isset($_SESSION['customer_id'])) {
echo TEXT_CHECKOUT_LOGOFF_CUSTOMER;
}
?>
<div id="logOff-btn-toolbar" class="btn-toolbar justify-content-between mt-3" role="toolbar">
<?php echo zca_button_link(zen_href_link(FILENAME_ACCOUNT, '', 'SSL'), BUTTON_MY_ORDERS_TEXT, 'button_my_orders', 'id="linkMyAccount"'); ?>
<?php echo zca_button_link(zen_href_link(FILENAME_LOGOFF, '', 'SSL'), BUTTON_LOG_OFF_ALT, 'button_logoff', 'id="linkLogoff"'); ?>
</div>
</div>
</div>
<!--eof log off card-->
<!--bof my account card-->
<div id="myAccount-card" class="card">
<div id="myAccount-card-body" class="card-body">
<?php echo TEXT_CONTACT_STORE_OWNER;?>
<div id="cust-btn-toolbar" class="btn-toolbar justify-content-center mt-3" role="toolbar">
<?php echo zca_button_link(zen_href_link(FILENAME_CONTACT_US, '', 'SSL'), BUTTON_CONTACT_US_TEXT, 'button_contact_us'); ?>
</div>
</div>
</div>
<!--eof my account card-->
</div>
<!--eof card deck-->
<!--bof customer service card-->
<div id="customerService-card" class="card mb-3">
<div id="customerService-card-body" class="card-body p-3">
<?php echo TEXT_CONTACT_STORE_OWNER;?>
</div>
</div>
<!--eof customer service card-->
>
> Should the My Account card box be calling for the TEXT_SEE_ORDERS language?
Yep, I saw that when I updated my site to use the template (the duplication). I'll be removing the following section from /bootstrap/templates/tpl_checkout_success_default.php for the next release:
<!--bof customer service card-->
<div id="customerService-card" class="card mb-3">
<div id="customerService-card-body" class="card-body p-3">
<?php echo TEXT_CONTACT_STORE_OWNER;?>
</div>
</div>
<!--eof customer service card-->