Timeline for Hide the qty box on product detail page based on attribute set
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 27, 2017 at 15:10 | vote | accept | Galen | ||
Sep 26, 2017 at 4:59 | comment | added | jaydip sinh Parmar | It's really good to hear.can you please accept an answer by clicking right - sigh on the left side of an answer. so It will help others. | |
Sep 25, 2017 at 16:57 | comment | added | Galen | This works perfectly and is now an easy way to hide the qty box based on the Attribute Set of the product. Thank you to jaydip sinh Parmar. | |
Sep 24, 2017 at 16:17 | comment | added | jaydip sinh Parmar | Hii Galen, I updated my answer with your code. Please replace it with your code . You can tell me if anything goes wrong. | |
Sep 24, 2017 at 16:11 | history | edited | jaydip sinh Parmar | CC BY-SA 3.0 |
added 269 characters in body
|
Sep 24, 2017 at 14:01 | comment | added | Galen | I have updated my original question with the complete current code section pulled directly out of my addtocart.phtml file. | |
Sep 23, 2017 at 10:08 | comment | added | jaydip sinh Parmar | Can you please post the code so I can correct that. | |
Sep 23, 2017 at 2:57 | comment | added | Galen | This is all being done inside the addtocart.phtml file. Pardon my ignorance but does the syntax need to be different? I can't seem to get this solution to work. As is, the code text shows up in my page. When I enclose the above code in <?php code ?> then I loose the qty box AND the Add To Cart button for some reason on ALL products, not just the ones that match my attribute set. | |
Sep 22, 2017 at 20:58 | history | answered | jaydip sinh Parmar | CC BY-SA 3.0 |