title: Smarty templates take variable and use in include string?
body: <p>I'm working with a shopping cart (CS-cart) that uses smarty templates. Products are associated with a brand. When the product page renders i'm able to get the brand ID. </p>
  
  <p>I also have custom .tpl files such as brand1.tpl brand2.tpl where the number represents the row id from the db table. </p>
  
  <p>If I have the brand ID in a variable, would someone show me an example of how to include the custom template and dynamically use the brand ID variable in place of the number in the file name being included. Something like below but I don't think $bid is a way to insert the variable. Any help is appreciated </p>
  
  <p>Thanks </p>
  
  <p>{include file='brand$bid.tpl'}</p>