Are you ready to elevate your e-commerce store with an engaging virtual try-on experience? Camweara’s API allows you to seamlessly integrate virtual try-on functionality into your WordPress/Woocommerce based website, providing your customers with an interactive way to explore and try on products virtually.
In this comprehensive guide, we will walk you through the step-by-step process of integrating Camweara API into your WordPress site. Let’s get started!
Step 1: Login/Signup to the CamWeara Dashboard
To begin the integration process, log in to your existing Camweara account or sign up for a new account on the Camweara website. Once logged in, you will gain access to the Camweara dashboard, where you can find all the necessary resources to set up the virtual try-on feature on your website.
Step 2: Go through the API documentation which is available on the website & Dashboard
Within the Camweara dashboard, navigate to the API documentation section. Take your time to thoroughly review the provided documentation, guidelines, and code snippets. Familiarize yourself with the necessary steps and requirements to ensure a smooth integration process.
Step 3: Access the function.php in WordPress from Appearance->Theme File Editor->functions.php
Go to the WordPress admin panel and go to the “Appearance” tab. Select “Theme Editor” from the drop-down menu. The Theme Editor allows you to modify the theme files of your WordPress website.
Step 5: Change the company name from line 78 in the code to the company name given during the sign up.
In the pasted code, locate line 78, which contains a placeholder for the company name. Replace this placeholder with the exact company name you provided during the signup process on the Camweara website. This customization ensures that the virtual try-on feature is tailored to your specific brand.
Step 6: Update the file changes and upload edited images on camweara dashboard.
Once you have pasted the code and replaced the company name, save the changes by clicking the “Update File” button in the Theme Editor. You can now see try on button on products which are uploaded on Camweara dashboard. If you are facing any issues, please feel free to reach out to us on email@example.com.