You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Boy, this is embarassing. I accidentally blew away the contents of the Shopping Cart/Wish List Header XHTML. And here is the embarassing part. I don't have a backup. Crap!
Can someone please (grovel) paste in the default contents for their copy of this include?
Thanks,
Mike
Offline
been there, done that. fyi you can log into nick's CCP6 demo site backend and pull lost code from there. ![]()
<?php
$app = $this->globals('khxc_display.app');
$eol = $this->globals('khxc.eol');
$user = $this->globals('khxc_user.id');
$disablewl = $this->globals('khxc_settings.' . $app . '.disablewishlist');
if (!(empty($user))) {
if (empty($disablewl)) {
print '<p>Your shopping cart and wish list are displayed below. You have options on this
page to move items between your shopping cart and wish list, to update quantities and
to delete items from your shopping cart and wish list.</p>' . $eol . $eol;
} else {
print '<p>Your shopping cart is displayed below. You have options on this page to
update quantities and to delete items from your shopping cart.</p>' . $eol . $eol;
} // End of if statement.
} else {
if (empty($disablewl)) {
print '<p>Your shopping cart and wish list are displayed below. It is recommended that
you create an account or login to an existing account to save your shopping cart
and wish list for the next time you visit. You have options on this page to
move items between your shopping cart and wish list, to update quantities and
to delete items from your shopping cart and wish list.</p>' . $eol . $eol;
} else {
print '<p>Your shopping cart is displayed below. It is recommended that you
create an account or login to an existing account to save your shopping cart
for the next time you visit. You have options on this page to
update quantities and to delete items from your shopping cart.</p>' . $eol . $eol;
} // End of if statement.
$link_account = $this->link_namespace($app,'login',array('redir_ns' => 'viewcart'));
print '<p><a href="' . $link_account . '" title="Login">';
print 'Click here to login to an account, or to create a new account.</a>' . $eol . $eol;
} // End of if statement.
?>Offline