Skip to content

Commit

Permalink
Add correct documentation for variantForOptions from product helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiemtdwyer committed Mar 6, 2019
1 parent f6f4737 commit 6312999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/product-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
* Returns the variant of a product corresponding to the options given.
*
* @example
* const selectedVariant = client.product.variantForOptions(product, {
* const selectedVariant = client.product.helpers.variantForOptions(product, {
* size: "Small",
* color: "Red"
* });
Expand Down

0 comments on commit 6312999

Please sign in to comment.