View Single Post
  #1  
Old 02-13-2013, 09:22 PM
 
strimpf strimpf is offline
 

Newbie
  
Join Date: Feb 2013
Posts: 4
 

Default Detect that session is viewing the Shopping Cart in home.tpl

I can tell if I am on a Category page by using this in home.tpl:

{if $meta_page_type eq 'C'...}{/if}

The same goes for a product page (replace 'C' with 'P' above)

However, I am unable to figure out how to detect I am on the shopping cart page.

It would also be helpful to know how to examine the first item in the shopping cart. Particularly the SKU or the Name.

Update: my profile says 4.5.2 but I am working on a client site that is version 4.2.2.
__________________
4.5.2
Reply With Quote