Jump to content

Full description on manufacturer list page white background PS 1.6


Recommended Posts

Hi.

 

Can someone tell me how i can make the description on manufacturer page show all description with out "more"

and how to make it white background.

 

I have done this to categorypage but i can not find how to do this on manufacturer page.

 

I attache a picture showing what i want.

 

I use PS 1.6

webpage: www.cykelstaden.se

 

Regards

 

Plutten22

post-718236-0-31277800-1487676673_thumb.jpg

post-718236-0-46376700-1487676973_thumb.jpg

Edited by plutten22 (see edit history)
Link to comment
Share on other sites

Just change lines 33-53 (in PrestaShop v1.6.1.11) of themes/default-bootstrap/manufacturer.tpl from:

	{if !empty($manufacturer->description) || !empty($manufacturer->short_description)}
		<div class="description_box rte">
			{if !empty($manufacturer->short_description)}
				<div class="short_desc">
					{$manufacturer->short_description}
				</div>
				<div class="hide_desc">
					{$manufacturer->description}
				</div>
				{if !empty($manufacturer->description)}
					<a href="#" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide();$(this).prev().prev().hide(); return false;">
						{l s='More'}
					</a>
				{/if}
			{else}
				<div>
					{$manufacturer->description}
				</div>
			{/if}
		</div>
	{/if}

to:

 {if !empty($manufacturer->description) || !empty($manufacturer->short_description)}
  <div class="description_box rte">
{*   {if !empty($manufacturer->short_description)}
    <div class="short_desc">
     {$manufacturer->short_description}
    </div>
    <div class="hide_desc">
*}     {$manufacturer->description}
{*    </div>
    {if !empty($manufacturer->description)}
     <a href="#" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide();$(this).prev().prev().hide(); return false;">
      {l s='More'}
     </a>
    {/if}
   {else}
    <div>
     {$manufacturer->description}
    </div>
   {/if}
*}  </div>
 {/if}

This should show only the long description.

  • Like 1
Link to comment
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
×
×
  • Create New...