Custom sidebar is not working on WooCommerce shop page

I’m trying to add a custom sidebar to the WooCommerce shop page using the sidebars widget metabox on it, but the default sidebar is not replaced with the widgets I’ve setup on my custom sidebar.
I’m using the same sidebar on single product pages and on product category pages and it’s working fine on them, but on the shop page it’s not.