お世話になっております。
Order Printerというアプリを使用しており、納品書の作成をしていたのですが
割引前の小計のタグがわからず質問させていただきます。
以下引用の中で、中盤に合計とありますがテーブル内に定価の合計を表示したかったのですがうまく実装できませんでした。
どなたか知恵を貸していただけないでしょうか?
{{ created_at | date: “%Y/%m/%d” }}
ご注文番号 {{ order_name }}>
〇〇株式会社
〒{{ shop.zip | upcase }}
{{ shop.province | replace: ‘Aichi’, ‘愛知県’ | replace: ‘Akita’, ‘秋田 県’ | replace: ‘Aomori’, ‘青森県’ | replace: ‘Chiba’, ‘千葉県’ | replace: ‘Ehime’, ‘愛 媛県’ | replace: ‘Fukui’, ‘福井県’ | replace: ‘Fukuoka’, ‘福岡県’ | replace: ‘Fukushima’, ‘福島県’ | replace: ‘Gifu’, ‘岐阜県’ | replace: ‘Gunma’, ‘群馬県’ | replace: ‘Hiroshima’, ‘広島県’ | replace: ‘Hokkaidō’, ‘北海道’ | replace: ‘Hyōgo’, ‘兵庫県’ | replace: ‘Ibaraki’, ‘茨城県’ | replace: ‘Ishikawa’, ‘石川県’ | replace: ‘Iwate’, ‘岩手県’ | replace: ‘Kagawa’, ‘香川県’ | replace: ‘Yamanashi’, ‘山梨県’ | replace: ‘Yamaguchi’, ‘山口県’ | replace: ‘Kōchi’, ‘高知県’ | replace: ‘Kumamoto’, ‘熊本県’ | replace: ‘Kyōto’, ‘京都府’ | replace: ‘Mie’, ‘三重県’ | replace: ‘Yamagata’, ‘山形県’ | replace: ‘Miyazaki’, ‘宮崎県’ | replace: ‘Nagano’, ‘長野県’ | replace: ‘Nagasaki’, ‘長崎県’ | replace: ‘Nara’, ‘奈良県’ | replace: ‘Niigata’, ‘新潟県’ | replace: ‘Ōita’, ‘大分県’ | replace: ‘Okayama’, ‘岡山県’ | replace: ‘Okinawa’, ‘沖縄県’ | replace: ‘Ōsaka’, ‘大阪府’ | replace: ‘Saga’, ‘佐賀 県’ | replace: ‘Saitama’, ‘埼玉県’ | replace: ‘Shiga’, ‘滋賀県’ | replace: ‘Shimane’, ‘島根県’ | replace: ‘Shizuoka’, ‘静岡県’ | replace: ‘Tochigi’, ‘栃木県’ | replace: ‘Tokushima’, ‘徳島県’ | replace: ‘Tottori’, ‘鳥取県’ | replace: ‘Toyama’, ‘富山県’ | replace: ‘Tōkyō’, ‘東京都’ | replace: ‘Miyagi’, ‘宮城県’ | replace: ‘Wakayama’, ‘和 歌山県’ | replace: ‘Kanagawa’, ‘神奈川県’ | replace: ‘Kagoshima’, ‘鹿児島県’ }}> {{ shop.city }}> {{ shop.address }}> {{ shop.address2 }}
Phone: {{ shop.phone }}
Email: {{ shop.email }}
納品書> > ### 購入商品明細> > > > > > > > {% comment %}> {% if show_line_item_taxes %}> > {% endif %}> {% endcomment %}> > > > > {% for line_item in line_items %}> > > > > > > {% endfor %}> > > > {{ cart.original_total_price | money }}> > > >
> > ### ご請求内訳> > > > > > > {% for discount in discounts %}> > > > > {% endfor %}> > > > > {% if shipping_address %}> > > > > {% endif %}> > > > > {% if total_paid != total_price %}> > > > > > > > > {% endif %}>
商品名
単価
数量
(内消費税)
小計
{{ line_item.title }}
{% if line_item.sku != blank %}({{ line_item.sku }}){% endif %}>
{{ line_item.price | money }}
{{ line_item.quantity }}
{{ line_item.line_price | money }}
合計
| 商品合計: | {{ subtotal_price | money }} |
| - | - |
| 割引 “{{ discount.code }}” | {{ discount.savings | money }} |
| (内消費税): | {{ tax_price | money }} |
| 送料 (税込): | {{ shipping_price | money }} |
| 総合計 (税込): | {{ total_price | money }} |
| Total paid: | {{ total_paid | money }} |
| Outstanding Amount: | {{ total_price | minus: total_paid | money }} |{% if billing_address %}> ### ご請求先> > > 〒{{ billing_address.zip | upcase }}
{{ billing_address.province | replace: ‘Aichi’, ‘愛知県’ | replace: ‘Akita’, ‘秋田 県’ | replace: ‘Aomori’, ‘青森県’ | replace: ‘Chiba’, ‘千葉県’ | replace: ‘Ehime’, ‘愛 媛県’ | replace: ‘Fukui’, ‘福井県’ | replace: ‘Fukuoka’, ‘福岡県’ | replace: ‘Fukushima’, ‘福島県’ | replace: ‘Gifu’, ‘岐阜県’ | replace: ‘Gunma’, ‘群馬県’ | replace: ‘Hiroshima’, ‘広島県’ | replace: ‘Hokkaidō’, ‘北海道’ | replace: ‘Hyōgo’, ‘兵庫県’ | replace: ‘Ibaraki’, ‘茨城県’ | replace: ‘Ishikawa’, ‘石川県’ | replace: ‘Iwate’, ‘岩手県’ | replace: ‘Kagawa’, ‘香川県’ | replace: ‘Yamanashi’, ‘山梨県’ | replace: ‘Yamaguchi’, ‘山口県’ | replace: ‘Kōchi’, ‘高知県’ | replace: ‘Kumamoto’, ‘熊本県’ | replace: ‘Kyōto’, ‘京都府’ | replace: ‘Mie’, ‘三重県’ | replace: ‘Yamagata’, ‘山形県’ | replace: ‘Miyazaki’, ‘宮崎県’ | replace: ‘Nagano’, ‘長野県’ | replace: ‘Nagasaki’, ‘長崎県’ | replace: ‘Nara’, ‘奈良県’ | replace: ‘Niigata’, ‘新潟県’ | replace: ‘Ōita’, ‘大分県’ | replace: ‘Okayama’, ‘岡山県’ | replace: ‘Okinawa’, ‘沖縄県’ | replace: ‘Ōsaka’, ‘大阪府’ | replace: ‘Saga’, ‘佐賀 県’ | replace: ‘Saitama’, ‘埼玉県’ | replace: ‘Shiga’, ‘滋賀県’ | replace: ‘Shimane’, ‘島根県’ | replace: ‘Shizuoka’, ‘静岡県’ | replace: ‘Tochigi’, ‘栃木県’ | replace: ‘Tokushima’, ‘徳島県’ | replace: ‘Tottori’, ‘鳥取県’ | replace: ‘Toyama’, ‘富山県’ | replace: ‘Tōkyō’, ‘東京都’ | replace: ‘Miyagi’, ‘宮城県’ | replace: ‘Wakayama’, ‘和 歌山県’ | replace: ‘Kanagawa’, ‘神奈川県’ | replace: ‘Kagoshima’, ‘鹿児島県’ }}> {{ billing_address.city }}> {{ billing_address.address1 }}> {{ billing_address.address2 }}
{% if billing_address.company %}> {{ billing_address.company }}
{% endif %}> {{ billing_address.last_name }} {{ billing_address.first_name }} 様
Phone: {{ billing_address.phone}}
{% endif %}>
{% if note %}> ### ノート>
{{ note }}
{% endif %}> > {% if shipping_address %}> ### お届け先> > > 〒{{ shipping_address.zip | upcase }}
{{ shipping_address.province | replace: ‘Aichi’, ‘愛知県’ | replace: ‘Akita’, ‘秋田 県’ | replace: ‘Aomori’, ‘青森県’ | replace: ‘Chiba’, ‘千葉県’ | replace: ‘Ehime’, ‘愛 媛県’ | replace: ‘Fukui’, ‘福井県’ | replace: ‘Fukuoka’, ‘福岡県’ | replace: ‘Fukushima’, ‘福島県’ | replace: ‘Gifu’, ‘岐阜県’ | replace: ‘Gunma’, ‘群馬県’ | replace: ‘Hiroshima’, ‘広島県’ | replace: ‘Hokkaidō’, ‘北海道’ | replace: ‘Hyōgo’, ‘兵庫県’ | replace: ‘Ibaraki’, ‘茨城県’ | replace: ‘Ishikawa’, ‘石川県’ | replace: ‘Iwate’, ‘岩手県’ | replace: ‘Kagawa’, ‘香川県’ | replace: ‘Yamanashi’, ‘山梨県’ | replace: ‘Yamaguchi’, ‘山口県’ | replace: ‘Kōchi’, ‘高知県’ | replace: ‘Kumamoto’, ‘熊本県’ | replace: ‘Kyōto’, ‘京都府’ | replace: ‘Mie’, ‘三重県’ | replace: ‘Yamagata’, ‘山形県’ | replace: ‘Miyazaki’, ‘宮崎県’ | replace: ‘Nagano’, ‘長野県’ | replace: ‘Nagasaki’, ‘長崎県’ | replace: ‘Nara’, ‘奈良県’ | replace: ‘Niigata’, ‘新潟県’ | replace: ‘Ōita’, ‘大分県’ | replace: ‘Okayama’, ‘岡山県’ | replace: ‘Okinawa’, ‘沖縄県’ | replace: ‘Ōsaka’, ‘大阪府’ | replace: ‘Saga’, ‘佐賀 県’ | replace: ‘Saitama’, ‘埼玉県’ | replace: ‘Shiga’, ‘滋賀県’ | replace: ‘Shimane’, ‘島根県’ | replace: ‘Shizuoka’, ‘静岡県’ | replace: ‘Tochigi’, ‘栃木県’ | replace: ‘Tokushima’, ‘徳島県’ | replace: ‘Tottori’, ‘鳥取県’ | replace: ‘Toyama’, ‘富山県’ | replace: ‘Tōkyō’, ‘東京都’ | replace: ‘Miyagi’, ‘宮城県’ | replace: ‘Wakayama’, ‘和 歌山県’ | replace: ‘Kanagawa’, ‘神奈川県’ | replace: ‘Kagoshima’, ‘鹿児島県’ }}> {{ shipping_address.city }}> {{ shipping_address.address1 }}> {{ shipping_address.address2 }}
{% if shipping_address.company %}> {{ shipping_address.company }}
{% endif %}> {{ shipping_address.last_name }} {{ shipping_address.first_name }} 様
Phone: {{ shipping_address.phone}}{% endif %}>
ご不明な点がございましたら、{{ shop.email }}までご連絡ください。