you can use the custom HTML
tag like <!-- split -->
between backend product description editor and then separate the content over product page easily using liquid code filters.
{% assign productDes = product.description | split:'<!-- split -->' %}
{% assign productDesPart1 = productDes[0] %}
{% assign productDesPart2 = productDes[1] %}
you can use the first
]and last
array filters first to get the values, but it works when there is a single <!-- split -->
is used.
{% assign productDesPart1 = product.description | split:'<!-- split -->' | first %}
{% assign productDesPart2 = product.description | split:'<!-- split -->' | last %}
you can use something like this, but careful with the HTML
tag into the backend editor and liquid code are some otherwise is not works.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…