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

learn more… | top users | synonyms (2)

-2
votes
0answers
17 views

Dynamic Price based on gold value and product weight [on hold]

I want to run a drupal commerce website that sell Gold Products. you know that the price of this kind of products depends on daily price of gold and product weight. Formula is weight of product * ...
0
votes
1answer
11 views

Same Image in Multiple product with feeds

I like to upload a lot of commerce product from a csv file and I have one image for multiple product. I am importing images from a subdirectory of files, the field is in the csv: ...
2
votes
2answers
31 views

What to choose Content Type or Drupal Commerce or Ubercart [on hold]

I'm working on a project where we've people managing product in site (including product creation, editing, viewing, reviewing, etc.). These are not going to be techie people so the product management ...
0
votes
3answers
20 views

Product category filter on the /products page

I've been looking for a while but I can not seem to find the correct way to tackle the following problem. On my products page, where all the products are, I have the standard drupal commerce ...
1
vote
1answer
37 views

Version of Drupal is no longer supported [Using the latest 7.42 release]. After automatic update

I use Drupal with Commerce Kickstarter profile installed. After automatic update from Installatron in my Direct Panel i get an error of unsupported Drupal Core version: There's no way to make update ...
1
vote
1answer
19 views

How to fetch manual flate rate token on replacement pattern

How to fetch manual flate rate token on replacement pattern I added Flate Rate cost manually on orders, but I don't find this token on REPLACEMENT PATTERNS. How to fetch this token for my invoice? ...
1
vote
0answers
33 views

Ordering product only once Drupal Commerce [on hold]

I'm just creating a commerce site in drupal. There are 25+ products in my site. Currently, a single user can able to check out the same product for multiple times. I want to restrict that. If a user ...
2
votes
1answer
20 views

How to use hook_form_alter to target a specific drupal commerce form?

I have a fairly basic question I think. I've written a module that uses hook_form_alter to alter the fields in a product form. But now I'd like to change the fields in the form for a different ...
3
votes
1answer
28 views

How to add product details to Drupal Commerce order confirmation email

Default email that is sent when user completes the checkout process contains order number and other details. I want to include additional product details and product type in this email. How can I do ...
2
votes
1answer
21 views

Passing Promo Code to Drupal Commerce via URL

I'm using Drupal 7 and Drupal Commerce Module. I'd like to be able to provide customized links with promo codes in them (promo codes would be a key/value pair in a format like ...
1
vote
1answer
21 views

wishlist and commerce bundle

i have commerce_bundle module installed, and we use it to implement (shop the look) concept, the problem is that we already use flags to implement wishlist for separate products and view the items ...
3
votes
3answers
42 views

How to disable all commerce modules from Commerce Kickstart using Drush?

I need to disable all commerce modules from the Commerce Kickstart distribution. I've done this before using the drupal backend admin/modules and have no problem at all but it took me around 4hs ...
4
votes
1answer
19 views

Commerce - Discount on three or more products in order

I am moving my site from Ubercart to Commerce and would like to replicate a discount that I have set up in Ubercart. I have an Ubercart coupon that automatically adjusts the price for a product if ...
1
vote
1answer
16 views

Synchronize commerce stock for product variations

I am selling tickets to a class at multiple price points (think student, adult, senior), and each class has limited seats. I have the product display working great using product reference with inline ...
1
vote
0answers
19 views

Search result is empty

When I do a search, I got an empty result even though the result shouldn't be null. I even get a null result if I don't filter anything. However fulltext search works, only facets corresponding to a ...
1
vote
2answers
17 views

Unsupported operand types in system.module line 2134 when trying to add product with drupal commerce

I'm trying to add a product to my commerce store, and anytime I navigate to the add a product page I get hit with the following error: Fatal error: Unsupported operand types in ...
1
vote
0answers
19 views

Programmatically insert commerce stock failed

I am using this code to insert the commerce stock but it fails some how: $cp = commerce_product_new($product_type); $cp->is_new = TRUE; $cp->revision_id = NULL; $cp->uid = 1; $cp->status ...
1
vote
1answer
30 views

How to programmatically create a add to cart form with quantity input?

I want to programmatically create an add to cart form with quantity input and default as 1. I tried to use the code: $form_id= commerce_cart_add_to_cart_form_id(array($product_id)); $product = ...
1
vote
1answer
23 views

Show products based on the location (country) of the visiting user

I need to display products based on the country of the visiting user, the countries have the same language (Spanish), but different systems of currency, I installed the module smart ip to identify the ...
0
votes
1answer
23 views

Custom line item fields in Create an Order page

I have successfully added the custom line item fields in the cart through Views and modified the new total using a hook, but how do I do the same thing in Create an Order page ...
2
votes
2answers
29 views

How to remove old revisions product?

How to remove old revisions product? I have a lot of old revisions of products. They must be removed. How?
0
votes
1answer
41 views

Remove VAT based on company field and country

How can I remove tax based on the company field and based on the country. For example: In the Netherlands: A customer from a company in The Netherlands - He must pay VAT A customer private in The ...
1
vote
1answer
30 views

How do I show product attribute fields in a view?

I'm having difficulty with what seems straight forward and have tried many commerce add-on modules. Can anyone advise on showing product attributes in an add-to-cart form? I have product types - ...
1
vote
0answers
22 views

Prevent User from checking out without email on order

I am using drupal commerce and sometimes a truly anonymous order without email comes through (phone is required so we always call when it happens, its super super rare). Is there a way to not allow ...
0
votes
1answer
14 views

Gmap won't show infobubbles when clicking markers (with View Module)

First some information: Drupal Version - 7.41 GMap Version - 7.x-2.10 Location Version - 7.x-3.7 I'm using the gmap module on a webshop i'm creating. I made a custom content type for this (gmap) ...
0
votes
1answer
42 views

How do I group items with same color

We use Drupal Commerce. Products in our catalogue have various colors and we have a filter for that. I don't want to see one product in ALL colors on the product list page, but only in one; say black. ...
0
votes
0answers
20 views

2Checkout payment gateway with recurring payment

I am using 2Checkout payment gateway on my site. I am also using Userpoints module. On my site, I have two types of subscriptions: One-Time Subscription: In this subscription, a user can pay for ...
2
votes
2answers
51 views

How do I install dependencies for commerce using the Composer manager module

I installed the composer manager module and enabled it. I have tried initializing it from using drush in the command line and failed using the command drush composer-manager-init. I am confused on ...
1
vote
1answer
15 views

How to Allow User to Choose to Pay by Invoice OR Credit Card with Drupal Commerce

does anyone know if its possible to have a Drupal Commerce checkout form that allows a user to choose whether they want to pay by credit card OR have us send them an invoice so they can pay by check? ...
0
votes
0answers
12 views

Commerce Coupon block entry to the review page during order process

I just install Commerce Coupon Module 7.x-2.0-rc2 and required dependencies (discount module, inline conditions). After that I create discount and applied a coupon to it, I also add right permissions ...
0
votes
0answers
18 views

How to replace default image(from product list) with (new)customized in add to card page [closed]

I have a module which adds text on the product image. I want to add customized image with text on the cart page. How can i do this?
0
votes
2answers
26 views

how to update order status in shopping cart to checkout

Here is my code for updating order status in shopping cart to Checkout: Checkout. After running no error but it does not show order status as Checkout: Checkout. function ...
-1
votes
0answers
18 views

How to remove product from commerce cart if shipping address belongs to a certain area/country?

We are currently working on a project wherein some products can only be shipped to a specific area/country. There is a custom field that tells users if a certain product has restrictions or not. We ...
0
votes
1answer
12 views

Feeds mapping to Entity ref by Entity ID not working

I’ve created a Feeds importer for a commerce product variation type. The product type is a commerce mp3 file. In it’s content type the mp3 refers to an album product. So in the Feeds mapping there is ...
0
votes
1answer
13 views

How to add an existing variation to a product

How to add an existing variation to a product? when i create a product the form forces me to create a new variation. But i want also to add an existing one to the same product. Thank you Best regards
1
vote
1answer
6 views

limiting shipping method if a specific product is selected

I am trying to limit a number of shipping methods (from 5 to 3) if a specific product is chosen and inserted into cart. What is the best method to do it (I am using drupal commerce)
0
votes
1answer
18 views

Adding fees at each payment

I am using Commerce Fees module, as I want to add 5% as fees at the time of purchase. I have added a fees type, and created a rule for this. My Problem is that I whenever I go to checkout page ...
0
votes
1answer
21 views

How to fetch customer shipping information from rule component?

I created a rule for that sends each product creator an email on the "Completing the checkout" event. The rule, component, and action all work, but I can't find the Customer Shipping Information ...
3
votes
2answers
29 views

How do you change rules settings on the fly?

I want to be able to modify a rule based on a setting choice made by a user, but I don't want to expose the form for setting the rule that you see at ...
3
votes
1answer
53 views

Is there a way to use File Field but have it’s directory path be different for different instances of content, instead of the same?

I’m selling mp3’s via Commerce File/File Field modules and i need these files to reside in different directories based on artist name and album name, etc. For example: ...
0
votes
1answer
32 views

How I can include Commerce SKUs in search result in drupal 7

How I can include Commerce SKUs in search result. I am using “Search API and Search API Solr” modules. Please help me out.
1
vote
1answer
182 views

Commerce Paypal WPP Sandbox: cURL error: SSL connect error [closed]

EDIT: Appears it is related to this issue: https://www.drupal.org/node/2616730#comment-10782646 . Still awaiting a fix though, as the patch in the issue doesn't fix it for me. Our staging site was ...
0
votes
1answer
16 views

Hook to track commerce product category view

I am creating a drupal commerce module for tracking users. I want to access a hook in drupal commerce on product category page. Went through most of the documentation but was not able to find the hook ...
0
votes
1answer
18 views

I have issue with commerce_order_load_multiple function

The way i am using this function is foreach ($mms as $mm) { $orders_of_user += commerce_order_load_multiple(array(), array('uid' => $mm->uid, 'status' => 'cart')); } But i am not ...
0
votes
1answer
19 views

Limit total quantity of products across user's entire order history

I am trying to limit a user's total quantity of products across their entire order/purchase history based on a field on that product. For example, if Can of Peanuts has a limit of 3 per user, then the ...
0
votes
1answer
19 views

customize shopping cart

I'm just looking for a module in drupal to make a shopping cart customizable. I mean that there will be no products, I just need that people put the amount of money they need to pay and just click ...
1
vote
1answer
27 views

How to to add a percent-based discount?

Now during order edit it is possible to apply only a fixed discount. How to to add a percent-based discount?
1
vote
1answer
22 views

How to render Drupal Commerce Checkout form on a custom cart page?

I'm using Drupal Commerce module and created a custom cart page with a custom .tpl file. Is there a way to programmatically render Checkout form on the .tpl that I created?
0
votes
1answer
25 views

Deduping Views by forcing Views to add a simple GROUP BY to a query

In D8, I need a way to "dedupe" a view with a relationship. This involves a "Course" content type, and a "Sessions" entity (actually, a Commerce Product) that points back to the Course. I've tried to ...
0
votes
1answer
24 views

Showing shipping costs in the cart page [duplicate]

Hi i'm using the Commerce Shipping Postal Code Weight module. It works fine but I just want to get shipping costs in the cart page.