Jump to content

Edit History

AcidLava

AcidLava

@wepresta C'est ce que j'ai fais mais la variable n'affiche rien.
 

 {block name='order_confirmation_table'}
      {foreach from=$products item=product}
        <div class="order-line row">
          <div class="col-sm-2 col-xs-3">
            <span class="image">
              {if !empty($product.default_image)}
                <img src="{$product.default_image.medium.url}" loading="lazy" />
              {else}
                <img src="{$urls.no_picture_image.bySize.medium_default.url}" loading="lazy" />
              {/if}
            </span>
          </div>
          <div class="col-sm-4 col-xs-9 details">
            {if $add_product_link}<a href="{$product.url}" target="_blank">{/if}
              <span>{$product.name}</span>
            {if $add_product_link}</a>{/if}
                {if (isset($product.quantity_all_versions) && $product.quantity_all_versions < 0)}
                  <div>
                    <span class="red icon--pulsing"></span>
                    <span class="msg">{$product.availability_message}</span>
                  /div>

                {else}
                  <div>
                    <span class="icon--pulsing"></span> 
                     <span class="msg">{$product.availability_message}</span>
                  </div>
                {/if}

 

AcidLava

AcidLava

@wepresta C'est ce que j'ai fais mais la variable n'affiche rien.
 

 {block name='order_confirmation_table'}
      {foreach from=$products item=product}
        <div class="order-line row">
          <div class="col-sm-2 col-xs-3">
            <span class="image">
              {if !empty($product.default_image)}
                <img src="{$product.default_image.medium.url}" loading="lazy" />
              {else}
                <img src="{$urls.no_picture_image.bySize.medium_default.url}" loading="lazy" />
              {/if}
            </span>
          </div>
          <div class="col-sm-4 col-xs-9 details">
            {if $add_product_link}<a href="{$product.url}" target="_blank">{/if}
              <span>{$product.name}</span>
            {if $add_product_link}</a>{/if}
                {if (isset($product.quantity_all_versions) && $product.quantity_all_versions < 0)}
                  <div>
                    <span class="red icon--pulsing"></span>
                    <span class="msg">{$product.availability_message}</span>
                  /div>

                {else}
                  <div>
                    <span class="icon--pulsing"></span> 
                     <span class="msg">{$product.availability_message|@var_dump}</span>
                  </div>
                {/if}

 

AcidLava

AcidLava

@wepresta C'est ce que j'ai fais mais la variable n'affiche rien.
 

 {block name='order_confirmation_table'}
      {foreach from=$products item=product}
        <div class="order-line row">
          <div class="col-sm-2 col-xs-3">
            <span class="image">
              {if !empty($product.default_image)}
                <img src="{$product.default_image.medium.url}" loading="lazy" />
              {else}
                <img src="{$urls.no_picture_image.bySize.medium_default.url}" loading="lazy" />
              {/if}
            </span>
          </div>
          <div class="col-sm-4 col-xs-9 details">
            {if $add_product_link}<a href="{$product.url}" target="_blank">{/if}
              <span>{$product.name}</span>
            {if $add_product_link}</a>{/if}
                {if (isset($product.quantity_all_versions) && $product.quantity_all_versions < 0)}
                  <div>
                    <span class="red icon--pulsing"></span>
                    <span class="msg">{$product.availability_messagee}</span>
                  /div>

                {else}
                  <div>
                    <span class="icon--pulsing"></span> 
                     <span class="msg">{$product.availability_message|@var_dump}</span>
                  </div>
                {/if}

 

×
×
  • Create New...