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

learn more… | top users | synonyms (1)

0
votes
1answer
7 views

Show a discount field in the Product display page

I want to apply some discounts on products. I know the Commerce discount module and its UI. However,it would be much simpler for the site admin to have a second field on the product display for the ...
0
votes
0answers
12 views

Render a drupal_get_form() don't execute ajax select callback

I want to re-use the commerce_customer_profile form in a particular context. To do this I use this : function MY_MODULE_form($form, &$form_state, $profile_type) { $form = array(); global ...
0
votes
0answers
7 views

Drupal Commerce Multiple Saves

I'm having a problem with drupal commerce and saving new products. When I click the save button twice (or as often as you can before the page reloads), the product gets saved multiple times. Is there ...
0
votes
0answers
6 views

Product Display - Can I redirect the page when selecting a product from the drop down on a product reference field w/ unlimited values?

When creating a product display, you can select an unlimited number of values on the product reference field. This adds the drop down menu that will load the different products when selecting them via ...
0
votes
0answers
18 views

Anonymous user not redirected to log in page which was previously working

When any anonymous user clicks on Checkout button then he/she will be redirected to log in page. Previously this functionality was working very fine. But then I was researching on it, I unchecked the ...
0
votes
0answers
17 views

Stomp installation in Drupal [on hold]

I am trying to install the Stomp module in drupal , i followed the following steps: downloaded the stomp module 7.x-1.0 unzip and paste it inside the C:\wamp\www\Orane_Business\sites\all\modules as ...
0
votes
1answer
13 views

Hide Price by Role for a Content Type in Drupal 7

I am trying to achieve the following: 1> Hide Price Field for a Role only on a specific content type. I am using Drupal Commerce. Things I tried: 1> Field Permissions for the commerce_price field on ...
0
votes
0answers
9 views

Token use in message_notify

I am unable to get tokens to display in a message I have created. I am looking to resend an order confirmation email. I am using message_notify. Standard tokens like site:name work fine but when I ...
-2
votes
1answer
12 views

show cart block in pop up

I installed drupal commerce module,i got show cart block in header ,If I click on it takes to cart page.I need a pop up of cart page on clicking show cart.
0
votes
2answers
12 views

How can I hide one commerce specific shipping option without deleting?

I am trying to hide a couple of Commerce shipping options we no longer use. I can't figure out the proper syntax for addressing the individual form radio options. Here is what I have so far: ...
0
votes
0answers
3 views

Commerce Paypal- Update my Drupal site with the address info from PayPal

I do not collect the customer's billing address at my Commerce site when a customer pays with PayPal, since most customers already have PayPal accounts and I don't want to bother them to put the ...
0
votes
2answers
20 views

Set different pricing attributes for each product

here is the thing: On my drupal commerce site I added a term reference field 'sizes' to line item, and make it to be an attribute on 'add to cart' form. Also I added a field collection in to my ...
0
votes
0answers
4 views

VAT price will be 25% of product 'subtotal price and shipping price' instead of only 'subtotal price'

I am working on a Drupal commerce site. Everything is working fine as per my requirement. But I have to modify some setting for checkout preview page (price detail table). Currently into the product ...
0
votes
0answers
12 views

wrap drupal commerce kickstart theme with slideshow

In my website, I want to wrap the yellow area with slideshow, in drupal commerce kickstart slideshow are added in the content region, after set the region to 24 columns slide show doesn't fill the ...
0
votes
1answer
28 views

Problem with images on a slideshow of product displays (Views Slide, Flexslider)

Kind of a strange problem with trying to make a slide show of my product displays. I am creating a slideshow from content of type product display (ordered by newest first). The issue I have is that ...
0
votes
0answers
17 views

changing menu theme of drupal commerce kickstart

In my drupal commerce kickstart theme, I would like to put menu bar in the right side of logo. My website design is logo and menu are the same location, logo is in the left side and menu bar is in the ...
0
votes
1answer
10 views

How to disallow commerce checkout if no payment method is available?

With Drupal Commerce and Commerce Payment, when no payment method is available on the checkout, it displays this message: Payment is not required to complete your order. and the customer is still able ...
0
votes
0answers
7 views

Is it possible to copy purchase orders from site to an updated version of the same site?

We have this site with Drupal Commerce and Commerce Registration Integration. The only "Product" is a single registration. 4 months ago the site was copied to development and that copy was completely ...
0
votes
0answers
16 views

Creating a Block view for Other nearby stores

I want to create a block to display all nearby commerce stores . I have setup a view of type commerce store . Inside the View I have displayed fields. In contextual filter "WHEN THE FILTER VALUE ...
2
votes
1answer
57 views

Add fix amount to all orders as packaging price

I want to add a fix amount to all orders as packaging price in commerce,I think first I need custom line item and named it as packaging price, then add that to orders with rules or in custom module, ...
0
votes
0answers
10 views

Drupal Commerce - redirect loop on checkout

I'm trying to resolve a checkout redirecting issue. I've inherited a project and the site is using a multi-page checkout process. After entering all information and clicking the continue button, it ...
0
votes
1answer
6 views

Rules - Check if coupon has been added to an order

I need to check in Rules if a coupon has been added to an order as a condition. I have tried using the ENTITY HAS FIELD option in Rules and then a data selector of Commerce-order and to then look ...
0
votes
0answers
7 views

User to add/remove products to product bundle

I want to create a product bundle of say 10 products, but with the ability for the user to add or remove further items to the bundle. Essentially I have a bundle of products I offer at a discount, and ...
0
votes
0answers
15 views

How to show confirmation message in jQuery Dialog after adding a product into cart using AJAX

I am trying to show a confirmation message in jQuery Dialog after adding a product into cart using AJAX. I have tried using jQuery to achieve this. But it reloads the page(Although it adds the ...
0
votes
0answers
4 views

Product keys / Voucher code assignment after a product has been purchased

I'm using drupal commerce and kind of stuck in this situation. I want an auto generated(not problem if manual) assignment of product keys / voucher code after a product has been purchased. I want ...
0
votes
0answers
6 views

Druapl Commerce only one discount per product line

I'm using drupal commerce and I would like to have more than one discount for a product in a line, but only one must be applied (per line). For example, I could have a discount of 10% for all ...
1
vote
1answer
39 views

Change currency code to symbol

I'm translating the Drupal Commerce site into Japanese. I want to change the currency code JPY to symbol "円". But keeping rest of the symbols (¥) as it is: I referred this question and also made ...
0
votes
1answer
18 views

Get product URL or URL alias using product ID

I'm using Drupal Commerce and stock in this problem. I'm creating a custom module that will display a product title and some info. I want that product to be link to it's node page, and product ...
0
votes
0answers
8 views

In Drupal Commerce, how can I decrease stock of product B when buying product A with rules?

I'm having some issues writing some rules for my site. Let's say I have two products. B and C, as well as a combined product called A. Buying product A should decrease the stock of B and C by 1, but ...
0
votes
0answers
6 views

Use order number instead of order id in Drupal Commerce checkout URLs

I'm trying to make the order_number be a randomly generated alphanumeric string and use it as the only customer facing unique ID that the customer ever sees relating to their order. However, the ...
0
votes
0answers
6 views

Commerce: Disallowing products of different types in cart

I want to disallow existence of different product types in the cart. So I thought to create two rules: One to remove a product from cart if there are already products of other product types in it ...
0
votes
0answers
17 views

Save Inline entity form-Multiple values for product reference field programmatically

I have product reference field with inline entity form(multiple values) widget in one of my node type. I need to save commerce product via inline entity form to the node programmatically. I tried to ...
0
votes
1answer
25 views

Translate “Order total” in drupal commerce

I have translated my site into Japanese using all the required modules and po files. But now I'm not able to translate the text "Order total" which appears in Checkout process. I tried applying ...
0
votes
0answers
20 views

Price per role with Drupal Commerce

I'm new with drupal commerce module (before I used Ubercart). I was wondering if there is a way to have different price list per user's role. It could be made with price rules, but if I have over ...
0
votes
2answers
17 views

Hide a field based on checkbox

I want to hide the price for specific products in a product display. I have added a checkbox to the product display type and when it is checked I want to hide the price. I have figured out that I can ...
0
votes
0answers
7 views

Drupal Commerce dynamic shipping/payment checkout pane

I am building a shop with Drupal Commerce with multiple shipping and payment options configured with Rules. I have both on a single checkout pane and want to update each other when user makes a choice ...
0
votes
0answers
9 views

How to translate commerce-order:status in Drupal Commerce?

I created Rules for receiving e-mail when you change the status of the order. E-mail send but not translated. I created a rule in Action Send Email. In the present rule in the message I created a PHP ...
0
votes
0answers
29 views

Change default user relationship on Drupal Commerce customer profile

I need to change the relationship of Drupal commerce module "Customer". I wish I no longer use the relationship user ID, but the id of another custom entity. We find the example of using this ...
0
votes
1answer
6 views

why does commerce pricing rule increase price before decreasing price?

I created this simple rule to give authenticated users 50% discount. The individual line items are not being changed as I would expect, only the order total. And before the order total is discounted ...
0
votes
0answers
12 views

Commerce order to google sheet

I would like to send commerce order to google spreadsheet like its working for Webform module. I have several websites with similar or same products and would be great to track all orders in one ...
1
vote
0answers
24 views

“Downgrading” module to dev branch without drush

Due to some 'interesting' hosting choices by my predecessor, I'm stuck managing a dedicated server without SSH access -- FTP only. It's rough, in a lot of ways. I have a highly customized Commerce ...
0
votes
0answers
8 views

Is there a Commerce Event Ticket alternative?

I would like to offer clients, to buy certificates (tickets) to claim against certain services. It seems like the module I've found Commerce Event Ticket(link) would be doing exactly what I need only ...
0
votes
1answer
11 views

Commerce line item views and html mail

I have a view (commerce line item) with HTML (or unformated) list with several fields. On each field i unchecked "place a colon after the label" but it does not obey that rule. So i added custom CSS ...
0
votes
0answers
7 views

Dynamic product creation in drupal commerce

Say you want to make a product 'blend'. Keeping it simple, say that there are 3 products your store sells. product 1 contains only X and costs $7.00 per Kg. Product 2 contains 40% X, 60% Y, costs ...
0
votes
0answers
20 views

Extracting first few letters from tokens

I am trying to generate Product SKU through Auto SKU which uses tokens, but with tokens I get full names from fields such as store city, store name, product name, serial field. ...
0
votes
1answer
11 views

Drupal 7 Commerce Stock Decrease stock when reverting cancel the order

I have used drupal commerce module. I have rules to increase stock when the order process is cancelled and decrease the stock after completed the order process. When i cancelled the order status, ...
0
votes
0answers
8 views

Product custom field to inject to product display using Node Checkout commerce

I am using Node Checkout commerce module.This module creates programmatically a product(Pay to publish).The issue is,that when I add a custom field using the UI to the Pay to publish product,this is ...
0
votes
1answer
9 views

Drupal commerce price: allow null value

I have an e-commerce site with drupal commerce kickstart and I added an additional field called "list price" and setted it as Price field (the same type of the default price). Now I'm trying to ...
0
votes
0answers
14 views

Calculate commerce product sales price based on order quantity

The commerce price table module is meant for calculating the sales price on commerce products based on order quantities. But out of the box the contrib module commerce_price_table prices do not get ...
0
votes
0answers
9 views

Passing product info to PayPal using Comment1 and Comment2

We need to pass information to PayPal using their Comment1 and Comment2 fields for accounting purposes. We have several units using the cart for different fees and our finance team needs to be able ...