Jump to content

display content by id_shop on product.tpl (Prestashop 1.7.8)


Recommended Posts

Hello, thanks you very mutch, 

prestashop: 1.7.8

class_child/template/catalog/product.tpl

 

{if $cart->id_shop ==1}
 <div class="pomocnik1">  

{/if}

{if $cart->id_shop ==2}
 <div class="pomocnik2">  

{/if}

<p><strong>{l s='name' d='Shop.Theme.Actions'}</strong>
<span>Online poradca</span></p>
</div>
</div>

 

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...