Jump to content
kosynier8

[PS 1.7.1.2] Logo producenta na stronie produktu

Recommended Posts

Witam

Posiadam PS 1.7.1.2 i chciałbym aby na stronie produktu wyświetlało się logo producenta. Znalazłem rozwiązanie na forum ale dla wersji 1.6.

Dziękuję i pozdrawiam

Share this post


Link to post
Share on other sites

Nikt nie wie ? Sam znalazłem rozwiązanie.

Wystarczy ten kod wstawić w product.tpl

{if isset($manufacturer_image_url)}
          <a href="{$product_brand_url}">
            <img src="{$manufacturer_image_url}" class="img img-thumbnail manufacturer-logo" />
          </a>
        {else}
          <label class="label">{l s='Brand' d='Shop.Theme.Catalog'}</label>
          <span>
            <a href="{$product_brand_url}">{$product_manufacturer->name}</a>
          </span>
        {/if}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More