View Single Post
  #20  
Old 09-28-2012, 01:08 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: Is it possible to have your own tabs

Once you find $product.categoryid see it what value has in debugging console. It could not be 1 as you made that if statement.

Hope to write soon a thread about using one of XCart functions named x_log_add. This is a fantastic feature to use it inside a php code and then see what is happening in a separate file. Same like a debugging tool.
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote