Different HTML Codes to Dynamic Pages

I have to create a website that has 360 products. The customer is collecting payments from an HTML Code embeded to the website.

However, i have to edit one number in the HTML Code, for each product page. This is because the price will change.

The issue is finding a way to connect the below HTML Code differently for each product page.

The picture below shows the code. So now i have to create 360 product dynamic pages. However, how can i connect the

Below shows the Code Entered in “Text” Field type.

Question: How can i link from content manager to the html code just like all the other fields.