Hi,
I have 5 different javascript for the homepage, listingpage, productpage, basket en thankyoupage.
I want to make in the customer index.tpl before the if else for these 5 pages.
Does anybody knows what kind off statements must be used?
if(homepage){
homepagescript
}
elseif(listingpage){
listingscript
}
elseif(productpage){
productpagescript
}
elseif(basket){
basketscript
}
elseif(thankyoupage){
thankyou script
}
kind regards,
Bas
{if $controller == "index"}
Your code here
{/if}
{if $controller == "categories"}
Your code here
{/if}
{if $controller == "products"}
Your code here
{/if}
Hi StellarBytes,
Thanks for your quick reply!
What statements can i use for the basket and thankyou page?
Kind regards,
Bas
You can also use these hooks… checkout:cart and checkout:order_confirmation
I am new with CS Cart, how ?
Ok thanks!