Selling plan custom widget

Hi there,

Does anyone know a way to amend our code to default our custom widget to opening on subscribe and save instead of one time purchase?

Web page example - https://scrummi.com/products/original-waffle-towels

You can adjust your code by setting the default option for your custom widget to “subscribe and save” instead of “one time purchase” in the widget’s initialization parameters. Look for a property related to default selection and change it accordingly. If you need specific code examples, please share more details about the widget’s implementation.

Hi @scrummitowels ,

Please go to Actions > Edit code > Layout > theme.liquid file and paste the below code before

{%- if request.page_type == 'product' -%}
      
{%- endif -%}