Questions tagged [drupal-commerce]

Drupal Commerce is an e-commerce framework built on Drupal.

Drupal Commerce is an e-commerce framework built on Drupal. The project started with Drupal 7, and it encompasses a strict set of core modules and works with essential contributed modules (Views, Rules, Tokens, etc). There are also a number of Drupal Distributions that combine contributed modules to satisfy particular e-commerce needs (shipping products, selling digital downloads, selling digital access, donations, etc).

The project's website contains information on the project's goals and architecture and is the primary repository for developer and administrator documentation. However, downloads and issue tracking are still handled on drupal.org through the Drupal Commerce project page.

208 questions
0
votes
1 answer

How to programmatically create a Drupal Commerce product with price

I am creating a Drupal Commerce product in code using the following: $cp = commerce_product_new('product'); $cp->is_new = TRUE; $cp->revision_id = NULL; $cp->uid = 1; $cp->status = 1; $cp->created = $cp->changed = time(); $cp->sku =…
JAyenGreen
  • 1,385
  • 2
  • 12
  • 23
0
votes
0 answers

Drupal commerce add text to price

I'm trying to add a simple line off text next to the price in my Drupal Commerce solution. Seems quite simple but i'm lost where to start. Here is my problem summarised: Drupal commerce doesn't use templates but views for every page so i want to…
0
votes
0 answers

EntityMalformedException at delete product (Drupal commerce

I recently installed drupal commerce and am using the auction module, ever since i've been unable to delete a product. It always throws the following exception: EntityMalformedException: Missing bundle property on entity of type commerce_product. in…
SnK
  • 528
  • 1
  • 11
  • 32
0
votes
1 answer

Drupal commerce add product to pending order

I have already paid order in commerce (has status pending for example), but i need to add one more product to that order and pay for newly added product. Is there way to do that? If no, how can I solve this other way?
0
votes
1 answer

Display and calculate 3 different prices for every user in Ubercart

Is there any way to display 3 different prices for every user(not per role etc)? Every product should have 3 prices: default price, wholesale price and dealer price. So I should display all of them on product page and calculate 3 total prices for…
imilbaev
  • 864
  • 12
  • 19
0
votes
0 answers

credit card number of an unsupported card type issue in commerce_authnet module

We are using commerce_authnet module in drupal for processing credit card but it is showing following error for visa & mestro card processing: "You have entered a credit card number of an unsupported card type". Can anyone tell me how we can remove…
jyoti
  • 1
  • 4
0
votes
1 answer

change default sequence of billing information field in drupal commerce

I want to change the default sequence of billing information field .. we need that country field displayed after state field & require new field phone no, company etc. Can anyone tell me how can we add fields ??
jyoti
  • 1
  • 4
0
votes
1 answer

Drupal Commerce Product Attributes

I am trying, so far unsucessfully to add product attributes to my drupal commerce store. I have created a product display which displays my title, price, and general product, then a list of products that are each a different color My product display…
0
votes
1 answer

Products not appearing under content in admin in Drupal Commerce

I am importing products using Commerce Feeds. The products appear just fine on the front end and via Store > Products in the admin. However no products appear under Content in the admin area. I have tried clearing out the database, re-importing,…
Aaron Lozier
  • 290
  • 1
  • 4
  • 13
0
votes
2 answers

Entity reference use other fields in view modes

I have a student books products in drupal 7 which they have a companion teacher's book product. I want to make a view mode that presents the student book (product display) along with an entity reference to teacher's book which is also a book…
dotoree
  • 2,983
  • 1
  • 24
  • 29
0
votes
1 answer

Drupal 7 Drupal Commerce Adding fields to Add To Cart page

I need some suggestion to add some fields to the "Add to cart" page. Out of many products, one of the product requires some user information to be filled before proceeding to "Add to cart" process. I am selling a product of type "Exam". Before…
Asif Mulla
  • 1,652
  • 2
  • 22
  • 32
0
votes
3 answers

Drupal + Commerce - One SKU

For example I have one product with several atrributes(T-shirt with various colors and sizes). Can I assign one SKU for all colors? I have asked this question on official forum - but no luck, no answer. I have posted ticket at Commerce support -…
Spider84
  • 94
  • 1
  • 6
0
votes
3 answers

Drupal 7 Custom Submit Handler with Views and Commerce

Currently I have a products page using the Views and Drupal Commerce modules with a sort functionality of the product categories (exposed filter). The form with the dropdown list/select list has a GET method, so the category ID is appended to the…
0
votes
1 answer

Drupal Commerce - Paypal Payment

I'm looking for a explanation about how the Paypal Sandbox works. Let's say I have a real Paypal account through which I receive payments and I want to configure it on Drupal Commerce's Paypal module, but also I want to test the payment workflow…
Leo
  • 67
  • 2
  • 12
0
votes
1 answer

Update a field on drupal commerce

I have a product field that takes a number as an input(quantity) and w sometimes this quantity becomes empty so I want with the module Commerce Feeds to update this field from sth to empty .But it keeps not updating the field with nothing(empty). I…
kostis
  • 117
  • 3
  • 14
1 2 3
13
14