Skip to main content

Questions tagged [commerce]

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

1,456 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8 votes
1 answer
503 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 ...
user6958's user avatar
8 votes
2 answers
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 ...
Antonio's user avatar
  • 407
6 votes
1 answer
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 / ...
Danz's user avatar
  • 439
4 votes
0 answers
728 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 ...
SPR's user avatar
  • 83
4 votes
0 answers
473 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 ...
Sinan Erdem's user avatar
3 votes
1 answer
1k 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\...
J W's user avatar
  • 76
3 votes
0 answers
753 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 ...
Max Zviagintsev's user avatar
3 votes
0 answers
716 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 ...
xuxu's user avatar
  • 241
3 votes
1 answer
273 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,...
Anon Ymous's user avatar
3 votes
1 answer
215 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 ...
keb805's user avatar
  • 99
3 votes
1 answer
81 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 ...
Mrweiner's user avatar
  • 1,931
3 votes
1 answer
381 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 ...
Auguste Van Nieuwenhuyzen's user avatar
3 votes
0 answers
95 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 ...
user46039's user avatar
3 votes
1 answer
78 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 ...
Matthew L's user avatar
3 votes
2 answers
278 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.
Eri's user avatar
  • 41
3 votes
1 answer
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 ...
Chad's user avatar
  • 53
3 votes
0 answers
597 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....
tomas.teicher's user avatar
3 votes
1 answer
138 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 ...
loblawww's user avatar
3 votes
1 answer
635 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 ...
user13260's user avatar
3 votes
1 answer
302 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 ...
Daniele Napolitano's user avatar
3 votes
1 answer
277 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 ...
Marco's user avatar
  • 31
3 votes
1 answer
386 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 ...
mcgyvrfan121's user avatar
3 votes
1 answer
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 ...
Carl Bowles's user avatar
2 votes
0 answers
324 views

How do I cancel an order?

I am looking for a way to change the status of some orders. I need to be able to cancel orders even if the payment has been validated. In fact, I'm currently using the Commerce Payplug module which ...
Alexdezark's user avatar
2 votes
0 answers
83 views

Variations created with a queue worker sluggishly slow

The site my team is currently building is meant to import a list of all available trips for a travel booking agency. The method we settled for (for now) can be summarized as such : A daily cron job ...
BigChing's user avatar
2 votes
0 answers
87 views

CartEvents::CART_ENTITY_ADD vs OrderEvents::ORDER_ITEM_CREATE

What is the actual difference between these two events? Is it simply that OrderEvents::ORDER_ITEM_CREATE is triggered for order items added in any way (like both from front end cart and from back end ...
Problue Solutions's user avatar
2 votes
0 answers
42 views

Error while trying to create a local task for user order history

I am attempting to add a local task here (/admin/commerce/orders/{order#}). This local task should contain a view that takes the userid from the current order and displays that users order history. I ...
David Gilmore's user avatar
2 votes
1 answer
102 views

Migrate order billing profile

I'm trying to migrate order data from an existing site using CSV files and I can't get the billing profile to relate. In trying to troubleshoot this, I have it set just to insert a default value of a ...
Delford Chaffin's user avatar
2 votes
0 answers
46 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 ...
Roland Iordache's user avatar
2 votes
0 answers
35 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 ...
Kara's user avatar
  • 21
2 votes
0 answers
211 views

Drupal Commerce 2 add to cart form in Search API view

I would like to add an add to cart form over my thumbnails in a search api view. So far I have managed to use a twig template for a view mode of my product in the Search API view. What code do i need ...
pv1's user avatar
  • 161
2 votes
1 answer
753 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 = ...
jayareX7's user avatar
2 votes
0 answers
34 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?
User7812's user avatar
2 votes
2 answers
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 ...
shanidkv's user avatar
  • 183
2 votes
1 answer
51 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 ...
Hans V.'s user avatar
  • 114
2 votes
0 answers
824 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:...
Chris Rockwell's user avatar
2 votes
1 answer
201 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.
FAB's user avatar
  • 195
2 votes
0 answers
330 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 ...
FAB's user avatar
  • 195
2 votes
0 answers
388 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 ...
gagarine's user avatar
  • 692
2 votes
1 answer
166 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 ...
Chris's user avatar
  • 21
2 votes
1 answer
211 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,...
Drupalin's user avatar
2 votes
1 answer
256 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 ...
user avatar
2 votes
0 answers
26 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 ...
Interlated's user avatar
  • 1,433
2 votes
1 answer
74 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 ...
Dadaisme's user avatar
2 votes
1 answer
160 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 ...
DrupalNovice's user avatar
2 votes
0 answers
102 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 ...
swasin's user avatar
  • 31
2 votes
1 answer
68 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 ...
McTwist's user avatar
  • 73
2 votes
3 answers
669 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.....
gio's user avatar
  • 145
2 votes
2 answers
216 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 ...
Pradeep Jha's user avatar
2 votes
0 answers
38 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 ...
vgoradiya's user avatar
  • 1,369

1
2 3 4 5
30