Hi,

Please locate product_ajax.js > setStockIndicator, then try to place your code inside the ajax success callback .

Hope this helps.

Regards,
Gerald

Read More...