dreamspacecz Posted February 24, 2022 Share Posted February 24, 2022 Hi, I've tried everything but nothing works. Prestashop version 1.7.8 {if $cart->id_shop ==1} {if isset($id_shop) && $id_shop == 1} {if $this->id_shop ==1} Please have some advice on how to do this, thank you very much Link to comment Share on other sites More sharing options...
SmartDataSoft Posted February 24, 2022 Share Posted February 24, 2022 Can you please explain what you like to show, any sample . Then we can give you a solution Thank you Link to comment Share on other sites More sharing options...
dreamspacecz Posted February 25, 2022 Author Share Posted February 25, 2022 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 More sharing options...
Ress Posted February 26, 2022 Share Posted February 26, 2022 Try {if isset($shop) && $shop.id == 1} 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