View Single Post
  #6  
Old 09-17-2014, 08:13 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: HELP-The CLICK function in my script wont work

Cool, you have an online vape shop. Sweet.

Sure if the code is in home.tpl, it will be called on every page. customer/home.tpl is the container for every customer side page.

If you want to restrict it to the home page, you need to add an if statement around all the code.
Code:
{if $main eq "catalog" and $current_category.category eq ""} All your code above goes here {/if}
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote