| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
No right bar when Product Details are shown | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
No right bar when Product Details are shown
Hello everyone,
I hope this great community is able to help me. I am trying to accomplish the following: If the product details page is shown, then the right bar should be "turned off". Otherwise the right bar should be included. is there anyone, who can help me how to do that? XCart 4.5.0 thanks a lot in advance! Manuela
__________________
X-Cart Gold |
|||||||
#2
|
|||||||
|
|||||||
Re: No right bar when Product Details are shown
Smarty logic is...
Quote:
__________________
xcartmods.co.uk |
|||||||
|
#3
|
|||||||
|
|||||||
Re: No right bar when Product Details are shown
Hello PhilJ,
thanks a lot for your answer. I already tried: {if $main ne 'product'} <div id="right-bar"> {include file="customer/right_bar.tpl"} </div> {/if} - when added this way I get no bar , but also no other content. Only a white "box" in the middle".. Did I do anything wrong in those few lines? Thanks a lot! Best wishes Manuela
__________________
X-Cart Gold |
|||||||
#5
|
|||||||
|
|||||||
Re: No right bar when Product Details are shown
My skin is a modified ideal_comfort
__________________
X-Cart Gold |
|||||||
#6
|
|||||||
|
|||||||
Re: No right bar when Product Details are shown
Attach your skin/ideal_comfort/customer/content.tpl file.
According to my files for that skin, there is no right_bar.tpl You're going to have to update the CSS in altskin.css, or possibly put in some inline CSS to compensate, due to the way QT have coded the columns.
__________________
xcartmods.co.uk |
|||||||
|
#7
|
|||||||
|
|||||||
Re: No right bar when Product Details are shown
that is correct - I manualy added one.
That's why I said "modified". I works as long as I put both into the same if clause (the one for right bar). Like this: PHP Code:
But it won't work the way, as shown on this content.tpl
__________________
X-Cart Gold |
|||||||
#8
|
|||||||
|
|||||||
Re: No right bar when Product Details are shown
You could try adding, before the closing {/if} in your newly added code...
Quote:
Or something along those lines... Hard to judge without knowing the URL.
__________________
xcartmods.co.uk |
|||||||
|
#9
|
|||||||
|
|||||||
Re: No right bar when Product Details are shown
[Edit]
__________________
Xcart 4.5.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|