Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding Category section in Cart and Checkout

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-20-2012, 12:49 PM
 
aloha1 aloha1 is offline
 

Member
  
Join Date: May 2004
Posts: 29
 

Default Adding Category section in Cart and Checkout

Hello,

For some reason, the side categories and links disappear when im in the cart or during the checkout process.
I would like the side links to be visible even in the checkout process.
I am working with X-Cart Gold 4.4.5
__________________
X-Cart Version 4.5.4
Unix
Reply With Quote
  #2  
Old 09-20-2012, 01:07 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Adding Category section in Cart and Checkout

This is a design feature, it is a common desire to simplify the checkout funnel by not distracting the user with extraneous links. Once they are in the cart we want them to stay there.

This might take some CSS styling, but the beginning point to stop this behavior is in /common_files/customer/content.tpl:
HTML Code:
{if ($main neq 'cart' or $cart_empty) and $main neq 'checkout'} <div id="left-bar"> {include file="customer/left_bar.tpl"} </div> <div id="right-bar"> {include file="customer/right_bar.tpl"} </div> {/if}
See the {if} statement there? Removing it should do the trick. Make sure to get both sides, remove {if ($main neq 'cart' or $cart_empty) and $main neq 'checkout'} and the closing {/if}.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:07 AM.

   

 
X-Cart forums © 2001-2020