The layout XML code below helps to achieve the above requirement. It will show the static block my-sidebar-1? on right sidebar of category with id 10?. Similarly, static block my-sidebar-2? is displayed on the category page with id 12?.
Kalpesh Chavada is Our Founder & CEO of Akshar Group Technologies. He is serving with 11+ years of experience in different technologies like Magento, WordPress, Laravel, jQuery, Shopify, Branding, and Digital Marketing. He is very good with creative logic and always ready to take on challenges.