https://magento.stackexchange.com/questions/325255
質問
How can I add simple product ID of the swatch on category page?
正しい解決策はありません