Modify Shopify Liquid Script to display specific product

Job ID: 33120392

Budget: $10 – $30 USD

Hello,
Below I have linked to a piece of code on pastebin.

The issue I am having is that I want to display a specific product and collection depending on which URL the user is accesing the website/shop from.

This is the code I can edit in the theme:
https://pastebin.com/raw/XcEQfpew

So if user acceses the page from: DomainA.com he should see: ProductA and CollectionA
When user acceses the page from: DomainB.com he should see: ProductB and CollectionB

Getting the current host is possible with: https://shopify.dev/api/liquid/objects/request#request-host according to the Shopify Documentation

IF YOU HAVE FULLY RE AD THE DETAILS, MENTI ON "RAPTOR" in your proposal