テーマ<Broadcast 正式>での「税込み」文言の付け加え方

皆様こんにちは

現在テーマ<Broadcast 正式>を使用させて頂いております。

今更ではありますが商品ページに表示されている「税抜き」表記を「税込み」表記に変更したく、こちらにたどり着きました。

他のテーマを使用されている質問者様の質問&回答を参考にliquidの該当コードを探してみたものの、

product-price.liquid ----- 該当コード無し

product-price-listing.liquid ----- 該当コード無し

procuct-option.liquid -----


  

  

product-grid-item.liquid -----

{%- assign double_img = false -%}
{%- if product.media[1].preview_image and settings.image_hover_enable -%}
  {%- assign double_img = true -%}
{%- endif -%}

{%- if last_element -%}
  {%- assign lastElementClass = 'visually-hidden' -%}
{%- endif -%}

{% if fallback %}
  
    

        {% capture current %}{% cycle 1, 2, 3, 4, 5, 6 %}{% endcapture %}
        {{ 'collection-' | append: current | placeholder_svg_tag }}
    

    
      {% if showReviews %}
        
          
            
            
            
            
            
          
        
      {% endif %}
      ### {{ 'home_page.onboarding.product_title' | t }}
      {{ 9900 | money }}
    

  

{% else %}
  
    

      {% capture over_image_content %}
        {% if product.compare_at_price > product.price and settings.sale_tags_enable %}
          {{ 'products.product.on_sale' | t }}
        {% endif %}
        {% if quick_view and product.object_type == 'product' %}
          

            {%- assign uniqueID = section.id -%}
            {%- if template.name == 'list-collections' -%}
              {%- assign uniqueID = collection.id -%}
            {%- endif -%}
            {{ 'products.general.quick_view' | t }}
          

        {% endif %}
      {% endcapture %}

      
        

          {% if double_img %}
            

          {% endif %}
        {{ over_image_content }}
      

      
      

        {%- if showReviews -%}
          {%- if settings.enable_yotpo and settings.yotpo_ID != '' -%}
            

          {%- else -%}
            
          {%- endif -%}
        {%- endif -%}

        ### {{ product.title }}
        
          {% if product.available %}
            {% if product.compare_at_price > product.price %}
              {{ product.compare_at_price | money }}
            {% endif %}
            {% if product.price_varies %}
              <small>{{ 'products.general.from' | t }}</small> {{ product.price_min | money }}
            {% else %}
              {{ product.price_min | money }}
            {% endif %}
          {% else %}
            {{ 'products.product.sold_out' | t }}
          {% endif %}
        
      

    
  

{% endif %}

product-grid-item.liquidの中にmoneyなどの単語はでてくるものの、

https://torublog.com/shopify-add-taxin-text/#i

を参考にしているのですが、コード編集の知識がほぼ一切なく、果たしてここでよいのかわからず行き詰っております。

念のためにsnippets内のすべてのコードのタイトルだけここにコピペしておきたいと思います。

どなた様か変更方法をご教授願えますでしょうか、

大変申し訳ございませんが、何卒よろしくお願い申し上げます。

Broadcastテーマを所有していない為正確にはお答えできないのですが、product.liquidの中に以下のようなコードはありますでしょうか?

{{ money_price }}

もし存在した場合は、以下のように変更をお願いします。

{{ money_price }}{%- if shop.taxes_included -%} ({{ 'products.product.include_taxes' | t }}){%- endif -%}

また、合わせて以下もご確認ください。

■設定->税金

  1. [税の計算]の「すべての価格を税込価格で表示する」にチェックが入っているかどうか

■オンラインストア->テーマ

  1. [現在のテーマ]からアクション->言語を編集する

  2. Productsタブ内の「Include taxes」に「税込」というテキストが入力されているかどうか

宜しくお願い致します。

KOICHI_KAMIZURU

大変貴重なご意見誠に有難うございます。

大変お恥ずかしいことに、御指摘頂きましたProduct.liquid内を何度か確認してみると、

79行目に日本語で「税抜き」と書かれている箇所があり、そこを「税込み」と書き換えたところ、全ての商品ページで「税込み」の文言が反映されておりました。

金額に関しましてはほかのアプリを使って計算出来たため、これで万事解決と至りました。

この度は誠に有難うございます。

参考までに変更後のproduct.liquidの一部を抜粋して添付させて頂きます。


      

        

          

            

              # {{ product.title }}
              
                 current_variant.price %} class="product__price--sale"{% endif %}>
                  {{ current_variant.price | money }}
                
                
        			(税込み)
                
                {% if product.compare_at_price_max > product.price %}
                  {{ 'products.product.regular_price' | t }}
                  <s>
                    {% if current_variant.compare_at_price > current_variant.price %}
                      {{ current_variant.compare_at_price | money }}
                    {% endif %}
                  </s>
                {% endif %}
              

            

1 Like