Jump to content

Edit History

Peter Liska

Peter Liska

On 11/26/2020 at 3:21 PM, Michi001 said:

Attached also my product_listgrid.tpl File.

One small note:

It would be best not to forget to give Google robots complete texts.

Because I can see these truncate (for example) in your code (but it is there for good design - except img alt )

<img
  src = "{$product.cover.bySize.home_default.url}"
  alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
  data-full-size-image-url = "{$product.cover.large.url}"
>

{block name='product_name'}
  <h3 class="h3 product-title" itemprop="name">
    <a href="{$product.url}">{$product.name|truncate:46:'...'}</a>
  </h3><p>{$product.description_short|strip_tags:'htmlall':'UTF-8'|truncate:100:'...'}</p>
{/block}

 

Peter Liska

Peter Liska

On 11/26/2020 at 3:21 PM, Michi001 said:

Attached also my product_listgrid.tpl File.

One small note:

It would be best not to forget to give Google robots complete texts.

Because I can see these truncate (for example) in your code (but it is there for good design):

<img
  src = "{$product.cover.bySize.home_default.url}"
  alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
  data-full-size-image-url = "{$product.cover.large.url}"
>

{block name='product_name'}
  <h3 class="h3 product-title" itemprop="name">
    <a href="{$product.url}">{$product.name|truncate:46:'...'}</a>
  </h3><p>{$product.description_short|strip_tags:'htmlall':'UTF-8'|truncate:100:'...'}</p>
{/block}

 

Peter Liska

Peter Liska

On 11/26/2020 at 3:21 PM, Michi001 said:

Attached also my product_listgrid.tpl File.

One small note:

It would be best not to forget to give Google robots complete texts.

Because I see (for example) these truncate in your code (but it is there for good design):

<img
  src = "{$product.cover.bySize.home_default.url}"
  alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
  data-full-size-image-url = "{$product.cover.large.url}"
>

{block name='product_name'}
  <h3 class="h3 product-title" itemprop="name">
    <a href="{$product.url}">{$product.name|truncate:46:'...'}</a>
  </h3><p>{$product.description_short|strip_tags:'htmlall':'UTF-8'|truncate:100:'...'}</p>
{/block}

 

Peter Liska

Peter Liska

On 11/26/2020 at 3:21 PM, Michi001 said:

Attached also my product_listgrid.tpl File.

One small note:

It would be best not to forget to give Google robots complete texts.

Because I see (for example) these truncate in your code (but it is there for good design)

<img
  src = "{$product.cover.bySize.home_default.url}"
  alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
  data-full-size-image-url = "{$product.cover.large.url}"
>

{block name='product_name'}
  <h3 class="h3 product-title" itemprop="name">
    <a href="{$product.url}">{$product.name|truncate:46:'...'}</a>
  </h3><p>{$product.description_short|strip_tags:'htmlall':'UTF-8'|truncate:100:'...'}</p>
{/block}

 

Peter Liska

Peter Liska

On 11/26/2020 at 3:21 PM, Michi001 said:

Attached also my product_listgrid.tpl File.

One small note:

It would be best not to forget to give Google robots complete texts.

Because I see (for example) these truncate in your code (but it is there for good design)

<img
  src = "{$product.cover.bySize.home_default.url}"
  alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
  data-full-size-image-url = "{$product.cover.large.url}"
>

{block name='product_name'}
  <h3 class="h3 product-title" itemprop="name">
    <a href="{$product.url}">{$product.name|truncate:46:'...'}</a>
  </h3><p>{$product.description_short|strip_tags:'htmlall':'UTF-8'|truncate:100:'...'}</p>
{/block}

 

×
×
  • Create New...