matiss.jekabsons Posted November 22, 2015 Share Posted November 22, 2015 Hallo! How to hide products from - "what is in pack" in product view? I need that pack is showed just as single product, but "what is in pack" should be hidden. Link to comment Share on other sites More sharing options...
NemoPS Posted November 23, 2015 Share Posted November 23, 2015 (edited) What about using a simple css display:none? Otherwise you can edit product.tok where you have{if isset($packItems) && $packItems|@count > 0}This for the css #blockpack {display: none} Edited November 23, 2015 by Nemo1 (see edit history) 1 Link to comment Share on other sites More sharing options...
matiss.jekabsons Posted November 23, 2015 Author Share Posted November 23, 2015 PERFECT!!! Thx Nemo Link to comment Share on other sites More sharing options...
DARKF3D3 Posted February 5, 2019 Share Posted February 5, 2019 Hello, I need to do a similar thing. I need to show pack block only if pack have more that one product in it. So if only one product nothing showed, but if it's a pack of 2 or more products the block should be showed. Do you know how this can be done on PS1.7.4? Link to comment Share on other sites More sharing options...
Kogkalidis Posted February 6, 2019 Share Posted February 6, 2019 18 hours ago, DARKF3D3 said: Hello, I need to do a similar thing. I need to show pack block only if pack have more that one product in it. So if only one product nothing showed, but if it's a pack of 2 or more products the block should be showed. Do you know how this can be done on PS1.7.4? Similar way. You see packItems check in previous answer of nemops? In your case should be if it's one hide else show. 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