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

learn more… | top users | synonyms (1)

1
vote
0answers
6 views

Exist a product discount in Drupal Commerce

I'm using Drupal commerce kickstart. I installed Commerce sale price to manage the discounts for specific products. This is a great module, the only bad thing is that this module actually create ...
0
votes
0answers
12 views

View Contextual Filter doesn't display created taxonomy term

I want to display a list of promoted products in a particular View, different of the default Product Catalog of Commerce Kickstart 2. I created a taxonomy term "Highlights", to correspond to these ...
0
votes
0answers
14 views

Commerce currency alter

I have a multilingual website and I want to alter the currency format for the English language. function MYMODULE_commerce_currency_info_alter(&$currencies, $langcode){ dpm($langcode); ...
0
votes
1answer
11 views

Importing multiple images from Dropbox with Feeds

As part of a product import, I am trying to import images from a link contained in a column of an Excel file. Each link points to a Dropbox folder with 2 image sub-folders (named PRINT and WEB). Is ...
1
vote
1answer
21 views

How to know the “name” of an input field of a commerce checkout form?

I need to find the name of an input field of a commerce checkout form to use in: form_set_error('NAME-HERE', t('Field cannot be left blank')); The html of the field is: <div ...
0
votes
0answers
16 views

How to get an editable cart at checkout with Drupal Commerce?

I always used Commerce Kickstart as a starting point for making e-commerce stores, but this time I opted to go with pure drupal + commerce modules. One problem I have is that the cart view I get when ...
0
votes
0answers
14 views

Drupal Commerce Shipping

I have a really complex set of shipping rules I have three product types Product type A with a rate of £1 per product Product type B with a rate of £2 per product Product type C with a rate of £3 ...
0
votes
1answer
17 views

Sub Menu's are not coming under main menu

I am using this code to fetch menu's in drupal. I have given Home as parent menu and other are sub menu's like submenu1, submenu2 etc. But in front end they are not coming under Home menu. Only Home ...
0
votes
1answer
17 views

Get number of items in cart of current anonymous user

I need to get the number of items in cart of current anonymous customer on the site. I am using Drupal 7 and Drupal Commerce. Thanks in advance!
0
votes
0answers
7 views

Kickstart fatal error, in Manage orders menu: “__clone method called on non-object in commerce_discount.module on line 33”

when i go in Menu Orders menu in admin theme, drupal kickstart say me this fatal error: Fatal error: __clone method called on non-object in ...
0
votes
0answers
28 views

Commerce : pay deposit at checkout and full settlement later

In a travel booking website, how can I configure checkout settings so that customers pay only a n% deposit of the order total at checkout ? If the order is created : less than 30 days before the ...
-3
votes
0answers
17 views

How to display the total price in the skin? [on hold]

How to display the total price in the skin programmatically?
0
votes
0answers
7 views

How to synchronize orders and products with OpenERP?

I am working on a Commerce website on Drupal 7 and I want to synchronize all the products and orders placed by users, with OpenERP to manage them. I have used some modules but they provide product ...
1
vote
0answers
11 views

Commerce: add Verisign logos on checkout page

In Drupal Commerce, how can I add a Verisign or other security seal logos to the credit card checkout area? Where can I find the corresponding template file?
-1
votes
1answer
18 views

Time limit items in your cart

Product in your cart active only 20 minutes, then is removed how to do?
0
votes
0answers
10 views

Field settings are not being exported with Features

I have a product content type that has a product reference field. Under the Product types that can be referenced section there is a list of product types that can be referenced. I have selected one of ...
0
votes
2answers
20 views

What is the best way to run HTTPS for drupal commerce

I have seen the module Secure Pages, and also found Custom SSL redirect and read all the issues related to this and Commerce, but most seem out dated. Can anyone say as of this point what is the best ...
0
votes
1answer
62 views

Required field set via hook_form_alter not fully working in Commerce Checkout form

I created a hook function to make a field required and visible. The targeted form is the Checkout Billing Form at: example.com/en/checkout/35 I have to mention that the site is build with the ...
0
votes
0answers
10 views

Commerce Product attributes - default choice according to viewing language

I am trying to find out how to select a default choice on one of the product attributes. As the product are files that are available in different languages, I'd like to set a default choice. There is ...
0
votes
2answers
36 views

Drupal Commerce : line item should change the price

I have this problem in drupal commerce: a line item should change the price of my product, that is based on customizing the users (ex. product base $10 with customization $12, customization is line ...
2
votes
1answer
51 views

How to get user id of order from order entity metadata wrapper

I am implementing hook_commerce_cart_line_item_refresh(). It will be receiving line item and entity metadata wrapper for the commerce order. How can I get user id of order from its metadata wrapper ...
1
vote
1answer
66 views

hook_form_alter function to make field visible and required?

I'm trying to build a hook_form_alter function to make field visible and required. The form is the checkout form at http://example.com/en/checkout/33 The targeted field are Customer Profile Billing ...
0
votes
1answer
13 views

Commerce order either stays as pending or grants double to customer

I have 2 rules to handle orders of credits on my site. The first rule changes the order status to Completed if the order is no longer a cart. The second rule grants credits to the order owner using ...
0
votes
1answer
16 views

How to limit the products from the compare in drupal?

I am working with the Drupal Commerce and the Commerce product comparison module. Here I need to limit the products. How do I limit the products from the comparison?
3
votes
1answer
19 views

Is there any hook to multiple total price only in payment method

Let think you want show 10000 USD in your site with 10 K$, I did it with hook_commerce_currency_info_alter and work correctly, ( I enter price in scale Thoundans, this mean when my product price is ...
0
votes
1answer
13 views

“Shopping cart form” view breaks after adding a field

I'm creating a website using the Drupal Commerce module. The module implements a view for the customer's cart at "cart/my", listing all the items the customer added to her/his cart. The view used to ...
0
votes
1answer
15 views

Custom warning on when viewing cart (anonymous users)

I am wondering with what mechanisms it would be possible to add a warning message to anonymous users viewing their cart saying: "Please log in with any of the listed services in order to proceed to ...
2
votes
1answer
17 views

Commerce Quantity Volume Discount Rules

I'm trying to make a drupal commerce pricing rule so that if the customer has 14 items in their cart they'll get 10% off their order. Here's what I tried: { "rules_overall_discount" : { "LABEL" : ...
3
votes
1answer
56 views

delete a product that added to an order

I want to delete an order,but when I try to delete it notify me "This product is referenced by a line item on Order 40 and therefore cannot be deleted. Disable it instead" but I want delete it ...
2
votes
1answer
98 views

How to force account creation before commerce checkout is complete?

I currently have a one-page checkout that works great for anonymous users. After payment is complete, an account is created with the 'Create a new account for an anonymous order' checkout rule. Now I ...
0
votes
0answers
8 views

Drupal with MongoDB integration CRUD [duplicate]

I am working on Drupal website, and I heard about the MongoDB module. I installed and enabled it, but I don't understand how it works. . http://spf13.com/post/getting-started-with-drupal-and-mongodb. ...
0
votes
0answers
26 views

Form wont submit using AJAX when logged out

I am trying to submit the Add To Cart form using AJAX, I have altered the form like so: function ajaxcart_form_alter(&$form, &$form_state, $form_id) { if(strstr($form_id, ...
0
votes
0answers
13 views

Commerce Store import using feeds

Can I import Commerce Stores using Feeds module ? Products are mapped with Commerce Stores (cmp_store). I am using commerce 7.x-1.9. I can see product import and customer profiles import but not ...
0
votes
0answers
12 views

Validate commerce checkout for mandatory products [on hold]

I have an event with optional accommodation i want to ensure registration are included with accommodation purchase. I have already seen webform commerce but I have alot accommodation sites which ...
0
votes
0answers
40 views

Unable to add field on Drupal 7 View

I am copying this question from http://stackoverflow.com/questions/25900553/unable-to-add-field-on-drupal-7-view as I can't see a move option sorry. This has been driving me crazy, so let me explain ...
0
votes
0answers
26 views

Auto Populate a field with the contents of Commerce order?

Once the user goes through checkout and payment is completed they can get redirected to the completed order page with the contents of there order. On that page I want to create a Qr-code that contains ...
0
votes
0answers
12 views

Add a print button on “review order” page of commerce

Okay I'd like to know if there's a way to edit the "Order Review" page of a Commerce order and add a print button to it?
0
votes
1answer
10 views

Can customizable products work out price based on the number of uploaded files? Drupal Commerce

I would like to develop an online photo printing service like shutterfly.com and snapfish.com. I would like to find out if it's possible using customizable products to count each uploaded file/photo ...
-1
votes
0answers
10 views

Drupal 7 and Adobe Edge Animate

I have an ecommerce store im in the process of building using drupal commerce. One product type needs to be customizable. It will be a shirt that can be customized with what i think is the best ...
0
votes
1answer
14 views

Online payemnts with commerce: what charges should I expect

I am currently trying to setup a website with a simple online shop. Now for the online payments I'm struggling a bit to gather the information of all the things I'd like to know before making a ...
0
votes
0answers
12 views

Tax on specific product types in Commerce

I don't see any option with either the commerce VAT module or the Commerce tax module to specify tax dependent on product types. Some of our products do not have VAT on them. Also how the modules ...
0
votes
0answers
14 views

Drupal Commerce Custom module to add Image with order

General information for the website: Printing E-commerce website built in Commerce Description of requirements/features: For every product on the website it is required that an image(in some cases 2) ...
0
votes
0answers
11 views

commerce kickstart display catalog pagination only below de products

I have configured the products catalog view to display a defined number of products per page and show a pager menu to the user. This is simple to do in Pager section of my view (the view is the same ...
0
votes
0answers
18 views

Uploading file with order in Commerce

I am having some issues finding a suitable method to allow customers on a printing website upload files with their orders. I have created a file upload field on the product line item but even when ...
-1
votes
0answers
13 views

How to change the token replacement patterns

I would like to change the Token replacement patterns. I am using Commerce Auto SKU module, and when i have 10" (inches) entered in a title (source) field, it replaces it as 10quot in the token. How ...
0
votes
1answer
14 views

Commerce: retrieve coupon code used in order

Using the Commerce Coupon module, how can I retrieve any coupon codes used in a particular order, given the order id? It seems that the coupons used are not actually stored in the database (as far as ...
0
votes
0answers
7 views

How to accept a commerce payment from within rules?

I have a view with recent orders with a VBO field on it. Users on my website pay by bank transfer, which means that I complete the order as soon as I see the transfer on my bank statement. I want to ...
0
votes
1answer
51 views

rule to remove items from Shopping cart

I am having difficulty creating a rule to completely remove items from a Shopping cart. I have tried Before adding a product to the cart { "rules_prevent_salon_professional_xover" : { "LABEL" : ...
1
vote
1answer
30 views

Views display product attributes with prices

How do I create something like this with Views ? This is my version in the making: this is my view set-up:
1
vote
1answer
25 views

add value to shipping service

I am using flat rate shipping service and I want to add a value to shipping service price, I know drupal commerce has a rule for this job, Add an amount to the unit price , but when I want to ...