Questions tagged [commerce4]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
23 views

Craft Commerce Missing Products Tab

I've just installed the craft commerce plugin to trial it, but I'm not seeing the products tab under Commerce in the backend? Am I missing something? I'm using Craft 4.5.10. Thanks, Chris
Chris Nicholson's user avatar
0 votes
0 answers
38 views

Addresses lost in the void after Craft and Commerce upgrade from 3 to 4

With the changes to addresses in Craft 4 I'm trying to do a cleanup of 80 000 addresses I have, many who does not have a valid user or commerce orders connceted to them. Trying to fetch all addresses ...
Syversen's user avatar
  • 475
1 vote
1 answer
180 views

Craft Commerce 4 - customer phone number/address?

i am using Craft Commerce 4 and cannot get my head around how to add a phone number to a customers address at Checkout. I have a Commerce 3 site but the code does not work. I can see how to add a ...
Malcolm Maclean's user avatar
1 vote
1 answer
119 views

After Craft CMS v4 Update: Getting unknown property: craft\models\Volume::settings

Our staging environment update to Craft v4 seemed to work fine, but now on production we're getting this error when trying to send email confirmations after successful orders (happens in the queue job)...
Meinhard's user avatar
1 vote
1 answer
60 views

How to represent member discount for Commerce products?

I'm working on a Craft Commerce project where users can register for paid events. The events have a different price for members and non-members of the organization the site belongs to. I'm not sure ...
MoritzLost's user avatar
  • 10.7k
0 votes
0 answers
156 views

getDiscountByCode(): Argument #1 ($code) must be of type string, null given

I migrated to craft 4 according to the migration guide and everything went well. Steps to reproduce Migrate to craft Add something into the cart On the Cart template there is the following error on ...
KSPR's user avatar
  • 3,776
1 vote
1 answer
78 views

How to query variants on product relatedTo

on my new project I decided to show in the page grid variants rather than products, but I am experiencing difficulties, since I am supposed to filter the record set based on a category relation of the ...
Masiorama's user avatar
  • 205
0 votes
1 answer
242 views

Craft Commerce PayPal Checkout: Error: Expected an order id to be passed

I am having big trouble getting the PayPal checkout plugin to work. I am using this code: {% namespace cart.gateway.handle|commercePaymentFormNamespace %} {{ cart.gateway....
Volker Andres's user avatar
0 votes
0 answers
83 views

Set maximum quantity at the product level

I am trying to figure out a way to set a maximum quantity at the product level instead of on the individual variants. The specific use case is selling tickets to events, where my client needs to be ...
Peter U's user avatar
1 vote
1 answer
236 views

Stripe for Craft Commerce 4: Payment Method Id cannot be blank

Followed all instructions in the Stripe for Commerce plugin docs. When submitting a payment locally and in staging environment, I get the "Payment Method Id cannot be blank" error. Yii Debug ...
jjem's user avatar
  • 497
4 votes
1 answer
539 views

Commerce 4 Address Logic

we are trying to implement the brand new Commerce 4. We're about to release our Client's site and decided to Go ahead and migrate to Craft 4 before going live... The upgrade went pretty smooth except ...
Sylvain Tremblay's user avatar