Skip to content

Instantly share code, notes, and snippets.

@oki
Created February 20, 2018 08:42
Show Gist options
  • Select an option

  • Save oki/4015d2ef6e8d906bf5226fc9c7f8449e to your computer and use it in GitHub Desktop.

Select an option

Save oki/4015d2ef6e8d906bf5226fc9c7f8449e to your computer and use it in GitHub Desktop.
<!-- info o dostawcy -->
<td>
{assign var=product_features value=Product::getFeaturesStatic($product['product_id'])}
{foreach from=$product_features item=raw_feature}
{assign var=feature value=Feature::getFeature($current_id_lang, $raw_feature["id_feature"])}
{if $feature["name"] == "supplier"}
{assign var=feature_value value=FeatureValue::getFeatureValueLang($raw_feature["id_feature_value"])}
<b>{$feature_value[0]["value"]}</b>
{/if}
{/foreach}
</td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment