everything works in preview mode but not in published site

I created this code around summer time using Wix Code Resources. It worked perfectly, but now, it is only working in Preview mode and not on Live site. I have double checked the permissions. They should be fine. I feel like it has something to do with async functions.

When it works on preview,


When it doesn’t work on live site,

The URL is the following,
https://www.ajiaj.com/product-page/eve-lom-%25E5%258D%25B8%25E5%25A6%259D%25E6%25BD%2594%25E9%259D%25A2%25E5%2595%25AB%25E5%2596%25B1

Many thanks

Make sure you sync your database:

Hi Yisrael, thanks for your reply. Unfortunately, that doesn’t seem to work either.

This code works on the preview mode and mobile version of the live site, but not on the PC version. A bit weird.

@alan-huang The complexity of the code, and the fact that everything is in Chinese, makes it very difficult (impossible) to determine what exactly is going on.

I would suggest you check that the home and home-mobile pages (especially the home page) are working properly.