View Single Post
  #48  
Old 03-09-2007, 11:03 PM
  newattraction's Avatar 
newattraction newattraction is offline
 

Member
  
Join Date: Oct 2006
Posts: 17
 

Thumbs up Re: Improved minicart display

Actually, auth.php is included in many other php files, such as product.php (for displaying product details), so that when a file such as product.php is called, it will also display minicart on the same page.


Let's use product.php as another example. The following two lines can be found in file product.php:

require "./auth.php";

and

func_display("customer/home.tpl",smarty);

So, whenever a product details page is shown, minicart will appear also.

I'm sure you can find other php files/examples which include auth.php and display through home.tpl, and therefore minicart will show up along with output from home.tpl.

Happy code tracking!

Guosheng
__________________
www.vonbell.com
xcart v4.1.6
Reply With Quote