PrestaShop Product slider (or other module) how to add CMS CODE to show manufacturer_name

MrGreen
53 Posts
MrGreen posted this 25 November 2015

Hi,

on product slider like "other products on the same category"

what is the code to add the manufacturer_name on a CMS CODE ?

Regards

Hi, on product slider like "other products on the same category" what is the code to add the manufacturer_name on a CMS CODE ? Regards
Vote to pay developers attention to this features or issue.
5 Comments
Order By: Standard | Newest
Alastiar Brian
6 Posts
Alastiar Brian posted this 26 November 2015

Hello MrGreen,

Hope you will be doing great. :-)

Checkout out this: http://www.fmemodules.com/en/55-news-slider.html PrestaShop free news slider module that works on home page and it show latest news, images, events, and other elegant blocks on left column of your website.

Regards,

Hello MrGreen, Hope you will be doing great. :-) Checkout out this: http://www.fmemodules.com/en/55-news-slider.html PrestaShop free news slider module that works on home page and it show latest news, images, events, and other elegant blocks on left column of your website. Regards,
MrGreen
53 Posts
MrGreen posted this 27 November 2015

Hi

thanks for this information, but it's no answer my problem :)

Regards

Hi thanks for this information, but it's no answer my problem :) Regards
Support Team
Support Team posted this 30 November 2015

Hi,

what is the code to add the manufacturer_name on a CMS CODE ?

Please try the following code:

{if isset($product.manufacturer_name)}

<a href="{$link->getPageLink('manufacturer.php')}?id_manufacturer={$product->id_manufacturer}" title="{$product.manufacturer_name|escape:'htmlall':'UTF-8'}" target="_blank">
{$product.manufacturer_name|escape:'htmlall':'UTF-8'}
</a>

{/if}

Thank you,
Olivia

Hi, > what is the code to add the manufacturer_name on a CMS CODE ? Please try the following code: <pre> {if isset($product.manufacturer_name)} &lt;a href="{$link->getPageLink('manufacturer.php')}?id_manufacturer={$product->id_manufacturer}" title="{$product.manufacturer_name|escape:'htmlall':'UTF-8'}" target="_blank"&gt; {$product.manufacturer_name|escape:'htmlall':'UTF-8'} &lt;/a&gt; {/if} </pre> Thank you, Olivia
MrGreen
53 Posts
MrGreen posted this 30 November 2015

Hi Olivia,

i've try with this, but there is an error :

t.jpg

have you another solution ?

Hi Olivia, i've try with this, but there is an error : !t.jpg! have you another solution ?
Support Team
Support Team posted this 01 December 2015

Hi,

Could you please try a little different code:

{if !is_object($product) && isset($product.manufacturer_name)}

<a href="{$link->getPageLink('manufacturer.php')}?id_manufacturer={$product.id_manufacturer}" title="{$product.manufacturer_name|escape:'htmlall':'UTF-8'}" target="_blank">
{$product.manufacturer_name|escape:'htmlall':'UTF-8'}
</a>

{/if}

Please note that Themler theme has one Product Slider per theme. It means that all product Slider controls will have this control. In most of cases you will not see manufacturer because appropriate PrestaShop modules cannot output it. But you will see manufacturer, for example, in the Featured product Slider.

Please keep us posted about the progress.

Thank you,
Olivia

Hi, Could you please try a little different code: <pre> {if !is_object($product) && isset($product.manufacturer_name)} &lt;a href="{$link->getPageLink('manufacturer.php')}?id_manufacturer={$product.id_manufacturer}" title="{$product.manufacturer_name|escape:'htmlall':'UTF-8'}" target="_blank"&gt; {$product.manufacturer_name|escape:'htmlall':'UTF-8'} &lt;/a&gt; {/if} </pre> Please note that Themler theme has one Product Slider per theme. It means that all product Slider controls will have this control. In most of cases you will not see manufacturer because appropriate PrestaShop modules cannot output it. But you will see manufacturer, for example, in the Featured product Slider. Please keep us posted about the progress. Thank you, Olivia
You must log in or register to leave comments