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

learn more… | top users | synonyms (2)

0
votes
0answers
11 views

Add donation panel in checkout page without cart

in my website is possible to buy one item at time, so I have a rule that empty the cart when a new item is added to cart (and another to skip the cart page, because i don't need a cart). This works ...
1
vote
1answer
7 views

Handle node save concurrency

Introduction I need to prevent node update when two or more users try to update node on almost same instance (simultaneously) and instead put the requests in a queue and process one by one. A live ...
0
votes
0answers
13 views

Commerce Stripe transaction failing

I am using Commerce Stripe as the payment gateway on my website. Everything is configured properly, and but still while checkout I am getting this error: "Error making the payment. Please contact ...
0
votes
0answers
11 views

How to add multiple products to cart at the same time with attributes

I have different view blocks that displays multiple products on the same page, each product has their own attributes such as product bundle and custom line item, these serves as an option set / ...
1
vote
1answer
15 views

What causes the errors in the rules that come with Commerce Coupon?

I am trying to use Commerce Coupon module in my project. The problem is after download and enable this module, rules created by this module got error. And I can't find out what happened to this ...
0
votes
0answers
13 views

how do I continue to sell out of stock items with a backorder type setup?

I'm using the normal Drupal Commerce setup with the addition of Commerce shipment and Commerce stock. I'm trying to find a way to continue to sell products but as backorder. That way i can keep the ...
0
votes
0answers
34 views

Search API price not display

can you explain to me why when I enter the keyword "savon" Price does not appear and when I type the keyword "olive" the price appears. I wish the price is displayed. enter link description here enter ...
0
votes
2answers
19 views

add a webform in a product checkout

I would add a webform in the checkout step of a particular product. I need this feature because sometimes the products that i offer needs more information and sometimes the information that i need are ...
0
votes
0answers
12 views

How to build project management with drupal [closed]

any modules use to build drupal site with this features : Users are able to allocate their minimum and Max budget per month allocated to health care. Users input their Medical Status basic info, ...
0
votes
0answers
12 views

Drupal commerce EMI(Recurring Payments)

I have used Drupal Commerce on my website and added two different product type. All the process, 'Add to Cart', 'Checkout', 'Payments', 'Orders', everything works fine. Now I want to implement EMI ...
0
votes
3answers
37 views

Delete all empty orders on user login

Case: Delete all empty orders for a user when he/she login to the website. We are using drupal commerce. Please Help.
0
votes
0answers
5 views

How do I use the Commerce Fulfilment module drag and drop?

I have created orders and I'm using the Flat Rate Shipping module. Everything is working except the Fulfillment module. When I select the Fulfillment TAB I get an error: ...
0
votes
0answers
9 views

Drupal commerce field_product_node token

My question basically repeats the following: https://www.drupal.org/node/2457083 Which is still unanswered after more than a year. I need this token and on my site (drupal 7.43, commerce 7.x-1.13) it ...
0
votes
0answers
5 views

Update Quantity of Line Item in all Pending Orders

Let me begin by saying this, although I'm not new to Drupal, I am fairly new to getting into hooks and the like, so any amount of guidance is helpful. Also, I know my use case seems strange, but it's ...
0
votes
1answer
23 views

Change the warning message

how to change the message "you must be logged in to place an order." I can not find in the rules and in the translation? thank you
0
votes
0answers
25 views

Error when submit webform with commerce product [closed]

Drupal: 7.43 Commerce: Version: 7.x-1.13 Webform: Version: 7.x-4.12 CW Version: 7.x-2.0-beta2+1dev (and CW version 7.x-2.0-beta2) On a clean Drupal install, when submitting a Webform with commerce ...
1
vote
0answers
20 views

Track Sessions with Product Views

Commerce Google Tag Manager module provides following rule actions: Send "Add to Cart" event to google analytics via GTM Send "Remove from Cart" event to google analytics via GTM Send "Checkout" ...
0
votes
0answers
13 views

How to re position the breadcrumb on the product detail page?

I am a bit confused, I was wondering how do you re position the breadcrumb to the top of the page. Please see image example below. When I see the default layout of Drupal Commerce Kickstart, the ...
0
votes
1answer
19 views

Help with this rule

How can I do this rule: Before adding a product to the cart: if there is a product in the cart with the same title name plus a character "-". then set the price of the product with the name ...
0
votes
1answer
7 views

No commerce_price field in product after Kickstart

I installed Commerce Kickstart 7.x-2.35 and I'm doing a Ubercart Commerce migration (from my current Drupal 6 site) using the Commerce Migrate Ubercart module. When migrating first products I don't ...
1
vote
2answers
65 views

Why (or how) order number increases in Drupal Commerce

Does anyone know how the Order number increases in Drupal Commerce? Obviously when someone puts in a new order the order number will be AT LEAST one larger than the previous order number, but other ...
0
votes
2answers
25 views

Why are my custom fees disappearing from my orders?

I've set up my shop so that I am able to create an entire order programmatically. Line items register fine. However, I can't get fees to stick through the ordering process. I'm using the following ...
0
votes
0answers
18 views

View the original price, the discounted price and the discount percentage

I am currently working on a newsletter and I want to display the prices of my products there. How to recover the original price, discounted prices and the discount percentage. I wish to put three ...
0
votes
0answers
6 views

Commerce Product Title translation in views

So i have Entity Translation working properly on the actual products, but in the views displaying a list of these products translation just does not work. Entity traslation is enabled Title module ...
0
votes
1answer
22 views

How to debug: How Can I see the form arrays with its components (fields) in a loaded page?

I would like to changing a title of a button in a form, and I would like to have a tool for debug, like devel or another, so I can see in real time, after a page is loaded, what is the structure in ...
0
votes
1answer
21 views

Custom link to add product

As question states, i'm trying to make a custom menu ( hook_menu() ) to call the same pages as how commerce does it originally (will link everything below) The idea is to let Authenticated users add ...
1
vote
1answer
27 views

New VBO bulk operation button not get translated

VBO button not translated issue. I have created a new VBO bulk operation using rules component. This is the button: In Rules I have written the translation for this rule, in the translate tab of ...
1
vote
1answer
19 views

How to calculate margins based on JSON and ONIX (XML) input and calculate points based on them?

In a Drupal Commerce distribution based on Drupal 7 we sell books. First I want to calculate a margin price based on several given data. The JSON is imported or can be manually added. The ONIX (in ...
-8
votes
0answers
47 views

Is there any hooks in Drupal 8 for Cart, Product and order? [on hold]

For These Below D7 hooks and functions i need those in D8. -> hook_commerce_cart_product_add -> hook_commerce_cart_product_remove -> commerce_line_item_load -> commerce_order_load -> ...
0
votes
1answer
26 views

paypal no shipping address on file

Problem statement: When users pay for an order at paypal, in almost 50% cases(for both verified and unverified paypal users) the transaction slip(for business account) does show shipping ...
1
vote
1answer
19 views

Drupal Commerce product in-cart status info in Views

How can I use information in Views about whether a particular product is in this user's cart? Particularly, how many times into a Views row for that product? For example, on a view listing available ...
0
votes
1answer
18 views

Unable to send user-entered data to PayPal along with credit card info

I need help. I used this as a guide. When my user fills out and pays for something on my site using a product form the information they supplied in the form (other than their payment) is not being ...
0
votes
0answers
8 views

Kickstart, How to add an static phrase, in order confirmation email, only if is true a condition, as payment method=xxxx

Kickstart question. I need to add a conditional information in my order confirmation email, just in case of payment method used=bank transfer. I have seen kickstart uses something called message ...
0
votes
2answers
33 views

Page redirect in rule after VBO new custom operation is is not redirecting

I need to page redirect after the VBO operation. The page redirects is inside a rule component that I have created for a new operation in VBO. This is the my new operation in my VBO: I have marked ...
2
votes
1answer
18 views

How to add payment method field to the footer of an order summary view?

I can add payment method field to fields in my view, but it is not available to add in footer. Why is it? How could I add it this field in the footer view? Note: My view is an order summary view, ...
0
votes
0answers
8 views

Setting new base price when adding an item in Line Item Manager

I understand that Drupal Commerce calculates the total = price * quantity. I can set the base price in the shopping cart, but how can I change unit price = price * length when I add a new item with ...
1
vote
0answers
22 views

Add extra weight to a command

I installed the module "Physical Fields" on my site then I created delivery method according to the weight of the order. I want to add 150 grams to each order (corresponding to the packaging weight ...
0
votes
1answer
21 views

Display error message daily

Is there a way to display error message daily to the user saying that "Your subscription Expiry in x days". And this message needs to popup each and everyday. I can use hook_init()(this will run each ...
0
votes
1answer
28 views

How can I add a Drupal Commerce Fee programmatically?

I know how to add a line item programmatically, but I can't seem to find a way to specifically add a custom commerce fee in PHP. Commerce fees seem to register in two locations in the order array: ...
2
votes
2answers
27 views

Avoid user to multiple purchase of same product

I would like avoid a user to buy the same product twice or more, I'm not speaking about the quantity limitation during the checkout (I've already set quantity to 1 for every purchase)...for ...
1
vote
1answer
28 views

Getting User Entered Form Data within a hook function

Problem I need to use the following hook function to edit a similarly-named function in a contributed module (PayPal WPP), but I don't understand how to use it. ...
1
vote
0answers
17 views

Attach PDF file to Drupal Commerce Order Notificaiton

How do I attach a views_pdf file to the commerce email? I have views_pdf, commerce_coupon. As Sally I would like to buy a coupon and have a copy emailed to me. I am stumped on how to get the pdf ...
0
votes
0answers
41 views

How to verify an author of product?

Trying to get non-object error appears. What must be changed or added to the code in order to give the license access to the author of product? function commerce_license_access($product, $op, ...
0
votes
0answers
10 views

Allow authors of products to download their own file [duplicate]

Is it possible to allow authors of products to download their own file and have a file license by default? Which code must be used and where? (Drupal Commerce)
0
votes
0answers
19 views

How to grant access file license to Product creator?

Is there a way to grant access file license to Product creator (maybe in Rules) in order that Product creator could view file link and he/she could download it?
0
votes
0answers
16 views

View Commerce file for Product Creator

How to show a file link to Product Creator in Views? I tried using (Commerce Product) Commerce Product: Files (Files) in Fields but only the names of files are shown and they can't be downloaded by ...
2
votes
1answer
59 views

Determining the $POST variables of a submitted form

I have a form on my site. Users fill out the form and submit it. When I want to target one of the fields in the form with a custom module I'd target it with something like the following: ...
0
votes
0answers
7 views

Registration doesn't create an order given specific registration state

I've created a new registration state (Registration in progress) and set it as the default state for new registrations. Going through the site's course registration process results in a valid ...
0
votes
1answer
17 views

Quick edit many SKU fields in Drupal Commerce

Is there a way to quickly edit many SKU fields in Drupal Commerce? I have the Back Office quick edit and its great for price or stock control, I have also tried editable views but it seems that the ...
0
votes
0answers
8 views

“Delete button” in cart returns 500 internal server error with “Global:Null” in contextual filter in Views

I use D7. In views, I set "Global:Null" whose defaul value is "Current user's cart order ID" in contextual filter for some reason(this is my original cart). If I click the Delete button to delete an ...