Liguid syntax error: Endif is not a valid delimiter

Highlighted
New Member
6 0 0

So I'm creating my email marketing. I use Klaviyo and then I paste that into my Shopify Notifications.

I'm not creating my third email and I get this error:

Skærmbillede 2019-07-15 kl. 11.39.54.png

I have never worked with code before, but after getting this I tried replacing all the "endif" with "endfor", which resultet in the same message, except then it told me there was an error with "endfor" and told me to use "endif...

Can anyone help?

 

I have the entire code, but I don't know what part to post cause I can't exceed 20,000 characters.

Does anyone know anything about this problem, or what part to post so you guys can see?

0 Likes
Highlighted

Hello 

You don't need to replace endfor with endif, you need to check that when you are pasting the code you might have missed if statement or else an extra endif must have been added to the file. 

With out code access can't check anything. 

If you give me an access I will let you know the error or the issue.

 

Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
1 Like
Highlighted
New Member
6 0 0

Funny enough I figured out some of it, the code automatically inserted an endif instead of an endfor, so I just changes it.

However I have trouble with creating the code for the email in general. 

It's a order refund email and I can't seem to get the negative price inserted to indicate the refund both in the top and in the subtotal on the bottom, and I can't get the pictures in as well showing the negative price
Is there any way you can help me with that?

0 Likes
Highlighted
New Member
1 0 0

 Hello Mads,

I have exactly the same problem as you. You say it automatically changed, I don't see how mine can do that - can you help?

 

0 Likes
Highlighted
New Member
1 0 0

Did you find a way to fix it? I'm having the same problem with my shipping confirmation e-mail 

0 Likes