get selectedVariant() {
    const variantTitle = this.selections.join(' / ');

    return this.variants.filter(variant => {
      return variant.title === variantTitle;
    })[0] || null;
  }
/**
    * Retrieve variant for currently selected options. By default the first value in each
    * option is selected which means `selectedVariant` will never be `null`.
    *
    * With a `selectedVariant` you can create checkout url
    * ({{#crossLink "ProductVariantModel/checkoutUrl"}}ProductVariantModel.checkoutUrl{{/crossLink}}) or it can
    * be added to a cart ({{#crossLink "CartModel/createLineItemsFromVariants"}}CartModel.createLineItemsFromVariants{{/crossLink}}).
    *
    * @property selectedVariant
    * @type {ProductVariantModel}
  */
Retrieve variant for currently selected options. By default the first value in each
option is selected which means `selectedVariant` will never be `null`.



@property selectedVariant
@type {ProductVariantModel}
Retrieve variant for currently selected options . By default the first value in each option is selected which means ` selectedVariant ` will never be ` null ` . @property selectedVariant @type { ProductVariantModel }
get selectedVariant() {
    const variantTitle = this.selections.join(' / ');
    return this.variants.filter(variant => {
      return variant.title === variantTitle;
    })[0] || null;
  }
get selectedVariant ( ) { const variantTitle = this . selections . join ( ' / ' ) ; return this . variants . filter ( variant => { return variant . title === variantTitle ; } ) [ 0 ] || null ; }
Retrieve variant for currently selected options.
Retrieve variant for currently selected options .