Questions tagged [commerce]

One of the modules that implements an eCommerce framework and ecosystem is the Drupal Commerce module.

1,412 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
482 views

Order list: Pay unpaid invoices

I have created some extra statuses: Paid and Unpaid. Now they got the functionality and react on the transaction balance perfectly fine. However, on the user site, it is kind of a dumb thing. Even ...
7
votes
2answers
2k views

How to setup event registration and paypal payment?

We have events and we take registrations for them. Entity Registration module is installed for that purpose and it's working great. Now, since those events are paid events, we want to implement PayPal ...
5
votes
1answer
1k views

How to add multiple products to cart at the same time with attributes

I have different view blocks that display multiple products on the same page, each product has their own attributes such as product bundle and custom line item, these serves as an option set / ...
5
votes
1answer
610 views

Drupal Commerce causing database deadlocks

I'm trying to get to the bottom of a known Drupal Commerce bug to do with row locking. When a user logs in on my development site, Drupal Commerce starts multiple identical queries that look like ...
4
votes
0answers
314 views

What is the way to restrict access to a store and its products by user?

I'm using Commerce 2 and I have: User A and User B Store X assigned to User A (by entity reference) Store Y assigned to User B I would like to restrict access to products of stores so that User A ...
3
votes
0answers
471 views

How do I set schema.org metatag for products?

I'm using https://www.drupal.org/project/schema_metatag for my Drupal 8 + Drupal commerce 2 online store and the question is - how to configure fields and what tokens should be used to display ...
3
votes
0answers
479 views

How to checkout 2 carts at once like Etsy does on Commerce 2.x?

There are 2 stores, products from each store are added to cart, therefor there are two carts: But how to checkout these 2 carts at once: For example Etsy, clicking 'Proceed to checkout' will ...
3
votes
1answer
219 views

How do I utilize Drupal commerce to sell large files stored on Amazon S3

I am working on a project for work that involves replacing a current "tape and staple" file delivery system. It's a Drupal site, but with many many third party outdated VERY unstable software. However,...
3
votes
1answer
201 views

How do I update Drupal Distribution (Commerce Kickstart) on shared hosting environments?

We currently run a Drupal Commerce site from GoDaddy C-Panel shared hosting environment. I created the site with Commerce Kickstart and am now several distribution updates behind. If that's the ...
3
votes
1answer
70 views

Rules scheduled email empty when using php variable, but not when hardcoded

I'm using rules scheduler (on D7) to set up a reminder email based on a time specified within a commerce order (more specifically a line item in the order). I was able to get everything set up ...
3
votes
1answer
355 views

How to create a rule to compare an order total with a custom field in a content type?

I have multiple restaurants with each another value for minimum order price, this is a custom price field in the content type "Restaurants". I would need to make a rule where the total order amount ...
3
votes
0answers
94 views

commerce pricing attributes but disigned with commerce standard?

Is there an solution or plan to get the pricing flexibility from "Commerce Pricing Attributes" and option but designed with commerce standard? Wrong prices are shown in the cart see her Commerce ...
3
votes
1answer
68 views

Passing product info to PayPal using Comment1 and Comment2

We need to pass information to PayPal using their Comment1 and Comment2 fields for accounting purposes. We have several units using the cart for different fees and our finance team needs to be able ...
3
votes
2answers
247 views

How to redirect the user to a product page (node) after payment is made?

How to redirect the user to a product page (node) after payment is made? I'm using the Commerce Express Checkout module. That's why in the Shopping cart can be just one product.
3
votes
1answer
415 views

Subtotal calculates from original product price, disregards applied per product discounts

This seems like a known issue but I actually didn't find a solution for this anywhere. In commerce, if I apply a discount/pricing rule to a certain product, add it to cart, and go to checkout, table ...
3
votes
1answer
2k views

Which hook do I use to alter product entity data in a product display?

In Drupal Commerce, which hook do I use to alter product entity data in a product display?** And it needs to be a hook that fires each time I change an attribute that causes a different product ...
3
votes
0answers
575 views

Commerce line items without reference to product

With Drupal Commerce, when visitor adds a product to his cart, system creates commerce line item instance. The order consists of line items, and these line items have references to particular products....
3
votes
1answer
136 views

Forcing together line items of the same unit type in Rooms and Commerce

I am using Rooms and Commerce together as a booking system. One thing that bothers me is that it's possible for a customer to book let's say 50 pairs of roller skates, but Commerce will render each ...
3
votes
1answer
540 views

URL to catch post data from off-site payment gateway in Drupal commerce

We have to set up an Drupal 7 e-commerce site with Commerce module (Kickstart) that accepts payments via an off-site payment gateway. For which we are developing a commerce payment method that will ...
3
votes
1answer
281 views

How can I generate commerce file audio preview automatically?

In a store of music files with the Commerce File module, how can I generate an audio preview of that file? Would be perfect if I could use the Rules module for detect the adding of file and SOX ...
3
votes
1answer
264 views

Complex Shipping Rule: €3 Flat Rate for order's first 2kilos + extra €1.2/extra kilo charge

Well, the title is quite descriptive about what I'm trying to do with Rules for my e-shop. I have a flat rate for shippable products and I want to charge extra shipping costs to customers according to ...
3
votes
1answer
332 views

add flag to product display view

I have a product display using facets that I have tried in vain in views to add a flag/unflag link to with views I already built a separate comparison view with the relationship to flag and the ...
3
votes
1answer
1k views

How can I display the price field twice?

I am using commerce kickstart 2. Here's a screen shot of my product display I've set a VAT tax rate in Drupal Commerce, so the price in that screenshot is the price of the product, plus the 20% VAT ...
2
votes
0answers
23 views

Disable subscription auto-renew by users

I'm working on a website with commerce 2.x subscriptions auto-renewal with Drupal 8. The problem is that after an user will pay for membership, they can not cancel anymore the auto-renewal. I can't ...
2
votes
0answers
29 views

How to display billing information associated with with stored Auth.net payment information?

I am newish to Drupal and have been trying to print out the billing address data from the saved payment method information labels in drupal commerce checkout. The payment processor is Auth.net, using ...
2
votes
0answers
247 views

How to use inline entity form field in custom form?

I have a site with Drupal 8 and Commerce 2. Now trying to build a custom "Create new order" -form for admin. Created a custom module and form with buildForm() function. Managed to add selection for ...
2
votes
1answer
1k views

This import is empty and if applied would delete all of your configurations

Customer bought a theme that has Commerce plugin installed with sample data. Anxious to get running and try out the new configuration system, I did what I do prior to Drupal 8.6. Commit everything but ...
2
votes
1answer
369 views

Adding Price Attributes

I am searching how to add price values to existing product attributes in Drupal Commerce 2.X For Example: T-shirt price = $10.00 A product variation/color = Red = +$2.00 A product variation/size = ...
2
votes
0answers
771 views

Why do I get an error about the extension.list.module service non existing?

I installed Drupal 8.5.6 and Drupal Commerce with Composer. They installed fine, but after I cleared the cache, I got this exception in a WSOD. Uncaught PHP Exception Symfony\Component\...
2
votes
1answer
707 views

How to get the customer name in Commerce order confirmation e-mail?

How can I get the customer name from the billing information variable in the commerce-order-receipt.twig.html template of the Drupal 8 Commerce order confirmation e-mail?
2
votes
0answers
30 views

Unset Shipping for particular order?

I have used the commerce shipping module in my site, now I want to unset the shipping for a particular order. How Could I achieve this?
2
votes
2answers
2k views

Change the product status after checkout_complete

I have one 'select' field in product page it has value 'Open', 'Closed'.I want to changed to 'Closed' after completing the first order of this product. There is one issue which someone answered for ...
2
votes
1answer
47 views

One Page User Profile

How do I make a one-page user profile? I want to include wishlist, cardonfile and addressbook from commerce, and render all the data already inserted into the profile, and edit/create forms on the ...
2
votes
0answers
542 views

Redirect user to order completion after successful offsite payment

