Ask-a-Friend can be implemented in two ways as shown below. This page will describe the steps to embed a poll on your category page.
Step 1: Configure the Ask-a-Friend app
Setup the basic look and feel of the app. Click here to view the instructions.
Uncheck the “Enable Add-To-Poll Button” field.
Step 2: Changes required on the website
Add a button with each product displayed in the category page.
Where prod_info is a JS object which consists of following information:
- image_url: <Product image URL>
- page_url: <Product page URL>
- title: <Product page title>
Please find the sample code below. Populate the product info for each product dynamically.
Note: This is just for reference. Populate the product info for each product dynamically.
For any help write to email@example.com.