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

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

Drupal commerce change quantity textfield in cart view to selectbox

Is there a way to change the quantity widget in the Drupal Commerce cart view from a textfield to a selectbox? And then refresh the page when the selectbox is changed without making the user press the ...
0
votes
0answers
9 views

Error messages do not appear on pane, instead appears on top of the overall form

I just added a new checkout pane to checkout form. I am trying to swap its orginal pane validate callback with my custom validate callback as I want my error messages to appear on top of the pane, ...
2
votes
0answers
30 views

Generate an order from a csv

I'm using Drupal 7 with commerce. Is there a way to generate an order from a csv or similar? the idea is that users could upload a csv (sku and quantity for now) with the items they want and the ...
0
votes
0answers
4 views

Commerce - link with premade list of items in cart

I have around 1000 different kind of products and 10 are top sellers. Prices are calculated when 2 separate taxonomy fields are picked up (something like shipping). So users needs to pick start city ...
0
votes
0answers
17 views

Pay to flag a node with drupal commerce

Please help achieve the folowing: I have a content type " proposal " with a field " prépayment_amount ". I want the user who try to flag this node to pay the amount indicated in the field " ...
0
votes
0answers
8 views

In workflow how to rejected a product and display the rejected product to user

I am using workflow for publishing the product uploaded by user. I have two types of user authenticated user and moderator user, where authenticated user role is to upload a product and moderator user ...
0
votes
0answers
8 views

Refresh Image Style in Drupal Commerce on Add To Cart Attributes Refresh (D7)

I'm building a t-shirt website, and I'm looking into having the customer be able to choose certain shirt attributes such as hoodie/t-shirt, shirt color, etc. Using imagecache actions, I've looked ...
0
votes
1answer
34 views

commerce, how to handle products with time periods? [on hold]

This is for the latest Drupal7 commerce product. I am trying to setup a domain registrar store where customer can choose a time period to purchase a domain where the time period would be 1 year or 2 ...
0
votes
0answers
10 views

Rule for allowing purchases based on country

I'm running a commerce shop where we're gonna sell stuff we don't have worldwide rights to. By using the countries module I've ticked of which countries we can sell each product in by having a ...
0
votes
1answer
10 views

How (and Where) to store downloadable commerce files outside the file system..?

I’m building a Drupal Commerce site and am selling downloadable mp3’s. It was recommend that the downloadable commerce files should be kept outside the sites file directory. I’ve tried setting this ...
0
votes
1answer
12 views

In a drupal commerce, how to use the same picture for every size attribute

I have a dresses drupal commerce. I have 45 dresses in différents colors and size. My problem is that I have the same picture for every size. My product variation is composed of a ...
0
votes
0answers
5 views

How to display validation errors to checkout panes

I am trying to validate checkout forms. I did manage to validate checkout form fields but could not display the validation errors to its specific checkout panes. Unluckily the validation for checkout ...
0
votes
0answers
3 views

How to Add a field that asks for more details under product display just like add to cart/add to wishlist?

I have an e-commerce site , i want to add a link or a button under each product display to ask about price with view integration, if i click on it i will be redirected to a form to add my ...
1
vote
1answer
21 views

Reset the cart if same product is added

I am using Drupal Commerce in that user can add a product to cart. If user add same product for five times, cart contains same product for five times. What I need is when user adds same product again ...
0
votes
0answers
34 views

Drupal Commerce: How to handle billions of product combinations?

I was just reading the last chapter of Using Drupal which treats Drupal Commerce and there it says that every product has to have a unique ID but these products can be grouped by product displays. ...
0
votes
0answers
13 views

Why are my orders getting stuck in Checkout:Payment? [on hold]

about 1:5 orders in my Drupal Commerce website are getting stuck in the Checkout: Payment phase. The payment goes through in PayPal but the order gets hung in Drupal and so no email goes out to ...
0
votes
0answers
19 views

SQL within a computed field

