Alrighty here we go!
So hereâs my default Brooklyn theme product:
This is how it appears after I just added the stuff in the editor. That image is 3000x2000, but since itâs on the right side of the container, it canât get any bigger. So hereâs what it looks like in the editor:
Notice the " ~ " in there. I did that inside of the editor and NOT inside the HTML mode, but when I check the HTML mode I see this:
The " ~ " is surrounded with
tags, we should eliminate those so all that we need to split by is the " ~ ". So remove the
tags around it.
Now, lets go into the product.template file in your sections folder:
So on products that you donât have these images in, youâre not going to want to do this operation. So youâll make an âifâ statement to check for your " ~ " inside of your product description. Then weâll say "If the product description has the â~â, then split the product description by â~â and put the first piece where the old product description should have gone, and if it does not have the â~â, then just do the product.description normally. THEN, underneath the third div tag underneath the social media section, we will check again with another if statement to see if the description had that " ~ ", and if it does we will place the second desctriptionPieces there, with no other condition. Like this:
Now this is what I get when I look at my red shirt page:
Product description above the container, and image below the container. And just to show it doesnt happen on another product, hereâs the black shirt page with the same image underneath without the â~â in the description:
So here you can see thereâs no " ~ " there, so it does not perform the operation we just made.
I hope this clears things up more for you. Just let me know if you have any questions about anything.