Standardize how calculated prices (with taxes) are handled across the entire system. Trigger: When working with pricing that includes taxes/fees, creating UI components for pricing, or implementing price calculations.
Do not persist calculated display prices for products. Persist base/sale inputs and tax assignments; calculate final display price on read.
Current product API uses final_price for calculated tax-inclusive responses. Do not standardize new code on price_with_tax unless the existing endpoint/interface already uses that name.
base_price, cost_price, profit_margin, is_on_sale, sale_price.product_variants.price_override.product_tax_assignments.final_price = effectiveBase * (1 + sum(taxRates)).sale_price when is_on_sale is true and sale price is valid.Orders, invoices, payments, refunds, and accounting documents can store totals because they are historical transaction snapshots. Those amounts must not change if product prices or tax rates change later.
final_price or equivalent calculated fields.final_price for convenience.vendix-product-pricingvendix-currency-formattingvendix-date-timezone for historical timestamp semanticsnpx skills add Rzyfront/vendix-calculated-pricing下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer