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
2 votes
1 answer
993 views

Add extra field on check out page of Drupal 7

All we want is for the customer to have to tell us how they heard about us at checkout page even when they did not make an account. How do I add this extra field? We are running Drupal 7 and below ...
vishanu's user avatar
  • 21
0 votes
1 answer
2k views

How to set a rule that sets a term reference field value and text area value in a commerce order entity

This relates to a post I made here How do I copy a "purchase limit" field from a product to a product line item Situation: We are building a commerce website using Drupal 7 and Drupal ...
Stan Ascher's user avatar
3 votes
1 answer
733 views

Looping Rules without Lists

I have an online store using commerce and rules, with products that can be bought in different quantities. Commerce stores the line-items in an order as a list, but it stores the quantity-per-line-...
Sean C.'s user avatar
  • 338
6 votes
3 answers
4k views

Product comparison with Drupal Commerce

How can I implement a product comparison with the Drupal Commerce module? For example, if there is a list of products, will the user be able to click on checkbox of 3 products, and click the "Compare"...
john's user avatar
  • 1,601
0 votes
2 answers
1k views

payment processing with stripe [closed]

I was just wondering if there was any module that implements the stripe api for payment processing. I'm using drupal 7. Stripe is a new payment processor that people say is better than paypal so I'd ...
berto77's user avatar
  • 319
1 vote
1 answer
593 views

How can I support product prices which have a precision greater than the currency's minor unit in Drupal Commerce?

Any idea how to support prices which have more decimal places than a currency supports in Drupal Commerce? Use case is that I'm trying to build a website which has some very small parts, whose unit ...
tumbili's user avatar
  • 11
2 votes
1 answer
290 views

Node reference field options supplied by Views 3 work in preview, not in content

I am trying to associate a node with a product type in Drupal Commerce. It is like choosing a t-shirt color, but instead they are choosing a node they published as a product attribute. I'm using ...
Justin's user avatar
  • 81
0 votes
2 answers
1k views

How do I copy a "purchase limit" field from a product to a product line item

I am working with Drupal Commerce and am trying to copy a field on the product named "copy limit" to the line item when it's added to the cart so that I can access it in shopping cart form view when a ...
Stan Ascher's user avatar
1 vote
0 answers
93 views

problem with print of “Ubercart CCK Checkout Pane” modules

in ubercart, I'm using Ubercart CCK Checkout Pane module, for adding fields to the Order. Now I have a problem. When I get a print order, cck fields are not in print. What should I do?
nima's user avatar
  • 11
2 votes
3 answers
3k views

Product display and taxonomy term ID filter (with depth)

I have a view for nodes that show my products by product reference field. All of these products tagged with "Catalog" vocabulary. I have added a reference to the field_product in the view. Is there ...
ya.teck's user avatar
  • 5,584
1 vote
1 answer
3k views

Limit items in shopping cart [closed]

Is there a way to limit users on my site to buy only 2 items from a list of products? Am using Drupal 7 with Commerce module and Rules. I added a new rule to when adding or removing and item from the ...
saadlulu's user avatar
  • 1,760
0 votes
1 answer
865 views

How do I flag and categorize Drupal Commerce related products?

Given that there isn't a related products contrib module yet. What is the canonical means (with priority of maintainability, developer experience) to flag related products and thus have them ...
chrisjlee's user avatar
  • 6,540
3 votes
1 answer
1k views

How to remove a prefix with hook_form_alter?

Looking at the source of a module, it is doing this: $form['buttons']['back'] = array( '#prefix' => t('or'), ); Now I want to remove that prefix; I tried the following code, but it doesn't make ...
pushka's user avatar
  • 1,853
0 votes
2 answers
633 views

Connecting Commerce module with registered users

I have a site that forces users to register before they can make any purchase, But I can't figure out a way to get the information from the registered users on my site and use it in my commerce module ...
saadlulu's user avatar
  • 1,760
5 votes
3 answers
7k views

Commerce/Rules - Multiply the price by a custom field value

In my Drupal Commerce store, I have a field called Commission. The Commission is input as a percentage (i.e. its not a fixed global value). I need the final price to be updated so it incorporates ...
big_smile's user avatar
  • 2,828
2 votes
2 answers
702 views

Drupal paid subscription manager where nodes are removed upon expiration

I would like to charge my users to post content. For example, 1$ per node/ week that it's visible. Now I know there are many subscription modules. But how can I manage a subscription system with re-...
Justin's user avatar
  • 81
1 vote
1 answer
726 views

How do I remove required fields (or a required attribute) from customer profile in Drupal Commerce?

