Skip to main content
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
Results tagged with
Search options not deleted user 167

Use this tag for questions relating to the Craft Commerce product.

1 vote
2 answers
128 views

How to output taxCategory in Craft Commerce

I'm trying to test for a taxCategory within Craft Commerce and finding it awkward to do so. I can't see much in the docs, but have managed to put this together: {% if product.taxCategory | length %} …
Clive Portman's user avatar
1 vote
2 answers
147 views

Craft Commerce not outputting € symbol

Within Settings, the cart currency is set to Euros. But when I use: {{ product.defaultVariant.price | currency(cart.currency) }} The output is: ¤150.49 Anyone encountered this before?
Clive Portman's user avatar
0 votes
1 answer
305 views

Craft Commerce stock not updated when order deleted

Is this deliberate, or a bug? Delete an order and the products within the order don't have their stock updated again. I'm only running Craft Commerce 1.2.1327 but I don't see any mention of it in the …
Clive Portman's user avatar
1 vote
0 answers
130 views

Commerce products returning different results on page load

I have a great many products which have a date field (they're class dates) and I want to show the next three which have any stock left (available places). The following works fine to display the next …
Clive Portman's user avatar
1 vote

Email Template in Craft Commerce

It sounds to me like you need a plugin which listens for commerce_orders.onOrderComplete, fetches the restaurant in the order and sends the email to the restaurant owner. See https://craftcommerce.com …
Clive Portman's user avatar
2 votes

Custom status based on chosen payment gateway

You probably need a small plugin listening for commerce_orders.onOrderComplete which checks the payment method and re-saves the order with the required status.
Clive Portman's user avatar
1 vote
0 answers
258 views

When is the order email sent out in Craft Commerce?

I'm updating a custom field within a product to contain a discount code. The code is generated and the custom field updated using the onBeforeOrderComplete event. All works well, apart from the order …
Clive Portman's user avatar
1 vote
1 answer
93 views

Craft Commerce Worldpay 302 error

I'm having problems with Worldpay and their notorious dislike of 302 redirects with the payment response. I remember this problem last year and Luke fixed it but it seems to have returned. Within Com …
Clive Portman's user avatar
1 vote
Accepted

Craft Commerce Worldpay 302 error

This was an email template problem. While the template loaded fine in a browser, it was failing when being sent by Craft Commerce on a status update. The only clue was when manually updating a status …
Clive Portman's user avatar
1 vote
1 answer
69 views

Does Craft Commerce support Worldpay refunds?

If anyone else is using Worldpay with Craft Commerce (am starting to feel like I'm one of a very small number), do you have order refund functionality? As in, the Refund button that exists on the orde …
Clive Portman's user avatar
1 vote
Accepted

Purging inactive carts in Craft Commerce

The mistake was not reading the docs properly and putting the config values in general.php. Instead, I needed to create a commerce.php config file and put the values in that. As soon as I did, the ord …
Clive Portman's user avatar
1 vote
Accepted

Does Craft Commerce support Worldpay refunds?

The answer looks to be "Not if you're using the Legacy gateway" that all my clients seem to be using.
Clive Portman's user avatar
1 vote
1 answer
447 views

Craft Commerce auto SKU with product ID

I can use {product.slug} for generating Auto SKU but does anyone know how to use the Product ID Using SKU{product.id} the create product form won't submit because no SKU is generated. I think it migh …
Clive Portman's user avatar
1 vote

Subscribe a user to Campaign Monitor during checkout in craft commerce

I have a form on my checkout receipt page for Campaign Monitor and looking in my composer.json I can see: clearbold/craft-campaignmonitor-lists
Clive Portman's user avatar
1 vote
2 answers
598 views

Purging inactive carts in Craft Commerce

I've a Commerce store with orders dating back to September and have the following in my config: 'purgeInactiveCarts' => true, 'purgeInactiveCartsDuration' => 'P1M', The docs say that the purging sh …
Clive Portman's user avatar

15 30 50 per page