On my order_information page I have a Paypal Express checkout button. Using this hacked together route, I can successfully save the payment, apply it to the order, and then move the order to complete:...
2
votes
1answer
182 views

Where are the default emails?

I am using Drupal Commerce in Drupal 8. Where can I find the default email and rules related to order activities, like on completion, processing etc.
2
votes
0answers
270 views

Redirect to checkout after add to cart?

I am using Drupal 8. I installed the Drupal commerce module and successfully set it up . I am able to add the products to the cart, but I want to redirect the users to checkout as soon as the ...
2
votes
0answers
320 views

How to display the “Add To Cart” button on a entity implementing the PurchasableEntityInterface?

The product entity than come with Drupal Commerce 2.0 don't feet my needs. Following the documentation, I made a custom entity that implement the PurchasableEntityInterface (Work in progress). But ...
2
votes
1answer
129 views

Commerce Flat Rate Shipping not being added in Paypal Express Checkout

I'm hoping this is straight forward, but I can't seem to find the answer. I have Drupal Commerce setup and working properly. I have Commerce shipping setup to use a flat rate of $7.00 I have Commerce ...
2
votes
1answer
116 views

How to restrict Drupal commerce Shipping only for two provinces

we have a drupal commerece site http://floristerianoe.com, that need only to deliver (commerce shipping) in Madrid and Guadalajara (only two privinces in Spain) and we can´t find the option to do this,...
2
votes
1answer
242 views

How to Send an email with the list of products ordered in its body?

I created a rule and a component, to send an email to my customers 7 days after their orders. This email asks them to leave a comment on the products they have purchased. My problem: I can not ...
2
votes
0answers
24 views

Can I use safe_value when the recommendation is to use a name containing only letters, numbers and spaces?

Commerce Credits says that the credit name should It is recommended that this name begin with a capital letter and contain only letters, number and spaces. This name must be unique. I am ...
2
votes
1answer
69 views

How to fix my Rule to notify authors of products by email at order completion?

I'm trying to send email notifications to authors of each products (line-items) in the order at completion. I have tried many things surrounding the rule below... that is now at a strange point in ...
2
votes
1answer
101 views

Why would just adding a product to cart create a payment with method type “unknown” and credit card of “4111--------1111”

We have the Payment Method Example module turned OFF. And, we only have one payment type set up (Authorize.net) in the Enabled Payment Method Rules. Yet, when we add just one product to the cart and ...
2
votes
2answers
465 views

Showing both original base price and calculated price (inc. taxes), when using two price fields and rules

Building a webshop for customer with Drupal 7 + commerce. I've defined two price fields for commerce product entity: 1) base price (excluding tax) that is wholesale price 2) retailer price (excluding ...
2
votes
0answers
76 views

In commerce funds where is the fund getting deposited?

In commerce funds module there is an option to deposit funds. When clicked on this link it takes you to the payment gateway where you can enter the amount you want to deposit. My question is where is ...
2
votes
1answer
57 views

Can't re-import a majority of products in CSV file

I have been working on a development site for a long time, so there have been many instances where I have imported, deleted, re-imported, re-imported with tampering, etc. There seems to be a large ...
2
votes
3answers
467 views

Avoid user to multiple purchase of same product

I would like avoid a user to buy the same product twice or more, I'm not speaking about the quantity limitation during the checkout (I've already set quantity to 1 for every purchase)...for example.....
2
votes
2answers
142 views

Users can rate product after their order status changed to completed

I want to give permission to user to rate a product when their order status set to completed. For that I've tried using rules but in action i was not able to set permission for particular user whose ...
2
votes
0answers
31 views

Concurrent request on commerce checkout

From some days I worked on one of issue related to drupal commerce services, While two customers add in the same time a product whose the stock was only 1 in that case two order successfully ...
2
votes
1answer
74 views

Multiple owners for commerce order [or] Allow non-owner to pay for an commerce order

Scenario: Drupal site with "Member" and "Spouse" roles. For any given married couple, Member and Spouse each have their own user accounts. entity reference field from spouse defines the relationship ...

1
2 3 4 5
29