Link booking button and purchase button on a repeater to the booking service and product page dynamically

Hi All!

I have #repeater1 on a dynamic page ‘marks’, I would like to display two buttons on this repeater. One #bookingButton and the other #buyButton . The idea is that if the user creates a post (which is what the repeater displays) and they have an active service in wix bookings, #bookingButton is shown on their item in #repeater1 . Same concept for #buyButton and if they have a product in wix store.

Thanks in adavance, any questions let me know - I have the main code structure in place, however, it’s too long for me to show it on here.