Drupal Commerce is an eCommerce framework and ecosystem built on Drupal 7.

learn more… | top users | synonyms (2)

0
votes
0answers
2 views

Drupal commerce user order views does not display orders for user despite permssion

The user order views' access permission is "View own orders of any type". I have given this permission to authenticated users yet the user sees only this message "You have not placed any orders with ...
1
vote
1answer
15 views

Commerce Line Item Taxonomy Reference Filtered by Product Selection

Here's the scenario: I'm selling furniture. I have a chair we'll call Mission Chair. The Mission Chair comes in oak or maple, both are priced differently. I have a field in my product I have a ...
0
votes
1answer
8 views

SMS Framework - How to put multiple destination numbers

I am using modules "SMS Framework",Clickatell for sending message and I have configured all the settings which was required. I have also created a rule where node(Article) be save and send a message. ...
0
votes
1answer
21 views

hook_form_commerce_checkout_form_checkout_alter() changes are not reflecting on checkout page

I am trying to make the changes in commerce_checkout_form but I am facing some issues. Here is my hook_form_FORMID_alter : function MYMODULE_form_commerce_checkout_form_checkout_alter($form, ...
0
votes
1answer
17 views

How to check if a user has any previous order?

I am working on Drupal Commerce site. Want to know if the customer is new or old. If customer has previously ordered any item from our website we can consider him old customer else if he is ordering ...
0
votes
1answer
9 views

programmaticaly extract the shipping service name

Through following code in a custom sub module for commerce_cybersource_sawm I am able to pass shipping information to merchant like name, address, country $shipping_address = ...
0
votes
0answers
6 views

Commerce error on product stock reaching zero

I'm using Commerce Stock as all my products have specific quantities. When I sell the last of an item it gets marked disabled and stock goes to 0, but it continues to display on the 'all products' ...
0
votes
0answers
24 views
+100

How do I create and synchronize product fields with entity fields on another site

Case description: I have one centralized 'Asset management' Drupal website "A" (something like a simple ERP site) which manages the administration of purchased Assets, being ECK entities. The assets ...
0
votes
0answers
17 views

Use duplicated taxonomy terms from different parent with contextual filters

I have a taxonomy that has duplicate term names with different parents; for example: Mcdonalds with tid=39 has child term nuggets with tid=117 and also Other with tid=43 has child term nuggets with ...
0
votes
1answer
11 views

Adding more Data to a Commerce Feed Upload

Currently I'm working on a Commerce Kickstart 2 storefront, to remake our company website in Drupal, a store front for selling Television Repair parts. I have a little HTML/CSS experience under my ...
0
votes
0answers
20 views

Rule for sending email when order exceeds a defined weight

I set up some shipping tariffs (with module shipping weight tariff). But now i want to define a rule that sends an email to the shopowner in case the order total weight is over a certain weight. How ...
0
votes
0answers
22 views

Assign license to specified user B when successful checkout by user A

I want users on my site to be able to buy a file download for other users and anonymous users. I have added line item fields to the checkout form so the current user can specify the email address of ...
0
votes
1answer
19 views

Use contextual filter global null to pass values to override field result

I come again with new question about Drupal Views and i hope you can help and explain me how to achieve this, I made a page view to display all my content (this works fine) with the following path: ...
0
votes
1answer
21 views

Products - Add to cart

I need some advice. My client has a website with loads of products. Now the client want the ability to add products to a cart, and instead of buying, they want the products to be mailed. How can I ...
0
votes
0answers
9 views

additional order information to be passed to Cybersource

I have created a Drupal Commerce based website in which I want to integrate my bank which is using Cybersource. Using this module I have successfully completed the test transaction ...
0
votes
0answers
26 views

Commerce stock rule creation

I'm trying to create a rule that will unpublish a product display only if it's a certain type of product once stock reaches zero. I can't seem to find any good recipes to do that. I don't know ...
0
votes
0answers
18 views

Product comparison with Drupal [closed]

How can I implement product comparison feature from different 3rd party api ? For example, user searches one product in website and he will be able to see price comparison for the product on ...
-1
votes
0answers
17 views

Is there any module in Drupal 7 for adding bank information of multiple stores by site admin for transfering the funds after getting the commission [closed]

Please help me on below Task. I would inform you all guys that I want to create a Drupal 7 website where I had two Roles like Merchant and Customers. Merchant can have 1 or more stores. Any customers ...
1
vote
1answer
35 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 ...
0
votes
0answers
14 views

Allow connected user to make partial payment to an order not in checkout

Add a partial payment to an order in a status higher than checkout review, without returning the order status to checkout. The problem is that returning the view status to checkout review ...
0
votes
1answer
29 views

Requiring a package doesn't find a dependency

When running HOME=/home/gymsagec composer require "drupal/commerce 8.2.x-dev", I get this error message: drupal/commerce 8.2.x-dev requires commerceguys/intl dev-master -> no matching package ...
0
votes
0answers
15 views

How to save commerce price field programatically? [duplicate]

How to save commerce price field programatically in Drupal 8?
3
votes
1answer
12 views

Steps for Changing the Order of the Payment Methods on Checkout

I have two payment methods: Cheque and PayFlow Pro enabled for my products. However, they are showing up on the checkout form in an undesirable order: Pay by Cheque (selected by default) Pay by ...
0
votes
1answer
20 views

Search API Solr Autocomplete no results when more than x Nodes indexed

I encounter a strange behavior on a site I'm working on. I use Search API views exposed form for autocomplete. My nodes reference nodes of another content type. The title of this referenced node's ...
0
votes
0answers
12 views

Dependent product variation type

I have a question. My site sells tours. For each tour(product) a user can choose a flight and some hotel rooms. Example tour1: user can choose: flight1 and flight2. user can choose: double rooms ...
0
votes
1answer
24 views

Add 150 grams to each order for calculating shipping

how can I add 150 grams to each order for calculating shipping costs (this weight corresponds to the packaging)? I looked in the rules, but I do not see how to do this.
-1
votes
0answers
34 views

Magazines store [closed]

I would like to run a Drupal website with some eCommerce module(s) that allows selling traditional magazines (like National Geographic) as a subscription. A customer could order subscription for ...
1
vote
1answer
11 views

field_attach_update stopped working - how to debug this?

I am using this simple code: $order = commerce_order_load($order_id); $order->status='completed'; field_attach_update('commerce_order', $order); To update the status of order to completed. This ...
0
votes
1answer
19 views

How do I know the discount rate?

Hi I wont to know about how can I use discount rate ? $report_query = db_select('commerce_order','co'); $report_query->fields('co'); $report_query->orderBy('co.created','ASC'); $report_res = ...
0
votes
0answers
18 views

Can I avoid the price (and price calculation) in some custom order type?

This question is related with How to implement just a 'Purchase Order' solution (without Drupal Commerce)? I started a quickly solution for manage 'purchase orders', but after there came a ...
0
votes
0answers
18 views

Changing price of product dynamically

I am using Drupal Commerce. I have two content types, product and addons. Every product has some related addons, among which user can select addons s per his/her requirements. What I want is that ...
1
vote
1answer
34 views

Drupal Commerce Stock Availability or Out of Stock

I am working on Drupal Commerce website. Using Commerce Stock I am able to manage the inventory but on product details page I want to print the following. Availability: In Stock or Availability: ...
0
votes
0answers
16 views

Image is not uploaded after post by autopost

I am trying to post new product's description and image to facebook by autopost in drupal commerce. Product description is properly posted except product image. In Rules section, when I try to add ...
-4
votes
1answer
14 views

How to increase product quantity programatically in drupal 7?

I am using drupal commerce in my site. After clicking add to cart button I have disabled this button Means user can add only one product only one time. But I need to increase product quantity without ...
1
vote
1answer
18 views

Different “Asc” and “Desc” labels for different Views exposed sort fields

I have a view of Commerce products that, as is standard for e-commerce product listings, can be sorted by price or by date. I'm having trouble with the sort direction labels: In the context of ...
0
votes
1answer
32 views

Hide the option of Payment method “No Payment Required” based on user role

I used module "No payment required" for giving extra payment method as per my client requirement. I created a site with two user roles: 1. Merchant, 2. Customer. Option "No payment required" should ...
0
votes
1answer
17 views

SQLSTATE[23000]: Integrity constraint violation

I am using Commerce Kickstart 2 to build a store. I have several Feeds importers working well. I duplicated a working importer and updated the mapping for the "product variation" and "product ...
1
vote
1answer
16 views

How to create a rule to remove a product by sku, or remove a product to the cart

I searched, and searched in many, many articles and and I have not found a solution. What I want to do is to create a rule to delete a product by sku? Or a rule to delete products. I show you my ...
0
votes
1answer
28 views

How to remove Neighborhood and Address 2 fields in commerce kickstart?

In shipping information form there is these 2 fields( Neighborhood and Address 2 ) which I need to remove but I can not find the solution. Any help?
0
votes
0answers
4 views

How do you access Commerce Order properties in the action section of Rules?

I am trying to access the site:current-cart-order:mail property as the value of a "Set data value" action but it only shows up when selecting the data to change, not when selecting the value to change ...
0
votes
0answers
14 views

How do I add a specific product image from multiple variants to cart?

I have site working on Drupal 7 and Druppal commerce. In my node page (a.k.a product display) I have several images, which running with views slideshow and jcarousel. When user clicks on jcarousel ...
0
votes
1answer
13 views

How to allow all commerce customers to use their billing address as their shipping address, in Commerce Shipping 2.X?

Almost all shopping sites have a feature to allow customers to use their billing address as their shipping address, to save them typing it in twice in the very common case of a customer having the ...
0
votes
1answer
21 views

How to limit and enable Commerce shipping options based on the customer's country?

Very simple use case, using only flat rate shipping, with version 2 of Drupal Commerce Shipping and Drupal Commerce Flat Rate. I have two shipping options customers can choose between if they are in ...
0
votes
1answer
14 views

Products with Vehicle Fit Guide

I'm in the process of developing a website for vehicle cargo boxes and adventurous vehicle accessories, and the client has requested a fit guide. What I need is a jumping off point: Do I build a ...
0
votes
0answers
12 views

Choose multiple products with Commerce product bundle module

I'm testing Commerce product bundle module to achieve my requirements. Is it possible to choose multiple products for the product reference of the product bundle ? I created a product type with a ...
0
votes
0answers
11 views

Expose a custom field value from referenced taxonomy in Drupal Commerce

Shortly: After Order completion, in Drupal Commerce, how can I expose as a new field of the Line Item, a custom field value from a category taxonomy term related to the product? Long version: In a ...
0
votes
0answers
11 views

How to show extra info message on cart page with in line item?

I am using drupal commerce . I need to show programatically exrta info message for every product that are comming under cart as a line item based on some condition.. I am not finding any hook for ...
0
votes
0answers
14 views

Commerce File - Error

I got the following Error when a licensed commerce file should be shown in the "Files" tab of the user account: Notice: Undefined offset: 0 in ...
0
votes
0answers
20 views

How can I implement dynamic discounts?

I have a use case where I want to offer customer the option of a home trial for products before purchasing them. Ideally entailing: Customer returns home trial product: Charge for the shipping ...
0
votes
0answers
31 views

How to require a minimum amount for a role using the Rules module?

I'm using Drupal Commerce (Version 7.x-1.13) and I wish that the professional role may place orders for a minimum of € 150. On top of that, how to block the cart and display a warning message? I ...