Adding snippets inside of the product description box.

Highlighted
New Member
3 0 0

I have the debutify theme and I have full width product descriptions. I used the featured-row.liquid code as a template to code in an "image with text" section into my product description. I would like to make this code a snippet and then be able to add that snippet into many but not all of my products. My thinking is that as a snippet I would be able to edit the image or text on all affected pages from one location if needed. I added the code to new snippet and added the code {% include 'snippet-name' %} into the code in the product description box and it didn't work. What am I doing wrong?

0 Likes
Highlighted
Shopify Partner
1182 252 349

HI @BigCountry194 

please share your webshop URL & password.

Thanks!

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
New Member
3 0 0

I am not going to share my password on here but I will share my code.

<div class="bg-section" data-section-type="featured-row-section">
<div class="box">
<div class="wrapper">
<div class="grid featured-row">
<div class="grid__item large--six-twelfths medium--six-twelfths small--one-whole featured-row__item featured-row-left">
<div class="feature-row__image-wrapper image-wrapper" style="padding-top: 56%;"><img class="feature-row__image image lazyload" data-src="IMAGE URL" data-widths="[180, 360, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="1x1" data-sizes="auto"></div>
</div>
<div class="grid__item large--six-twelfths medium--six-twelfths small--one-whole feature-row__item ">
<p style="font-size: 12px;"><i>TEXT</i></p>
<h2 class="section-header__title">TITLE</h2>
<p>TEXT</p>
<div class="text-center"><button class="btn btn--primary" onclick="location.href='URL'">TEXT</button></div>
</div>
</div>
</div>
</div>
</div>

 

 

I just want to know how to make this a snippet and then make sure it is recognized when I include it into the product description box code.

0 Likes
Highlighted
Shopify Partner
1182 252 349

please email me screenshot and theme zip i will try to solve your problem.

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes