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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

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