Skip to content

feat: add formatPrices parameter to msOrderTotal snippet#93

Merged
biz87 merged 1 commit intobetafrom
dev/1.4.2-beta1
Feb 15, 2026
Merged

feat: add formatPrices parameter to msOrderTotal snippet#93
biz87 merged 1 commit intobetafrom
dev/1.4.2-beta1

Conversation

@biz87
Copy link
Copy Markdown
Member

@biz87 biz87 commented Feb 15, 2026

Summary

  • Added formatPrices and withCurrency parameters to msOrderTotal snippet
  • Formats monetary fields via $ms3->format->price() using system settings (ms3_price_format, ms3_currency_position)
  • Follows the same pattern as msProducts snippet

Usage

{'msOrderTotal' | snippet : ['formatPrices' => 1, 'withCurrency' => 1]}

Closes #92

🤖 Generated with Claude Code

Allows formatting monetary values via ms3->format->price() using
system settings (ms3_price_format, ms3_currency_position).
Follows the same pattern as msProducts snippet.

Closes #92

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@biz87 biz87 merged commit 609732f into beta Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

msOrderTotal: добавить параметр formatPrices для форматирования цен

2 participants