Re: Proper way for query functionality
This will depend on what you need and how you intend to use it.
You can look at root/product.php for example how the php file is structured and the query called to collect initial product info. The smarty assign is in there too.
The tpl file is skins/common_files/customer/main/product.tpl - you can see there how the smarty $product variable is used.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
|