I've created a computed field with some php code in it. Now I want to use some sql, so I can run this query/php command inside computed field : $number =db_query('SELECT COUNT(distinct ...
1
vote
0answers
11 views

Commerce Checkout Alter Email Field Value

When anonymous user is on checkout page using DRUPAL commerce, I want to autofil email field in Account Information section on checkout page. I tried using hook_form_alter to give it a default value, ...
0
votes
0answers
17 views

Automated Commerce Sales reports

I'm building a music shop, and I want to submit sales report to chart companies. Can anyone point me in the right direction on how to setup a custom automated csv- or xls-report, that the site sends ...
0
votes
0answers
12 views

500 Internal Server Error on Commerce Stock Report [duplicate]

When I access admin/commerce/reports/stock i get a "500 Internal Server Error" message. All other reports work and stock settings are working as well. What can I do to debug? Cheers,
0
votes
0answers
12 views

how to create rule for fixed amount coupon code for multilingual site

I have a multilingual site with USA as main site and Poland as another. I have fixed amount coupon with discount of -20 on order like 'pl20off' in poland site.when i make an order applying the above ...
0
votes
0answers
8 views

Coupon code shows negative balance on cancelled orders [on hold]

When coupon code for $5.00 off an order is applied to order and then the order is cancelled, the subtotal and shipping reset to $0.00 but the coupon still shows up resulting in the order total being ...
0
votes
0answers
14 views

Problems importing Conditions of a rule component

I have generated a feature which exports my tax rate rule component for Drupal Commerce. However, it is not importing the Conditions of the rule for the component of the tax rate. It creates the tax ...
0
votes
0answers
15 views

Manually giving discounts in Drupal Commerce

My shop is running on Drupal 7 + Drupal Commerce. For discounts i use commerce_discount, invoicing is done by commerce_billy. There are cases in which i want to give a customer who has completed ...
0
votes
0answers
17 views

Can't change payment option on checkout

On the checkout process, I have two payment option. When I select the other payment method, the default is still showing. And If I proceed the checkout it goes directly to the completion page without ...
0
votes
0answers
10 views

Problem setting custom theme on Drupal Commerce checkout pages

I implement hook_custom_theme() to use a couple different themes on my site, for example: A store theme for commerce-related nodes, product displays, cart, and checkout. A blog theme for blog posts. ...
0
votes
1answer
40 views

How to optionally redirect to a payment page after adding a node?

I want to add an option to the node add form so that the user who creates the node can choose if the node will be " promoted " or not. If the promoted option is selected, then I want to redirect the ...
0
votes
0answers
42 views

Multiple attribute selection sets

Can we implement multiple attribute selection sets such as color, size and quantity multiple times for a single product. Suppose i have a product display that renders 4 products with colors red and ...
0
votes
0answers
10 views

Add multiple cart in drupal 7

I have used drupal 7.38.In my site I have used two type of functionality product and product services.So I wont to add different different add to cart functionality for product and product service. I ...
2
votes
2answers
41 views

How to implement bulk pricing/discounts with Drupal Commerce?

I've been trying to find a way using Drupal Commerce to be able to give discounts on individual item prices based on quantity. For instance: 1-9 units of product A: $1.99 per unit 10-19 units of ...
1
vote
2answers
33 views

Commerce Stripe and 2.0 version of library with namespace?

I am working on an integration with Commerce Stripe and the new Connect functionality. This however requires the 2.0 version of the library which can be found here ...
0
votes
0answers
17 views

Is there a way to change an order's status when the user hits the back or forward buttons on the browser?

I am working on the checkout process of my commerce site and we implemented an extra part of the process that forces people from a certain state to choose a county. We did this with a rule that fires ...
0
votes
0answers
8 views

Card on File Recurring - Apply a filter to fetched recurring orders

With the cardonfile module comes a submodule 'cardonfile_recurring' that provides a rule to charging pending recurring orders. What I'm trying to achieve: I want to filter the list of recurring ...
0
votes
1answer
13 views

add a class to page depending on order total (Drupal Commerce)?

I want to add a class to a page when the order total reaches a certain level.
2
votes
1answer
44 views

Why is Drupal with redis slower than mariadb? [on hold]

I've got a big Drupal site running Commerce, with cloudflare caching static resources, maybe 20K users or more per day. MariaDB caches about 500mb worth of queries, we're running freeBSD with php56 ...
0
votes
1answer
17 views

What's the difference between 'commerce-line-item-unchanged' and 'commerce-line-item'

In drupal commerce rules there are selectors like 'commerce-line-item' and 'commerce-line-item-unchanged' – what is the differnece between them? When should i use the one or the other?
1
vote
0answers
10 views

How to clear values of a custom field when pushing back button in commerce checkout?

In my shop there is a custom pane where the customer can check a checkbox in order to choose "private invoice" (if he checks, the invoice amount will include VAT but will not report it; instead a ...
0
votes
2answers
74 views

How do I use Drupal 7 Commerce Feeds to Import Stock for commerce_stock

I have the commerce_stock module enabled for my products in Drupal Commerce. But I cannot import data to the stock fields. When I set up the correct product processor, I can't see the Stock field ...
0
votes
0answers
15 views

How to separate Custom Line Items from the Add to Cart form in Drupal Commerce

First of all, I am familiar with the module Commerce Custom Product, allowing one to add a custom line item field to a product. This works great for a single product - allowing you to do things with ...
0
votes
1answer
10 views

make view modes for commerce enabled by default when exporting with features

I am trying to make the Drupal Commerce view modes administrator and checkout_pane enabled by default when I export with features. I have strongarm dependency required; but I do not see the view mode ...
0
votes
0answers
21 views

Drupal Commerce: How to select the product Variation by it's own thumbnail?

Want to select the product variation by it's own thumbnail instead it's color. The module Fancy Attribute only shows separate images or colors, but not the thumb from the product variation it self. ...
1
vote
1answer
19 views

How to pay with site credit in Commerce?

I would like to allow users to pay for products with site credit. A field keeps track of how much credit a user has with us, and if they have enough of it to pay for an order they should have that ...
0
votes
0answers
8 views

Add to cart only refreshes page

Running Drupal 7 with Commerce. All works when logged in as admin. But when adding product to cart as anonymous it just refreshes page and doesn't add product. It does allow to access Cart page via ...
0
votes
1answer
30 views

footer block through custom module and fetch node image field in Drupal 7

I want to create footer block through custom module and want to add five images through node.Five images should change one by one after one hour. Can anybody tell me how to do this ? <?php ...
-2
votes
1answer
31 views

Multisite Creation with same code base multiple content db [closed]

I am trying to create multisite in Drupal same code base with multiple content databases. For that I'm trying to use multisite wizard plugin After completing above steps I am selecting site 1 as ...
0
votes
1answer
27 views

Configuring a basic multisite development environment in Linux

While installing Multisite devlopment i followed below instructions https://www.drupal.org/node/823990#comment-10184088 When i trying to call http://testsite.localhost/install.php throwing error ...
1
vote
1answer
21 views

Where does Commerce Stripe store the plans that are created on my stripe account?

I have a stripe account all setup and I have created plans. In Drupal Commerce I have created products, but I realised it should have pulled the "plans" down from stripe. I have also tried the stripe ...
1
vote
1answer
13 views

schema_fields_sql empty on entity_get_info

I'm trying to debug why Drupal Commerce License Billing isn't working on existing install but works fine on fresh install. The difference I can see between the two when adding a new billing type is ...
0
votes
1answer
5 views

Showing only certain product attributed in a view rather than them all in Commerce

I am using Drupal Product Pricing, Product Options and Product attributed modules. I have created a number of different attributes for products but my issue is that when including them in a view it ...
0
votes
0answers
23 views

How do I delete an upload from an order?

I have a situation where the customer uploads a file with their order, using a file field attached to the order. The only way currently on our site to delete the artwork is to delete the order or ...