Questions tagged [commerce]

One of the modules that implements an eCommerce framework and ecosystem is the Drupal Commerce module.

1,407 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
2answers
1k views

Overriding an entity add/edit form through alterroute

I want to create my own version of the add/edit form for an entity defined in contrib module (drupal_commerce). I assumed i'd be able to adapt the example here http://www.foreach.be/blog/how-...
2
votes
0answers
186 views

Renewal fails but license remains active, and a new recurring is made

I am using Drupal Commerce, Commerce License, and Commerce License Billing. Something unexpected is happening. When an order tries to renew but fails (due to a card issue): the order that had been ...
2
votes
1answer
69 views

How to collect payments for the missed periods with the hard decline status?

Scenario: A user's credit card expires and he misses to pay his recurring monthly fee. Two months later he updates his credit card and because the license never expired the system picks it up and ...
2
votes
2answers
559 views

Update price via AJAX

I created a content type (main prod) that is referencing a product content type (sub prod). The sub prod is also referencing another product content type called (option sets) which will be the option ...
2
votes
1answer
313 views

Display one image of commerce product in product display view

I have created a view which display indexed nodes (product displays) in teaser mode. The commerce product entity has a field called field_images which contain several images. In teaser display mode ...
2
votes
1answer
75 views

Add bulk products drupal commerce: Warning: Invalid argument supplied for foreach() en form_type_checkboxes_value() line 2337 form.inc

I am workin on a commerce site and every product has many attributes and there are many combinations for each display. I am using Commerce Bulk Product Creation so I can add products quicly. The ...
2
votes
2answers
395 views

Order total field, transactions and balance

In drupal commerce, using the commerce payment payment module, I would like to display the amount paid and order balance in paid order like on the example below. Subtotal ------------- 20 TAX --------...
2
votes
1answer
135 views

How to generate a Commerce order from a CSV?

I'm using Drupal 7 with commerce. Is there a way to generate an order from a csv or similar? the idea is that users could upload a csv (sku and quantity for now) with the items they want and the ...
2
votes
0answers
88 views

Commerce Checkout Alter Email Field Value

When anonymous user is on checkout page using DRUPAL commerce, I want to autofil email field in Account Information section on checkout page. I tried using hook_form_alter to give it a default value, ...
2
votes
0answers
161 views

How to separate Custom Line Items from the Add to Cart form in Drupal Commerce

First of all, I am familiar with the module Commerce Custom Product, allowing one to add a custom line item field to a product. This works great for a single product - allowing you to do things with ...
2
votes
1answer
95 views

schema_fields_sql empty on entity_get_info

I'm trying to debug why Drupal Commerce License Billing isn't working on existing install but works fine on fresh install. The difference I can see between the two when adding a new billing type is ...
2
votes
1answer
189 views

Create a commerce product and add it to cart using Services

I am using commerce_services module and poster as addon in firefox for my services. I want to create a commerce product and add it to cart using Services. I don't know what are the parameters and url ...
2
votes
1answer
371 views

How to add a Related Products View for Commerce Kickstart?

I am trying to show related products in the products display for Commerce Kickstart. I tried using the method outlined in this tutorial but ran into a couple of issues: The "Target Type" in the ...
2
votes
0answers
99 views

Commerce USPS not returning rates

We are having trouble getting Commerce USPS configured properly to return rates. We are also unable to assign dimensions and weights to products, and are thinking that these are perhaps related. We ...
2
votes
1answer
65 views

How to apply an image style based on a condition?

I've been following this discussion: How to apply an image style based on a condition (a date for ex.)? but unfortunately it has not been a success. I would like to have the image to change based on ...
2
votes
2answers
300 views

Drupal node “ranking” based on views sorting

I am creating a site where there are nodes (which are "causes") that users can donate to (i.e. buying a donation product using Drupal Commerce, which is sort of irrelevant, but just for the record). ...
2
votes
1answer
135 views

How to theme checkout completion page in Drupal Commerce

I'm having a problem with theming the checkout completion page. My designer gave me a layout that will show all of the order details in that page(nearly same as the checkout review pane). I already ...
2
votes
1answer
614 views

Create commerce product through web services

I want to create products using commerce services resource module. At this moment, I can create a product calling the resource .../product with POST, but It seems that It only creates a product ...
2
votes
3answers
217 views

How to grant user points to the product creator after the product is sold?

I would like to grant user points to a product owner in amount of 70% of product price after product is sold. I have a rule and part of component Rule Events: Completing the checkout process ...
2
votes
0answers
128 views

Webform: display image uploaded by user

I'm completely lost on how I could display an image uploaded by user on my webform... What I'm planning to do is multistep webform that is also an order form. It has only filefield upload on first ...
2
votes
1answer
213 views

How can I show the Sales Report for particular user?

I use Drupal 7 and the Drupal Commerce module. My site has 3 roles defined: Admin, who can publish and unpublish product of affiliate. Affiliate, who can add the product in the site. Learner who can ...
2
votes
1answer
890 views

How to properly add a Commerce Shipping Service option via AJAX during checkout

I have the Payment and Shipping service block in the same checkout pane. I update the Shipping service block with AJAX when selecting a Payment method, as available Shipping services depend on the ...
2
votes
0answers
222 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 ...
2
votes
0answers
252 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 ...
2
votes
3answers
465 views

How to create an Ecommerce Loyalty scheme for customers?

How can I create a 'loyalty scheme' where customers are awarded with 5 pence for every £ spent, to be used on furture purchases. The rewards will be saved up until the user decides to redeem them ...
2
votes
0answers
424 views

How to get product attributes (weight, dimension.height..) in php

