[NEW APP] Blog Comment Notifications - free service is finally here

Highlighted
New Member
1 0 0

Hi,

 

I'm trying to achieve this using Zapier webhooks, but it's not working. @Red_Cap_Tom if you guide me to understand what I'm doing wrong, I'd very much appreciate it. I don't really know what I'm doing with webhooks, I enabled "silent mode" just in case (it doesn't work in any case)

 

Zapier optionsZapier options

Zapier 1Zapier 1

Zapier 2Zapier 2

 

CodeCode

 

 

 

 

0 Likes
Highlighted
Shopify Partner
135 4 56

@Bungu I'm so sorry for my late reply!

I forgo to respond to this and real time, and then got locked out of my Shopify account.

Please, if this is still an issue, email me at hey@redcaptom.com and I'll help you out.

Cheers,

Tom

0 Likes
Highlighted
Excursionist
19 1 0

Thanks for posting this awesome tutorial. I've made it to step three and have a bit of an issue with my article.liquid file. I don't see a form comment section. I've added it below. Any help would be greatly appreciated. 

 

{% include 'shogun-products', content: article %}
{% section 'article-template' %}
{% section 'shop-now' %}
  <script type="text/javascript">
  analytics.track('Viewed Blog', {
    pageType: 'Article',
    pageTitle: document.title,
    articleTitle: "{{ article.title }}",
    articleAuthor: "{{ article.author }}",
    articleCreatedAt: "{{ article.created_at | date: "%F" }}",
    articlePublishedAt: "{{ article.published_at | date: "%F" }}",
    articleCommentCount: {{article.comments_count }},
    articleTags: ["{{ article.tags | join: '", "'}}"],
    articleUrl: "{{ article.url }}",
    referrerUrl: document.referrer,
    referrerPath: new URL(document.referrer).pathname,
    urlHref: window.location.href,
    urlPath: window.location.pathname,
    urlHash: window.location.hash
    });
  </script>
0 Likes
Highlighted
Shopify Partner
135 4 56

Hey @jonthornham - that usually means that the actual comment form is in another file, that is imported into your code.

Can you also check in 'sections/article-template' and the 'shop-now' pages? The form is probably in one of them.

BTW, since you're running Shogun and I'm not sure what their policy is re posting full code, I'd suggest you just take a look through the pages and not post a full excerpt of them.

0 Likes
Highlighted
Excursionist
19 1 0

I really appreciate the help. I will be careful posting code in the future. 

I've found the section but am not getting notified. Did I make a mistake with the code?

 

{%- form 'new_comment', article, class: 'Article__CommentForm Form', id: '' -%}
          {%- if form.posted_successfully? -%}
      		<script type="text/javascript">
        		fetch('https://hook.integromat.com/', {mode: 'no-cors'})
    		</script>
            <p class="Form__Alert Alert Alert--success">
              {%- if blog.moderated? -%}
                {{- 'blog.comments.success_moderated' | t -}}
              {%- else -%}
                {{- 'blog.comments.success' | t -}}
              {%- endif -%}
            </p>
          {%- endif -%}

 

0 Likes