Jump to content

How to create two titles?


QweenCosmetics

Recommended Posts

for 1.7 (:

 

$product_manufacturer->name 

in to /httpdocs/themes/classic/templates/catalog/product.tpl
 

          {block name='page_header_container'}
            {block name='page_header'}
              <h1 class="h1" itemprop="name">{block name='page_title'}{$product.name}{/block}</h1>
 <h1 class="h1" itemprop="name">{block name='page_title'}{$product_manufacturer->name }{/block}</h1>
            {/block}
          {/block}
Edited by Vilius PromoApranga (see edit history)
Link to comment
Share on other sites

above @vilius response is for PrestaShop 1.7x

for PrestaShop 1.6x, the file should be as following

 

YourStoreFolder/theme/YourThemeFolder/product.tpl

 

you need to find a line of following and then insert the manufacture info

 

<h1 itemprop="name">{$product->name|escape:'html':'UTF-8'}</h1>
  • 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...