Jump to content
thirty bees forum

Recommended Posts

Posted

Hi

I  can't really find any real information about "manufacturer" tab under accessories , Can anyone enlighten me on the use of this

Like does it help in SEO mostly and if yes is there a way to get it to show on the product page , don't really want a image just the name

tia

Posted

Thanks ..I was looking for manufacturer.. Thought brand was something else as when I used it all I got was the default image .

Although I do need to move it up a bit if at all possible

Get a error page when I tried with this .. I may have taken to much

 

{if ($show_brand_logo>1 && $product_manufacturer->id_manufacturer) || (isset($sttheme.display_pro_tags) && $sttheme.display_pro_tags>1 && isset($product->tags[$cookie->id_lang]) && count($product->tags[$cookie->id_lang]))}
                        <div class="product_extra_info_wrap">
                            {if $show_brand_logo>1 && $product_manufacturer->id_manufacturer}
                            <p id="product_manufacturer_info" class="product_extra_info clearfix">
                                <span class="product_extra_info_label">{l s='Brand:'} </span>
                                <a {if $enable_google_rich_snippets} itemprop="brand" itemscope="" itemtype="https://schema.org/Organization" {/if} href="{$link->getmanufacturerLink($product_manufacturer->id_manufacturer, $product_manufacturer->link_rewrite)}" title="{l s='All products of this manufacturer'}" target="_top">
                                    {if $enable_google_rich_snippets}<meta itemprop="name" content="{$product_manufacturer->name}" />{/if}
                                    {if $show_brand_logo==2}
                                        {$product_manufacturer->name}
                                    {else}
                                        <img {if $enable_google_rich_snippets} itemprop="image" {/if} alt="{$product_manufacturer->name}" class="replace-2x" src="{$img_manu_dir}{$product_manufacturer->id_manufacturer}-manufacturer_default.jpg" />
                                    {/if}
                                </a>
                            </p>

 

Posted

If $show_brand_logo is boolean which I assume, it can only be 0 (deactivated) or 1 (activated). So

if $show_brand_logo > 1

makes no sense and must therefor cause an error.

  • Like 1
Posted
On 9/15/2019 at 1:32 AM, Occam said:

If $show_brand_logo is boolean which I assume, it can only be 0 (deactivated) or 1 (activated). So


if $show_brand_logo > 1

makes no sense and must therefor cause an error.

I was about to laugh actually when I saw the code.. lol.. 

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
×
×
  • Create New...