X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding Category section in Cart and Checkout (https://forum.x-cart.com/showthread.php?t=64916)

aloha1 09-20-2012 12:49 PM

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

totaltec 09-20-2012 01:07 PM

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}.


All times are GMT -8. The time now is 05:50 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.