title: smarty cs-cart assign a link to a variable
body: <p>I am learning smarty. I want to assign a link to a variable:</p>
  
  <pre><code>{assign var="book_link" value="`$smarty.capture.$name` nofilter"}
  </code></pre>
  
  <p>I want to use truncate to produce that <code>book_link</code>, so i use</p>
  
  <pre><code>&lt;div class="title-book"&gt;{$book_link|truncate:50}&lt;/div&gt;
  </code></pre>
  
  <p>But it did not work.</p>