Skip to content

Instantly share code, notes, and snippets.

@odessy
Created January 24, 2019 17:34
Show Gist options
  • Save odessy/2ce02d3aeff32590ae7e6473f2dfc33d to your computer and use it in GitHub Desktop.
Save odessy/2ce02d3aeff32590ae7e6473f2dfc33d to your computer and use it in GitHub Desktop.
also add spit after tabs
{%- if product.description contains '[split]' and section.settings.tabs_position == 'sidebar' -%}
<div class="wrapper">
<div class="product-description rte" itemprop="description">
{{ product.description | replace: '<p>[split]</p>', '[split]' | split: '[split]' | last }}
</div>
</div>
{%- endif -%}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment