I am in need to get the Json Config by product id or sku in the product listing page for a particular category.
I can see that getJsonConfig
is decalred in Product options block where only one particular product is showing thats why it can show Json Config without saying the product id. But I am in product list page.
Is there any way to get it like below?
$this->getJsonConfig($productId);