I only need customer to fill in name, phone and MAYBE address. Is it doable in Commerce?
Victor Sergienko's user avatar
1 vote
1 answer
566 views

Difference between field widget price textfield and price with currency?

What is the difference between the widget field price textfield and price with currency that you can use on the commerce price field?
chrisjlee's user avatar
  • 6,540
0 votes
1 answer
730 views

How does a Rule access a variable defined in the event info?

I'm looking at the Drupal Commerce module in Drupal 7, and it has a Rule to send an email notification that the order was completed after checkout. Perusing the code in commerce_checkout.rules.inc, ...
nymo's user avatar
  • 193
4 votes
3 answers
896 views

Commerce Feeds: Multiple values in one field or multiple fields?

Goal What I'm trying to ultimately accomplish is create tiered pricing based on quantities. The client is selling different prices depending on quantity. I'm trying to figure out what is the simplest ...
chrisjlee's user avatar
  • 6,540
2 votes
1 answer
258 views

How can I implement a form into a DC view footer?

I am trying to make a shipping quote module for Drupal Commerce (DC) and I am trying to do it within the DC cart view footer by sending a form within a view. I have done quite a bit of research and ...
Robert Fleming's user avatar
0 votes
2 answers
1k views

Drupal Commerce Entity Query Line Item Prices

I'm working on a Drupal module that needs to access the line items in a Drupal Commerce Shopping Cart. On most carts, there is a "line items" table of some sort that is linked to the cart via an ...
user avatar
15 votes
3 answers
16k views

How do I add an additional submit handler in commerce checkout form?

How do I add an additional submit handler? I have tried this but it did not work. function c_coupon_form_alter(&$form, $form_state, $form_id) { drupal_set_message($form_id); switch($form_id) {...
Ahmad's user avatar
  • 2,835
8 votes
1 answer
3k views

Drupal Commerce: How to get payment module settings?

How to programmatically retrieve configuration of the specific payment module? I tried $settings = rules_config_load('commerce_payment_MODULE_NAME'); It returns very basic info (name, ID etc) and ...
volocuga's user avatar
  • 730
3 votes
4 answers
5k views

Drupal Commerce: how to add "Middle name" field to the "Address" pane?

Currently for "Address" pane (field named "commerce_customer_address") available two options: 1) Name (First name, Last name) 2) Name (single line) In my country middle name is very important. How ...
volocuga's user avatar
  • 730
7 votes
1 answer
11k views

How do I add custom order fields for users to fill out at checkout

Drupal 7 - Commerce I have 2 fields related to the order. one is radio button where user selects Pickup, Delivery. the other one I won't mention as it might confuse some people. I want the user to ...
iStryker's user avatar
  • 4,503
1 vote
1 answer
2k views

How can I check if a node references a Drupal Commerce product?

Is there a short function in Drupal Commerce API that returns TRUE (or something else) if a given node references a product?
volocuga's user avatar
  • 730
2 votes
1 answer
752 views

Commerce / Rules: How to update node that references a given product when the product is updated

I am trying to follow the Commerce Product model of Node Display that references each product. When I create a product, Rules automatically creates a Node with the same title, and references the ...
DanH's user avatar
  • 1,613
3 votes
2 answers
2k views

Large ecommerce sites that are built on drupal

I'm having trouble trying to convince the team to adopt Drupal commerce/Ubercart. Would anyone know of some large websites that are built on Drupal?
chrisjlee's user avatar
  • 6,540
2 votes
1 answer
339 views

Drupal commerce: Purpose of utilizing different product types?

I'm trying to figure out product types in Drupal commerce. Why would you want to use more than one product type? Couldn't you just use one product type? I could see that different product types have ...
chrisjlee's user avatar
  • 6,540
0 votes
1 answer
316 views

What can I do to improve the size of csv file that can successfully be imported via Feeds and Commerce Feeds

I am using Feeds and Commerce Feeds to import product lists into my Drupal Commerce store. I'm finding I have to keep the csv files really small for the import to succeed? As soon as the file is too ...
Martin Duys's user avatar
0 votes
1 answer
170 views

ubercart invoice generation to allow user to request funds withdrawal

I have a site where user purchases some service and once the service is received by the purchased person, i should allow the service provider to raise a invoice order to request funds. what are the ...
Satya's user avatar
  • 924
3 votes
1 answer
684 views

Is Paypal payments pro gateway available for Drupal Commerce

I am aware of the module Commerce PayPal but according to the description it only handles redirects to Paypal and not the Payments Pro gateway which allows site users to stay on the site and have ...
starsinmypockets's user avatar
1 vote
1 answer
3k views

