Split Product Description Locations? Simple Theme

Tourist
3 0 1

Heya so basically I'm trying to have a short text description to the right of my product, then a larger description below the product (a YouTube video). I've tried adding <!-- split --> to my product description html and it didn't help, but then I found this code in product-description.liquid so I tried switching it to <!-- break --> which moved the second half.. But the first half before the <!-- break --> has completely disappeared. I'm so close and I've tried everything so any help would be greatly appreciated! Thankyou!

 

{% else %}
{% if product.description contains '<!-- break -->' %}
{% if position == 'right' %}
<div class="product-single__description rte" itemprop="description">
{{ product.description | split: '<!-- break -->' | first }}
</div>
{% elsif position == 'below' %}
<div class="product-single__description rte">
{{ product.description | split: '<!-- break -->' | last }}
</div>
{% endif %}
{% elsif section.settings.product_description_position == 'right' and position == 'right' %}
<div class="product-single__description rte" itemprop="description">
{{ product.description }}
</div>
{% elsif section.settings.product_description_position == 'below' and position == 'below' %}
<div class="product-single__description rte" itemprop="description">
{{ product.description }}
</div>

 

 

0 Likes
Shopify Partner
1142 93 139

please share a store url to better assist 

Thanks & Regards
Perennial Solution

Problem Solved?✔️Like and Accept the solution that can help others.
Need any help with theme customization or design? Hire us
Email: infoperennialsolution@gmail.com
Skype: infoperennialsolution
0 Likes
Tourist
3 0 1

https://glogames.com.au/products/pokemon-emerald-version

Password: glogames

 

I'm trying to move the embedded Youtube video from the right to under the product while leaving the text description above it there.

0 Likes
Tourist
3 0 1

bump still need a solution asap

1 Like

Hi @GloGames 

 

There is a better way to do this with out coding. Pretty long to explain through a message. Reach out and I'll show you how to do it. 

 

https://www.inspiresmallbusiness.com/pages/contact-clayton

 

I'll also give you some tips on how to improve your website if interested. 

 

Cheers 

Clayton Bates 

P.S If you want a awesome , extremely detailed , Free website review that will blow your socks off check out this link HERE or www.inspiresmallbusiness.com

0 Likes