- MageVersion - Magento 2.3.x
var mage_customer_group = ''; //other code related to the customer group
Getting Customer group name by overriding customer section updates and saving into the mage-cache-storage (localstorage).
external-js.js file, 3rd party vendor having logic to send prices and other information based on customer group name.
For now, product name, image, link and product price is showing proper.
Issue only occures, when category or custom product listing page loads value of
mage_customer_group is getting blank value.
Is there any way in KnockOut js that we can bind customer properties to external JS?