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

Hide related products tpl when there are none

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 01-21-2008, 04:59 AM
  Ene's Avatar 
Ene Ene is offline
 

X-Cart team
  
Join Date: Aug 2004
Posts: 907
 

Default 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.
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)

ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer


Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
Reply With Quote
  #12  
Old 01-21-2008, 08:02 AM
  Warwick's Avatar 
Warwick Warwick is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Somewhere on the web through European connection
Posts: 868
 

Default Re: Hide related products tpl when there are none

Please check your PM
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25
X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many
∙∙ Experience: Somewhere beyond newbie
-----------------------------------
------------------------------------------------------------------------------------------------------
Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info
Reply With Quote
  #13  
Old 01-23-2008, 03:19 PM
  Warwick's Avatar 
Warwick Warwick is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Somewhere on the web through European connection
Posts: 868
 

Default Re: Hide related products tpl when there are none

Did you get my PM Eugene?
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25
X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many
∙∙ Experience: Somewhere beyond newbie
-----------------------------------
------------------------------------------------------------------------------------------------------
Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info
Reply With Quote
  #14  
Old 02-02-2009, 11:06 AM
 
ChristineP ChristineP is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 310
 

Default 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?
__________________
______________
version 4.1.9 Gold
Reply With Quote
  #15  
Old 02-03-2009, 02:02 AM
  Ene's Avatar 
Ene Ene is offline
 

X-Cart team
  
Join Date: Aug 2004
Posts: 907
 

Default Re: Hide related products tpl when there are none

Quote:
Did you get my PM Eugene?

No. Could you please re-post it?
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)

ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer


Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
Reply With Quote
  #16  
Old 02-09-2009, 04:22 AM
  Warwick's Avatar 
Warwick Warwick is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Somewhere on the web through European connection
Posts: 868
 

Lightbulb 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
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25
X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many
∙∙ Experience: Somewhere beyond newbie
-----------------------------------
------------------------------------------------------------------------------------------------------
Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info
Reply With Quote
  #17  
Old 02-09-2009, 10:28 AM
 
ChristineP ChristineP is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 310
 

Default 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
__________________
______________
version 4.1.9 Gold
Reply With Quote
  #18  
Old 02-09-2009, 10:44 AM
  Warwick's Avatar 
Warwick Warwick is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Somewhere on the web through European connection
Posts: 868
 

Default 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
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25
X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many
∙∙ Experience: Somewhere beyond newbie
-----------------------------------
------------------------------------------------------------------------------------------------------
Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info
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 11:51 AM.

   

 
X-Cart forums © 2001-2020