Shopify Javascript

Job ID: 36892216

Budget: $10 – $30 USD

We need to create the following
There is product "A" and "B",
We created metafields (type:one product) in Product "A" and the value is product "B"

We want to show the product B (image, title, price, add to cart button) in product A
So when click add to cart , add the product B to the AJAX cart and main cart.
Of course, prevent the default event on add to cart for product A.
Related categories: JavaScript CSS HTML Shopify Templates Shopify