Questions tagged [commerce]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

Alter Apply Coupon (Drupal Commerce)

I am developing an advanced coupon module, two-thirds of it has been completed so far; But to apply coupons for products/variation, considering that commerce does not use the Drupal hooks how can ...
1 vote
1 answer
492 views

How to automatically delete all product displays when a product is deleted?

To automatically delete the product displays when a product is deleted, is a feature of the module Auto Product Display, but I don't need that module. Preferably using the Rules module, I would like ...
2 votes
1 answer
451 views

How do I alter the Price Component Title in Commerce Userpoints Discount without altering the module?

It seems that when a user adds a Userpoints Discount line item to their shopping cart it appears in the footer as 'Royalty', which will be totally confusing to users. On line #382 of ...
0 votes
1 answer
512 views

Currency switcher

Is there a currency negotiation service in Drupal Commerce 8? How can I change product currency on my multi currencies e-commerce?
0 votes
2 answers
614 views

Pay-Per-Node Functionality

My client would like a content type that has to be purchased by a registered user on a node-per-node basis. A previously registered user will see a view with the available content they can purchase ...
1 vote
2 answers
410 views

Is it possible to turn off Ajax load for Commerce Coupon Module?

I am getting a bunch of issues with the Commerce Coupon module 7.x-2.0-rc3. Mainly there are inconsistencies with the forms updating and also intermittent timeouts. I'm assuming it's an Ajax load ...
-3 votes
0 answers
21 views

Is there's a way to redirect the user to the external link to complete the 3DS

we are doing an on-site payment gateway integration. And we want to authorize the payment with 3DS authentication. So is there's any way to redirect to external link (for 3DS authentication) from ...
0 votes
2 answers
549 views

How do I fix this commerce_auction_node_presave error message?

I am working on a reverse auction for our youth group. I'm using D7 with the commerce_auction module. I ran into the error below when setting up the content type for the auction: Notice: Undefined ...
0 votes
2 answers
941 views

Upgrade drupal commerce kickstart

I'm trying desperately to update a customer's e-commerce site. I am a novice in Drupal. Drupal version: 7.18 Drush version: 8.1.10 Install profile: commerce_kickstart I checked with Drush for ...
-3 votes
1 answer
60 views

Is it possible to create an ecommerce website using the core alone? [closed]

I consider to create an ecommerce website using the core alone. Products will be categorized firstly by content types and any such content type could include fields such as: Price Material ...
0 votes
0 answers
23 views

Random order IDs

