Last active
November 12, 2020 17:45
-
-
Save Mosquid/0fbf630d8fcf164591e2107cb3eb1e29 to your computer and use it in GitHub Desktop.
Cherry Picker Basic Adapter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const adapter = { | |
isProductPage: () => true, //checks if the page you are at is indeed a product page | |
getProductData: () => ({ | |
price: 10, | |
title: 'Product title', | |
images: ['src'], | |
description: 'Full product description', | |
category: 'Product category name' | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment