Kryptronic Software Support Forum

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.

#1 07-25-2007 08:28:47

9000world
Member
From: Denver
Registered: 06-19-2007
Posts: 37
Website

Need XHTML Include Content

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

 

#2 07-25-2007 08:37:58

GoBrushless.com
Member
Registered: 06-29-2005
Posts: 431

Re: Need XHTML Include Content

been there, done that.  fyi you can log into nick's CCP6 demo site backend and pull lost code from there. smile

Code:

<?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

 

#3 07-25-2007 08:44:10

9000world
Member
From: Denver
Registered: 06-19-2007
Posts: 37
Website

Re: Need XHTML Include Content

Eternal thanks!

Ya, I should of thought of going to the demo site. Obviously not enough coffee yet.

Thanks again.

Mike

Offline

 

Board footer