- Help Center
- iK Buy Button
- How to embed the code
Embedding your iK Buy Button code into a custom website
How to embed the code into a custom website:
- We will use this dummy site below, to demonstrate how a button can be easily added to a site that has never had a 'Buy Button” previously.
- We will incorporate a Buy Button for the “Americano” option in the coffee shop.
- Create your Buy Button within the iK Dashboard, and after generating it, retrieve the Buy Button code from the share page.
- Obtain access to your website's source code as depicted below:
- We will now add this button for the product labelled “Cappuccino”
- Find the product labelled “Cappuccino” in the website’s source code.
- Paste the button code we copied from the dashboard (in Step 3) and paste it under the “Cappuccino” product. For example:
- Review your website to confirm that the Buy Button is displayed according to your customisation for the "Cappuccino" product.
- Please note that your styling could override the editing button styling you had copied from the dashboard.