AdrienNormand Posted March 23, 2022 Share Posted March 23, 2022 Hello, I'm in the middle of redesigning my site on a test version and currently, I'm adding the multishopt. I want to display different buttons on the product pages of each store. For example: - on the product page of store 1, I just want to display an add to cart button. - on the product page of store 2, I want to display another button for click and collect in this store. How can I make the buttons display differently depending on which store I'm on? I looked and tried with $id_store == store id number but it was not conclusive. Thanks for your help, Link to comment Share on other sites More sharing options...
ventura Posted March 23, 2022 Share Posted March 23, 2022 {assign var=shop value=Shop::getContextShopID()} {if $shop == 3} ..... {/if} 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