AndyC Posted September 13, 2019 Share Posted September 13, 2019 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 Link to comment Share on other sites More sharing options...
colorful-ant Posted September 13, 2019 Share Posted September 13, 2019 if you use panda theme go to "stthemeeditor" - tab "product pages" here you can change the settings - manufacturer and product page Link to comment Share on other sites More sharing options...
AndyC Posted September 13, 2019 Author Share Posted September 13, 2019 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> Link to comment Share on other sites More sharing options...
Occam Posted September 14, 2019 Share Posted September 14, 2019 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. 1 Link to comment Share on other sites More sharing options...
shoptechmedia Posted September 20, 2019 Share Posted September 20, 2019 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.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now