title: Assign value to multidimentional array in smarty
body: <p>I would like to assign a value to multidimentional array with Smarty.</p>
  
  <p>To assign value to a variable, I use below code.</p>
  
  <pre><code>{assign='data1', value='this is data'}
  </code></pre>
  
  <p>I have a variable, <code>$cart[products]</code> and would like to assign a value to that variable.</p>
  
  <p>I have tried using <code>{assign='cart.products', value='this is data'}</code> but the data doesn't enter the variable.</p>
  
  <p>Can anybody help me to solve this problem?</p>