Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [drupal-commerce]

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

2
votes
1answer
977 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 ...
0
votes
1answer
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 ...
3
votes
1answer
719 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-...
6
votes
3answers
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"...
0
votes
2answers
872 views

payment processing with stripe

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 ...
1
vote
1answer
576 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 ...
2
votes
1answer
289 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 ...
0
votes
2answers
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 ...
1
vote
0answers
91 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?
2
votes
3answers
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 ...
1
vote
1answer
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 ...
0
votes
1answer
864 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 ...
3
votes
1answer
931 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 ...
0
votes
2answers
632 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 ...
5
votes
3answers
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 ...
2
votes
2answers
693 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-...
1
vote
1answer
695 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?
1
vote
1answer
555 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?
0
votes
1answer
712 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, ...
4
votes
3answers
866 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 ...
2
votes
1answer
253 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 ...
0
votes
2answers
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 ...
14
votes
3answers
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) {...
8
votes
1answer
2k 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 ...
3
votes
4answers
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 ...
8
votes
1answer
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 ...
1
vote
1answer
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?
2
votes
1answer
741 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 ...
3
votes
2answers
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?
2
votes
1answer
331 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 ...
0
votes
1answer
312 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 ...
0
votes
1answer
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 ...
3
votes
1answer
677 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 ...
1
vote
1answer
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:/...
3
votes
2answers
612 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 ...
2
votes
4answers
1k views

Is Drupal Commerce ready for the real world?

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 ...
5
votes
3answers
3k 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 ...
2
votes
1answer
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 ...
2
votes
2answers
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 (...
1
vote
1answer
240 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 ...
1
vote
1answer
974 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 ...
3
votes
1answer
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 ...
2
votes
3answers
1k 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 ...
3
votes
2answers
3k 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 ...
2
votes
2answers
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 ...
0
votes
2answers
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 ...
15
votes
1answer
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, ...
0
votes
1answer
276 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 ...
2
votes
1answer
970 views

Invoicing using Ubercart and Storm

I'm trying to connect Ubercart with Storm's invoicing module. When a new Storm invoice is created and the client is emailed a link to a PDF of it, they should also receive a link to an Ubercart ...
2
votes
2answers
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 ...