Questions tagged [commerce]
One of the modules that implements an eCommerce framework and ecosystem is the Drupal Commerce module.
3,938 questions
0
votes
0
answers
32
views
Simple fixed sales tax on products only; not shipping nor fees
When I add a Drupal Commerce Tax, Sales Tax, fixed percentage, the cart an summary are calculating tax on more than the product sub total.
I have the USPS shipping module and Commerce Fee to add a ...
0
votes
0
answers
52
views
How can I change the alt text of a media entity in a template file without recreating the entire object?
In Drupal 10, we have products inside the Commerce module. The products have an associated cover image, which gets a (non-descriptive) alt text through an import process. We don't control that import ...
0
votes
2
answers
63
views
Product page displays only one variation
I'm encountering an issue that I haven't been able to resolve despite extensive research.
On a store that sells records, I have a product type called "album". This product type includes two ...
0
votes
0
answers
24
views
Placing signature/stamp on invoice.pdf [duplicate]
I'm using Commerce 3.02 and the "commerce invoice" module. At the end of shopping the module sends an invoice as a PDF after each order (either "paid" or "pending") — so ...
0
votes
1
answer
68
views
Issues upgrading with existing contrib modules
I am currently running a Drupal 10.4.8 site with Commerce 2.40 and several contributed modules that support Commerce ^2.0. These modules have been patched, either locally or using patches from Drupal....
0
votes
0
answers
51
views
Access denied on checkout for programmatic anonymous order with shipping
I created a custom Form to populate a commerce order programmatically, with an anonymous checkout flow and shipping enabled. The code in the Form's submitForm() method is as follows (it is a base-...
0
votes
0
answers
41
views
Commerce Stripe: Payment fails when adding more than 1 unit of the same product to the cart
I'm using Commerce Stripe 8.x-1.2.
During the checkout process when I'm adding more units of the same product, in other words a quantity of the same product that is higher than one, I get an error ...
0
votes
0
answers
30
views
Profile reuse and ownership: Comparing billing profiles
If I understand correctly, in Drupal 10 in Orders, profiles with a profile type of “Billing information” belong to an anonymous user, because if they belonged to the user who creates the Order, then ...
0
votes
2
answers
54
views
How to prevent creation of new commerce products in a migration intended only to update a specific field?
Many months ago, I wrote a migration for Commerce products from Drupal 7 to Drupal 10 and successfully migrated those products. However, now I need to migrate the GUIDs from the feeds_item table in ...
1
vote
1
answer
48
views
How do I migrate taxes with order migration?
On the Drupal 7 site, orders have taxes (screenshot from Drupal 7). What do I need to change in the migration file so that after rerunning the migration in Drupal 10, the orders include a taxes line?
...
0
votes
1
answer
39
views
Added phone field to Commerce V2 form but can't format the number entered
I've got a Drupal 10 site with Commerce V2. I have added a telephone number field type to the customer profile type with the machine name of field_phone. I am trying to format the phone number that ...
0
votes
1
answer
42
views
Add cancel button to checkout info and review pages
I'm trying to add a cancel button to the order_info and review commerce checkout flow pages. I want the button to clear any information the user has entered into the form and redirect them back to the ...
0
votes
0
answers
58
views
BlueSnap token for hosted fields?
I am in the process of upgrading a Drupal 7/Commerce V1 site with Drupal 10/Commerce V2. The site uses the BlueSnap payment gateway with BlueSnap hosted payment fields.
The current (old) site's ...
0
votes
0
answers
37
views
Passing a variable to commerce order receipt mail
So I've made a custom module that generates a QR code with some data from order (payment amount and order ID mainly), that gives customers a way to scan bank transfer details into their banking apps, ...
0
votes
0
answers
35
views
Commerce v2 Event to catch to alter the receipt email
I'm working with Drupal 10.3 and Commerce v2 and I'm trying to figure out exactly which event I need to catch so that I can alter the order receipt email that Commerce sends. I found the commerce-...