在prestashop.tpl中,如何只打印值,而不是完整的数组


Smarty in prestashop .tpl, how to print only the value, not the full array

我只想打印这个结果的值"data":

$ZC_HEALTHBAND_DATA Smarty_Variable Object (3)
->value = Array (1)
  0 => Array (3)
    id => "3"
    option => "ZC_HEALTHBAND_DATA"
    data => "<table width="100%"><tr><td></td><td ..."
->nocache = false
->scope = "/..."

我试过使用{$ZC_HEALTHBAND_DATA|@print_r},但那是打印数据和数组。。。

Array ( [0] => Array ( [id] => 3 [option] => ZC_HEALTHBAND_DATA [data] =>
<table width="100%"><tr><td></td><td ...
)) 1

我只想打印:

<table width="100%"><tr><td></td><td ...

感谢

它是一个二维数组:

{$ZC_HEALTHBAND_DATA[0].data}