E commerce collection.sory_by阻止Commerce inspector extension查找产品

E commerce collection.sory_by阻止Commerce inspector extension查找产品,e-commerce,liquid,shopify-template,E Commerce,Liquid,Shopify Template,我试图阻止commerce inspector chrome extension查看我的产品。我在collection.liquid中使用了此代码 {% if collection.sort_by == 'best-selling' %} <center>AccessForbidden</center> {% else %} <!-- your original collection.liquid code in here -->

我试图阻止commerce inspector chrome extension查看我的产品。我在collection.liquid中使用了此代码

    {% if collection.sort_by == 'best-selling' %}
    <center>AccessForbidden</center>
    {% else %}
    <!-- your original collection.liquid code in here -->
    {% endif %

The above code blocks the best selling products of my site from commerce inspector. When I try this 

    {% if collection.sort_by == 'best-selling' %}
    <center>AccessForbidden</center>
    {% elsif collection.sort_by == 'manual'
    <center>AccessForbidden</center>
    {% elsif collection.sort_by == 'price-ascending'
    <center>AccessForbidden</center>
    {% elsif collection.sort_by == 'price-descending'
    <center>AccessForbidden</center>
    {% elsif collection.sort_by == 'title-ascending'
    <center>AccessForbidden</center>
    {% elsif collection.sort_by == 'title-descending'
    <center>AccessForbidden</center>
    {% elsif collection.sort_by == 'created-ascending'
    <center>AccessForbidden</center>
    {% elsif collection.sort_by == 'created-descending'
    <center>AccessForbidden</center>
    {% else %}
    <!-- your original collection.liquid code in here -->
    {% endif %}
{%if collection.sort_by=='畅销'%}
禁止进入
{%else%}
{%endif%
上面的代码阻止了commerce inspector访问我网站上最畅销的产品
{%if collection.sort_by=='畅销'%}
禁止进入
{%elsif collection.sort_by=='manual'
禁止进入
{%elsif collection.sort_by=='价格上升'
禁止进入
{%elsif collection.sort_by=='价格下降'
禁止进入
{%elsif collection.sort_by=='标题升序'
禁止进入
{%elsif collection.sort_by=='title descending'
禁止进入
{%elsif collection.sort_by==“已创建”
禁止进入
{%elsif collection.sort_by==“已创建”
禁止进入
{%else%}
{%endif%}
它不会阻止其他产品,只有最畅销的产品才会被商业检查员阻止。有人能帮我解决这个问题吗。提前感谢:)