# バリエーション選択時の、金額出力のliquidについて

**URL:** <https://community.shopify.com/t/liquid/59414>\
**Category:** 技術的なQ＆A\
**Created:** [August 15, 2021, 7:49am UTC](https://community.shopify.com/t/liquid/59414 "2021-08-15T07:49:35Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Anonymous\_99baf7ebfb1456b95b04847964a3b985](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@Anonymous\_99baf7ebfb1456b95b04847964a3b985](https://community.shopify.com/u/Anonymous_99baf7ebfb1456b95b04847964a3b985)\
**Post date:** [August 15, 2021, 7:49am UTC](https://community.shopify.com/t/liquid/59414/1 "2021-08-15T07:49:35Z")

</div>

商品の金額が「税込み価格（税抜き価格）」となるように、product-price.liquidの金額部分をカスタマイズしました。

通常の商品では問題なく表示されるのですが、バリエーションがある商品では正しく表示されません。

バリエーションの組み合わせを選択時にjavascriptが動いているようで、theme.js内にそれっぽい記述は見つけたのですが、実際の金額を表示する部分がわかりませんでした。

バリエーションがある商品の金額表示をカスタマイズするにはどうすればよいでしょうか？

よろしくお願いいたします。

---

_[View the full topic](https://community.shopify.com/t/liquid/59414)._