Is it possible in Drupal Commerce to give random order IDs to orders? Similar to the "Advanced Ordernumbers for VirtueMart" plugin (https://open-tools.net/documentation/ordernumber-plugin-...
1 vote
1 answer
471 views

Set default "Quantity" dropdown select in product. Commerce Kickstart

Using the Commerce Kickstart distribution I have a shop site listing products. The product page shows a Quantity widget to allow the buyer to choose the product quantity to be added to the cart. (look ...
1 vote
1 answer
678 views

Is there any way to make Commerce Customer Profile save/store data in a predictable manner?

Heres the thing. We have a customer profile of type 'Delivery' which contains a delivery address for an order. It also has other non-addressfield data like driver route, delivery day (M-F, day of week)...
1 vote
0 answers
45 views

Minimum order amount

How to limit the possibility of completing an order less or more than the specified amount in Commerce 2? For 7 there was a module: https://www.drupal.org/project/commerce_moa but not for 8+...
1 vote
1 answer
659 views

Why my query string generates page not found for my view?

In Drupal 7 I'm using a view export to download information for my orders. If i go to the default url /admin/commerce/orders then the page downloads correctly. However, I also have some filters so I ...
1 vote
2 answers
1k views

Add print button in the "Review order" page

I want to know, is there any way to add print button to "Review order" page. by clicking this button, a pop up page is loaded with good style for print mode and user can print the cart items , taxes ...
1 vote
1 answer
407 views

"You are not authorized to access this page." in Chrome after returning from offsite payment

After concluding checkout flow on site I'm redirected to offsite payment service (Datatrans). There if I finish payment and I get redirected back to: /checkout/order_number/payment/return or I cancel ...
0 votes
1 answer
90 views

Do content types play any role for ecommerce product webpages?

Content types (Node types) have always been a great way to organize Drupal content, especially when combining blocks in nodes of certain content types and/or certain node IDs or preventing them from ...
4 votes
1 answer
4k views

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

Customer bought a theme that has a Commerce plugin installed with sample data. Anxious to get it running and try out the new configuration system, I did what I do prior to Drupal 8.6: I committed ...
0 votes
1 answer
587 views

How To get transaction details in commerce checkout complete page

Can anyone please help to get the transaction details in commerce checkout complete page. I could get using hook_commerce_checkout_complete($order). I can show the success/Error transaction and order ...
1 vote
0 answers
42 views

How can I create a custom "Add to cart" form?

I'm developing a basic Commerce shop with Drupal 10. The product type is clothing, which has a single product variation (product_size) and three different product attributes for that variation. The ...
0 votes
1 answer
27 views

How can I restrict users to only see products of a certain store?

I am using Drupal 10 with Commerce 2. I would like to add a user, where the user can only see the products of a single store. For example, let's say there is Store A and Store B. I'd like to be able ...
2 votes
1 answer
505 views

How do I change the front page?

In commerce guys demos store I toggled off the main menu in commerce kickstart template and have enabled the main menu block to stay on sidebar first block. I want to get a vertical main menu instead ...
0 votes
2 answers
608 views

Shopping cart form footer

I wanto to display Prices with no decimal Places, in shopping cart footer (commerce order: order total ), but in the shopping cart view i found nothing to which does this. what shoud i do?
1 vote
1 answer
575 views

Alter product variation view

I want to alter product variation view and want to display a new form which value depends on variation price. I can add the field to the node using hook_node_view_alter() but i want to add it to the ...
0 votes
1 answer
703 views

How can I translate the checkout system?

I have been translating my Commerce Kickstart site with no ease although with success until now. Have translated content, taxonomy, product fields etc, following some tutorials and Drupal own ...
0 votes
1 answer
511 views

Why does the same Rule Calculating The Sell Price Of A Product fire multiple times?

I'm having dreadful performance with Commerce Kickstart 2. Trying to troubleshoot. I noticed that when viewing any Product in the catalog, the Rules Evaluation log looks like the log below. ...
1 vote
1 answer
503 views

Taxonomy view doesn't display products

This is the situation. I have a product type and in this type i use a term reference field. Then i add some products. Next step, i create the product displays using the product reference field (the ...
0 votes
2 answers
661 views

How can I force users to input a shipping address when using the Commerce Paypal WPS submodule?

I just built a store in Commerce using Drupal 7 and I am taking payments by the Commerce PayPal WPS submodule. However, when I tested checkout, I found it was possible to buy a product without ...
2 votes
1 answer
604 views

How to implement a Rules Action to loop through quantity of a products bought?

With the Drupal Commerce module, I created a new product type I use for selling points to my customers. The product has a custom field named “points” (field type integer) where I specify the amount of ...
0 votes
1 answer
427 views

Edit Shipping Address on existing order

Is there any way to edit the shipping address on an existing order? I only see the billing address in the edit screen.
0 votes
1 answer
606 views

How to add Shipping method for commerce flat rate module?

i am working on drupal commerce's "shipping" part, i want to create two methods for shipping as 1.Free Shipping 2.Express 2-day Shipping for USA . For "free shipping" condition is if order total ...
0 votes
1 answer
407 views

How do you provide conditional checkout options depending on whats in the cart?

Is it possible to provide different payment options depending on what is in the cart? Say someone wanted to purchase a service vs a physical product. For service related items, I want to be able to ...
3 votes
1 answer
629 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 ...
2 votes
3 answers
900 views

Hide products from a view

I know this may be very basic but I can't seem to figure out a way to hide a product that I've got set up in Drupal Commerce. I'm new to Drupal so thanks for your patience. I am using the Expressa ...
0 votes
1 answer
498 views

Price formatter for range of variation products

Is there a way to write a price formatter to display the lowest and highest price of a collection of product variations? My reason for thinking it might not work is the scope of the product variation ...
-2 votes
1 answer
54 views

Commerce module can't be enabled [closed]

I have installed the Commerce module but when I want to enable it, it does not give me the opportunity to check the checkbox, do you know how I can solve it?
0 votes
1 answer
592 views

Permissions to edit only the Status of an order

I have created a role called "Order Manager", he should be able to View all the orders. Update the status of any order. Not be able to edit(can edit only the status field, nothing else)/or delete any ...
0 votes
1 answer
590 views

Filter and display all commerce product sales by date in a block?

In my Commerce Order settings I have created a custom select list field with the following Allowed values. Allowed values list 1|01/03/2013 2|02/03/2013 3|03/03/2013 4|04/03/2013 5|05/03/2013 ...
2 votes
2 answers
653 views

How do I display a block on the checkout page based on the product type?

I have created some custom blocks in code that are shown on the Drupal Commerce checkout page. I would like the block to have differ content basing on which items are in the cart. How can I achieve ...
0 votes
1 answer
462 views

How to get user all order_items from different orders by entityQuery

I want to know if the user has purchased the specified product. I know the SQL. But I am learning to use entityQuery. Example: user_id = 1, product_variant_id = 5 SELECT * FROM commerce_order ...
0 votes
2 answers
484 views

product display image not showing drupal

I have a question about Drupal Commerce (I'm using Drupal 7). I've added a number of products and created a multi-product display for them. I added a product image (it's common for all these products) ...
2 votes
1 answer
494 views

Admin approval of Commerce order

I am building a proof of concept ecommerce solution using commerce kickstart v2 I wish to implement a system where a user can submit an order but an admin must approve orders before the customer can ...
0 votes
0 answers
25 views

Shipping cost is not up-to-date on the order_information page. Checkout page displays shipping properly

It's a Drupal 8 Commerce site, and we just changed the shipping rate from 2,90 to 3,5€ Although the shipping rate appears just fine on the checkout/####/review page, On the checkout/####/...
8 votes
1 answer
496 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 ...
0 votes
1 answer
46 views

User error: "funding_source" is an invalid render array key

This seems to be related to Commerce orders and the Symfony Mailer module. I intermittently see this error when a user attempts to complete the checkout process using Commerce PayPal: Blockquote User ...
1 vote
0 answers
43 views

Alter the address fields of the address module like adding a placeholder

I made a form with the FormAPI to update the address fields of the address module (with Drupal commerce) and it works well. But I saw a topic where you could generate the form with an address type ...
0 votes
2 answers
474 views

How to add Drupal Coupon discount for selected category or item only?

Project: Commerce Coupon Version: 7.x-1.0-beta7 Hi, We are using drupal percentage coupon module for our websites and its very good.We have a request from customer where they need to exclude ...
0 votes
1 answer
30 views

How can I print a custom commerce_invoice field or custom commerce order field in the invoice pdf?

In In Drupal 9 commerce_invoice I created a custom field for an invoice number with machine name 'field_numero_de_factura' and every time I generate a new invoice, I can manually enter the invoice ...
0 votes
1 answer
557 views

How to programmatically apply a fee/promotion?

I am trying to use the new commerce_fee module to programmatically apply a fee during admin payment flow. I did a simple form_alter to the commerce_payment_add form to have a list of my Fee entities ...

1
2 3 4 5
79