I am fairly new to drupal commerce and php so pardon the dumb newbie question. I downloaded commerce_order_ftp_export and after updating it to the devel version I was able to get it working. It ftps ...
2
votes
0answers
1k views

How to send order confirmation email in Commerce Kickstart?

I want to send an automatic email when a customer makes a purchase ie thank you for your purchase of x, y, x (and I have seen this described as "outrageously complex"!). Commerce Kickstart 2 has a ...
2
votes
0answers
665 views

Drupal Commerce changing product attributes not firing AJAX update

I'm currently building an e-commerce website using Drupal 7 and Drupal Commerce (not kickstart). I've built my product display page, and added an attribute to the product called "size" where the ...
2
votes
0answers
138 views

How can I convert a set of Products to another Product Type?

We've decided to set up another Product Type and would like to convert some of the Products to another Type. Is there a reliable way to convert a set of Products to another Product Type? I saw this ...
2
votes
1answer
195 views

Commerce payment for Rooms reserveration only after the order is confirmed

I want to use Commerce + Rooms and wonder if there’s a configuration/module for the following procedure: User reserves a room, checks out, but isn’t allowed to pay yet. The room owner gets an email ...
2
votes
1answer
437 views

How do I alter the Price Component Title in Commerce Userpoints Discount without altering the module?

It seems that when a user adds a Userpoints Discount line item to their shopping cart it appears in the footer as 'Royalty', which will be totally confusing to users. On line #382 of ...
2
votes
1answer
459 views

SEO friendly URL for drupal commerce products

I am using Commerce Product Url module for generating unique url for commerce products like follows, For each product it provides id parameter, mycommercesite.com/node/1?id=1 mycommercesite.com/node/...
2
votes
0answers
1k views

How do you setup Commerce Event Tickets?

I'm using Commerce 7.x-1.10 & Commerce Event Tickets 7.x-1.x-dev. I have installed all the prerequisites for both modules. How do you setup Commerce Event Tickets so it creates the ticket entity ...
2
votes
1answer
111 views

Commerce Customizable Products

I hope I could receive some help concerning Commerce Customizable Products. I am looking for a possibility to, when adding a product, selecting the options a customer could add on the 'add to card ...
2
votes
0answers
57 views

Programmically add Product to Product Display (Profile)

I am trying to use a rule to add a product to a profile. Also, I am using an autocomplete entity reference widget for the product reference field. Currently I can see the product being added but not ...
2
votes
1answer
68 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 creates ...
2
votes
1answer
468 views

How do I change the front page?

In commerce guys demos store I toggled off the main menu in commerce kickstart template and have enabled the main menu block to stay on sidebar first block. I want to get a vertical main menu instead ...
2
votes
0answers
593 views

Custom form adding a commerce price field

I am creating a custom form using the form api. I'd like to reuse the price field used by commerce, but I don't know how to include their form type in my own form.
2
votes
2answers
268 views

Implementing IP recognition and price conversion (2 parts)

The commerce (kickstart) site has default prices in USD. Site should convert the price to local currency for international visitors, based off IP or other means. Example: Widget Price - $2 (USD). ...
2
votes
0answers
179 views

Fedex custom packing modules

I am using drupal commerce on D7, with the fedex shipping module, and all is well except the packaging algorithm is not advanced enough... Current Functionality Currently, you set one default box ...
2
votes
0answers
398 views

Want to change Currency with Language on language change

I am new in Drupal 7. I am working on drupal commerce module. I want to built a site for multi-language and also for multi currency. I am using i18n and Commerce multi currency module as they gave ...
2
votes
0answers
280 views

Drupal Commerce: commerce-order:email is empty in checkout completion rule

I'm new to Drupal Commerce and I'm developing a site with anonymous checkout. It seems that when the "Send an order notification e-mail" rule kicks in (checkout completion rules) the commerce-order:...
2
votes
1answer
767 views

Commerce Attribute price is not updating in cart

I am using commerce price attributes module then I am facing problem , price is updated on the product display node but not in my cart...also, there is no line item for the added price attribute. ...
2
votes
1answer
288 views

Configure Australian GST Taxes on Commerce Kickstart 7.x-2.14

I would like step-by-step instructions as to how to configure Australian GST Tax on a Commerce Kickstart site, if possible using configuration only. The business rules are: Primary Objevctives ...
2
votes
1answer
369 views

How do I add onclick Google Analtyics custom event “add to cart” to add to cart button in Drupal Commerce?

I want to fire a Google Analytics custom event called "add to cart" when someone adds a product to the cart. I am using classic Google Analytics, not Universal. I tried adding this to the ...
2
votes
1answer
176 views

Want to build a widget which gives price history on Drupal 7

We have our site built on Drupal 7. We want to make a widget which gives price history chart. I found a module named Commerce Price History. Can this module be used with Drupal 7 or it can be used ...
2
votes
0answers
79 views

With Drupal Commerce, how to configure product for “on request”?

I'm sure this is detailed somewhere, but I haven't had an luck in finding an explanation/description... I have a website based on Drupal Commerce (new version to be released is based on Kickstart 2). ...
2
votes
1answer
410 views

Subtotal calculates from original product price, disregards applied per product discounts

This seems like a known issue but I actually didn't find a solution for this anywhere. In commerce, if I apply a discount/pricing rule to a certain product, add it to cart, and go to checkout, table ...
2
votes
1answer
60 views

Alter view data return?

I am wondering if there is a way to do the following. I need to alter view return data and either remove entries or keep entires based upon running some PHP. Is there any easy way to do that? I was ...
2
votes
1answer
629 views

How to create a views page of discounted products list?

I'am using commerce discount module in commerce kickstart 2.11 And need to create a page with a list of dicounted products using views filter and/or search API. I've tryed without any success. Please ...

1
2
3 4 5
29