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)
-   -   Hide related products tpl when there are none (https://forum.x-cart.com/showthread.php?t=36890)

Ene 01-21-2008 04:59 AM

Re: Hide related products tpl when there are none
 
Quote:

Originally Posted by Warwick
Yes, I have a one of the X-Cart skin templates installed (Fashion Mosaic).


Please PM me the URL of your product page that has 'Related products' section and doesn't have the upselling products.

Warwick 01-21-2008 08:02 AM

Re: Hide related products tpl when there are none
 
Please check your PM

Warwick 01-23-2008 03:19 PM

Re: Hide related products tpl when there are none
 
Did you get my PM Eugene?

ChristineP 02-02-2009 11:06 AM

Re: Hide related products tpl when there are none
 
Did you ever get an answer for hiding related products when there are none with your custom mod?

Christine

Quote:

Originally Posted by Warwick
Did you get my PM Eugene?


Ene 02-03-2009 02:02 AM

Re: Hide related products tpl when there are none
 
Quote:

Did you get my PM Eugene?

No. Could you please re-post it?

Warwick 02-09-2009 04:22 AM

Re: Hide related products tpl when there are none
 
Oops, I've send the PM around the end of january 2008 ... I'm kind of lost with what this thread was all about and if it has been solved more than one year later :roll:

ChristineP 02-09-2009 10:28 AM

Re: Hide related products tpl when there are none
 
Not sure what custom mod you have that Ene asked you about in a previous post. My custom mod is the "DIY Tabbed Content Menu for Product Page". The following post references the code I used to show the tab when there is content for related products: http://forum.x-cart.com/showthread.php?t=11094&page=19

Code:
{if $product_links eq ""}
{else}
{if $active_modules.Upselling_Products ne ""}
<li><a href="#tabs" rel="tcontent4">Related Items</a></li>
{/if}{/if}

Hope this will give you something to work with to remedy your problem.
Christine

Quote:

Originally Posted by Warwick
Oops, I've send the PM around the end of january 2008 ... I'm kind of lost with what this thread was all about and if it has been solved more than one year later :roll:


Warwick 02-09-2009 10:44 AM

Re: Hide related products tpl when there are none
 
Thanks, seeing the code made me remember; unfortunately I didn't find a remedy and finally I dropped the tabbed display with the site it was meant for, sorry 'bout that :(


All times are GMT -8. The time now is 09:59 AM.

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