Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use this tag for questions relating to the Craft Commerce product.
2
votes
Accepted
Craft Commerce not outputting € symbol
What does cart.currency return?
The Twig currency filter ultimately uses Yii's CNumberFormatter class. This uses the symbol you are seeing as a default placeholder for the currency symbol if one cann …
3
votes
Accepted
How to compute UK style VAT in Craft Commerce?
Try unticking the This tax is already included in the taxable subject checkbox.
I would imagine that with this checked, Commerce assumes that the prices entered for products already have tax applied, …
9
votes
Accepted
Craft Commerce: Detecting & Styling Flash Messages?
Getting a flash message also deletes it, so you should set it to a variable first, otherwise, when you try to access it a second time, it will be empty.
So you need to do something like this:
{% set …
4
votes
Accepted
Partially pay for an order
This is certainly still possible with Commerce 3 and Craft 3.
In a custom plugin or module you can listen for the Transactions::EVENT_AFTER_CREATE_TRANSACTION event and amend the transaction amount at …