How to set up Drupal Commerce to sell users the ability to create/post custom nodes (ex. classified ads)?

I am currently working on a classifieds D7 site, and I would like to sell users the ability to create/post a classified ad. With D6 + Ubercart this can be done using the UC Node Checkout module (http:/...
user512826's user avatar
3 votes
2 answers
620 views

CSV import ends up in unresolvable state

I'm having a problem with Feeds and Commerce Feeds in D7. I am using Feeds and Commerce Feeds to import products into my Drupal Commerce store. The CSV import was failing with a 403 error. Once ...
Martin Duys's user avatar
2 votes
4 answers
1k views

Is Drupal Commerce ready for the real world? [closed]

I'm trying to make a decision between Drupal 6 + Ubercart and Drupal7 + Drupal Commerce... I'd much rather develop in 7 and am excited about Drupal Commerce but, as it is relatively young, have some ...
starsinmypockets's user avatar
5 votes
3 answers
4k views

Retrieving customer information to use in drupal commerce payment module

I'm new to drupal development and am programming a payment module for the new drupal commerce module. It's will be a basic api module that allows the user to stay on the site and makes a separate ...
Aglystas's user avatar
  • 151
2 votes
1 answer
2k views

Importing products via Feeds csv import is generating error: "General error: 1366 Incorrect string value:"

I'm trying to import products using the import via csv functionality within feeds and am getting the following errors: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xB7 The ...' for ...
Martin Duys's user avatar
2 votes
2 answers
2k views

Taxonomy + Drupal Commerce binding

I'm trying to set up a testing site with DCommerce used to present product information, yet for the time being, there won't be any shopping cart functionality. I'm stuck at how to bind the products (...
no more drupal's user avatar
1 vote
1 answer
244 views

Ecommerce site with square area calculation in price

I am currently looking to make a shop selling carpets. For this I need to use a system that calculates a price per Square area. I have seen Posts where people are in the same position as I am but had ...
matt's user avatar
  • 11
1 vote
1 answer
980 views

Product catalog site (+ Store) - what strategy?

I'm creating a site in Drupal 7 with a 200-item product catalog. Currently the products have only informative pages for which I created a custom content type and taxonomy, but at some point, when the ...
no more drupal's user avatar
3 votes
1 answer
3k views

Use relationship for Views taxonomy term filter

I'm using the Commerce module, and I'm trying to create a view that displays the nodes with several exposed filters that should apply for the products. Now, the node has a term field that references ...
Olof Johansson's user avatar
2 votes
4 answers
2k views

How to delete all nodes referencing a given one?

I'm working on a catalog based on Drupal Commerce. I have a product display content type referencing product entities. I'm thinking about the ways to make life of a content manager easier. I made a ...
Dmitry Vyal's user avatar
3 votes
3 answers
4k views

Formatting currency in Drupal Commerce

I am using Views and Drupal Commerce in Drupal 7 to display a list catalogue of products (books). By default the price column is formatted "12.34 ZAR" which is a format that is only really used in an ...
Martin Duys's user avatar
2 votes
2 answers
1k views

How do I go about creating a paid subscription product with Drupal Commerce?

I am trying to set up a paid subscription to an email list using Drupal Commerce with payment via PayPal. One of the way I came up with is upon completion of an order, a user will be redirected to a ...
ahimsauzi's user avatar
0 votes
2 answers
3k views

Tax rate on shipping price

Drupal commerce shipping module. I want to set a tax rate on a shipping price so that the shipping price with its tax component is integrated in the subtotal of the line items. Guess it has to be done ...
JurgenR's user avatar
  • 2,163
16 votes
1 answer
2k views

View commerce product image and price fields

In Drupal 7 commerce I ran into a problem. I want to display the latest 3 items placed in the show_product content type, with attributes from the store. There are several entities in the store, ...
JurgenR's user avatar
  • 2,163
0 votes
1 answer
284 views

Link to a large image

In D7 Commerce module, I've created a product_display content type. With this content type, it is possible to create nodes from product entities that come from my store. In these nodes, the images are ...
JurgenR's user avatar
  • 2,163
2 votes
2 answers
2k views

Add an extra delivery address

I'm a Drupal novice and struggling to build a webshop with Drupal Commerce. It's really starting to work out, but I've still have some problems regarding overriding and restyling themes. Is it ...
JurgenR's user avatar
  • 2,163
2 votes
1 answer
387 views

How do I create a catalogue list that links through to my individual product nodes?

I have taken Ryan Szrama's advice from a question I asked on how to display products and have now got that working. I have also built a catalogue list of all my products using views. I now need to ...
Martin Duys's user avatar