Ecwid's Date Picker Buy Button through code needs to be refreshed twice to appear

Hi @Samus , thank you for your response and yes this is not e-comm widget, it is already the “code” widget as the e-comm widget is super limited l had to take it out completely.

The problem comes only when entering any page link that has a store product linked to it through the home page, when l enter any product page directly they work just fine.

If l go to my front page and click a product thumbnail that takes me to the product page, l have to refresh the page twice or three times to see it.

You think that maybe this can be solved by adding something to the code widget that allows loading all ajax / javascript codes automatically as soon as someone enters the front page?