문제

i would love to hide some options for the configurable products in specified categories.

Some one helped me on my way (can’t help me furthher right now)… but i am not totally there ...

i have a piece of code:

<?php if($currentCategory == 29 && $size < 25) echo $size ?>

I would love to hide some sizes of the configurable products in some categories.

In which file should it be placed in MAGENTO?

Thanks in advance

도움이 되었습니까?

해결책

With this code you will only shows the size of products that have category 29 and are smaller than 25. It looks ok to me.

If you want any more restrictions just add them to the if and don't forget brackets with or statements.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top