Questions tagged [commerce]

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

1,403 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
481 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 ...
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
599 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
297 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
539 views

Set default values for billing informations in Drupal 8

With Drupal 8 / Drupal Commerce 2, I need to set default values in checkout / billing information. I need to get values from connected user fields. How could I achieve this ? In Drupal 7 I did this ...
3
votes
0answers
442 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
202 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
198 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
69 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
353 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
238 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
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
574 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
541 views

How to create a packing slip?

We want to be able to print a packing slip from a completed order. I see that the line items is a view but how can I create a new page or tab on the order page to display a clean packing slip?
3
votes
1answer
536 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
275 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
263 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
320 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
22 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
28 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
240 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
317 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
611 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
0answers
428 views

How to set schema.org metatags for products in Drupal Commerce 2?

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 ...
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
1k 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
524 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
177 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
267 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
316 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
124 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
106 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
1k views

How to resolve Catchable fatal error in entity.inc?

Locally (WAMP) I have created a new GIT branch to install Drupal Commerce on my site. Everything went well and I have begun configuring my new shop. But when I decided to pull this branch into my ...
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
99 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
0answers
75 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
444 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
132 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 ...
2
votes
2answers
949 views

Overriding an entity add/edit form through alterroute

I want to create my own version of the add/edit form for an entity defined in contrib module (drupal_commerce). I assumed i'd be able to adapt the example here http://www.foreach.be/blog/how-...

1
2 3 4 5
29