Tagged Questions

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

learn more… | top users | synonyms (1)

0
votes
1answer
13 views

SQL command to remove hypens from data value

A commerce site that I am working on has products titles and skus in the format of DS-PC-CDJ2000. The client wants the each hyphen removing and replacing with a space; DS PC CDJ2000 There are ...
0
votes
0answers
16 views

How to alter the fields available for commerce backoffice Quick Edit?

I have added a "waiting time" field to the orders in Drupal Commerce, so that each order has a waiting time. I would like for the field to be available using the Quick Edit options of Commerce ...
0
votes
0answers
7 views

commerce_order_new assign order id?

Is it possible to change the Order ID when creating an order programmatically? I'm trying to import some orders with commerce_order_new(). It works, but only if I let it assign its own Order ID field ...
0
votes
0answers
17 views

Is there any way to make Commerce Customer Profile save/store data in a predictable manner?

Heres the thing. We have a customer profile of type 'Delivery' which contains a delivery address for an order. It also has other non-addressfield data like driver route, delivery day (M-F, day of ...
0
votes
0answers
10 views

how can i add a add to cart button in node check out form node

how can i add a add to cart button in node check out form node. i used the commerce_node_checkout module . when a user add a node and go to checkout process all thing goes well , if user complete ...
1
vote
1answer
59 views

Drupal Commerce Authorize.net gateway and POODLE

I got a notice today that Authorize.net is going to shut off their SSLv3 protocol on November 4 (7 days from today) in response to the POODLE threat. I'm using Drupal Commerce's commerce_authnet ...
0
votes
0answers
31 views

Drupal Commerce, Search API DB and Views | How to display the product variation accordingly to the attribute being applied as filter?

SCENARIO: A Size attribute field has been added to a Product Type at /admin/commerce/products/types/PRODUCT-TYPE/fields and "Enable this field to function as an attribute field on Add to Cart ...
0
votes
0answers
6 views

Commerce Node Checkout free option skip cart/checkout/payment

I am working on a free/paid listing site. I setup Commerce Node Checkout with Node Checkout Expire and have a free version(14 days) and a paid "featured" option (30 days). The paid option should go to ...
-1
votes
0answers
16 views

Reviews on Product content type

How can I achieve below features in Drupal 7 ? Every buyer should be able to leave a review for any purchase they make. Sellers should have the ability to report a review to administrators. Where we ...
0
votes
1answer
12 views

Commerce Products Display Page Using Views

The usual way to display Commerce products is 1. Create Products using Commerce Module Interface 2. Create a Content Type for Products Line Items by referencing the products But I have too many ...
0
votes
3answers
8 views

commerce show message if anonymous user adds product to cart

What I am trying to accomplish is : If an anonymous user adds a product to the cart, I would like to display a message on the site that says : Login to check out what I did is the following: Added a ...
0
votes
1answer
15 views

multiple copies of same query of commerce_products table spawned and crashes my site

I have a drupal commerce site that has almost 500,000 products and product displays. I will perform the most mundane actions in the admin area that will crash my entire site. Some actions that make ...
0
votes
0answers
8 views

Any specific configuration for Drupal Commerce with CDN Module?

Are there any specific configuration using a CDN service with the Drupal CDN module and Drupal Commerce? I didn't find any info about it, there are only for general configuration in Drupal but module ...
0
votes
0answers
12 views

How to change order state when user cancels payment

In Drupal Commerce, when the customer has been redirected for payment, the order state will be set to Checkout:Payment, and the cart will be emptied, hence the user cannot change his mind by pressing ...
0
votes
1answer
27 views

Use product entity field as filter in Views

I have a product (type: "lamp") with a text field called "power". On the Product display node ("showcase") i also want to see a block made with Views. It must show three other products of the same ...
0
votes
2answers
25 views

How to hook drupal commerce line item create

I want to process something when a new commerce line item create, is there any hook can do this? Or is there another methods can do this? Thanks at first!
1
vote
0answers
15 views

Commerce Kickstart: How Do I Modify The Order Receipt Page To Add Order Date?

The receipt page that displays when one completes an order (or reviews in History) contains no order date (surprising). Where is the code that renders that page and how does one modify it to display ...
1
vote
1answer
7 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 ...
0
votes
0answers
6 views

Drupal Commerce and Commerce Stock module: how to send email alert when stock=0

i need to send email alert to shop admin when stock of some variations is equal to zero. I thought there was a rule to do this but I have not found it. what is the right way? ty
0
votes
1answer
22 views

what does $styles means in drupal?

I am new in drupal.. please let me know what is the meaning of $styles in drupal html.tpl.php file.. If we want to add new css and js from where we can add this.. PLeas help me..
0
votes
0answers
12 views

The drush command 'import' could not be found

I am connecting to two sites via SSH I used Drush 4.4 export on a D6 site to export a node type. I now want to import that onto a D7 site (running Commerce Kickstart2) which contains a newer version ...
0
votes
0answers
12 views

How to add Group by clause and limit in search_api Query alter using search_api_query_alter

I want to add group by in below query alter with limit 1 per group. I have tried below query but it is not working : search_api_query_alter(SearchApiQueryInterface $query) { ...
1
vote
1answer
16 views

Product price not showing up in views without Disable SQL rewriting

I got a Commerce Product set up in Drupal 7 with a content-type Product Display that have a product reference to it. Users have read access to Product Display but not direct access to the Commerce ...
0
votes
1answer
29 views

Drupal Commerce Kickstart 2 Mysql problem: “Table XYZ is marked as crashed and should be repaired” [on hold]

My drupal kickstart 2 site occasionally cause Mysql errors. This is what Drupal Logs say: "PDOException: SQLSTATE[HY000]: General error: 145 Table './MYSITE/field_revision_body' is marked as crashed ...
0
votes
1answer
32 views

Drupal Commerce: Can I split payment over multiple credit cards?

I need to enable my customers to be able to split payments over multiple credit cards. Is it possible with Commerce, and where can I find documentation to that end?
0
votes
1answer
24 views

Load old cart order in commerce

As I understand it commerce gets the users highest numbered order that is not yet completed (on the customers end) and uses that when a user adds an item to their cart or views their cart however I ...
0
votes
2answers
22 views

drupal commerce calculator

I have a webshop made with drupal commerce kickstart and use it as a POS in a bar. The people pay with cash. What i want is a calculator with 2 input fields: field 1: the "Order total" from checkout ...
0
votes
1answer
20 views

Menu is not creating in admin/settings page?

I am adding a custom module, and wants when someone install the module, menu will be added to add data in the admin/settings page... But i am getting nothing: Below is the code i wrote.. ...
0
votes
0answers
8 views

translate product type title

I am working on a drupal commerce site which needs to be multilingual. The problem I am facing is that I cant translate the title field of product types. For example if I create a new product ...
1
vote
1answer
10 views

Client specific prices in Commerce Kickstart

Is it possible to have client specifik prices for products in Commerce? This should be an option with specific clients that has an agreement with the company. Everyone else will pay the ordinary ...
0
votes
2answers
28 views

Display a product with two columns

I want a two-column page layout to display my products which I create with 'drupal commerce'. The layout is basically the picture and similar articles on the left. Description on the right. Now, I ...
1
vote
1answer
15 views

feed import module: is it possible to have a feed importer without unique field

I'm using Commerce Kickstart 2. The SKU field of my products is automatically generated in relation with a serial field that I've created (Serial field module). That was done with the appropriate ...
0
votes
1answer
14 views

How to handle multiple stores and multiple store admin users - Drupal commerce

Is it possible to create a restaurant(multi-store) online delivery system using Drupal commerce and OG? It has multiple stores(restaurants) in different locations which can be manageable by individual ...
0
votes
0answers
16 views

Change product currency in Drupal Commerce Kickstart (commerce_kickstart-7.x-1.25)

I have a multisite where the default currency is in euro for the european domains but in dollars for the american. Now I have a product created with the wrong default currency. It is in Euro (probably ...
1
vote
0answers
27 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 ...
0
votes
0answers
22 views

Kickstart Commerce 2.0 + ssl + checkout error

I have follow all steps here to configure ssl + securepage in mixed mode: https://www.drupal.org/node/2029353 The problem is that user go to checkout/* url is http and not https and drupal say: "This ...
0
votes
0answers
14 views

Separate commerce checkout flows

I'm wondering If I can change the checkout flow for one single product, so when the "order this item" button is clicked, it skips the cart, goes into its very own cart regardless of how many other ...
1
vote
2answers
13 views

Commerce Kickstart Product: URI links to admin

When I try to use a Commerce Product Reference field in any view with a link to content, it links to the -admin- for the product, not the content. This was discussed for the images here: ...
0
votes
0answers
9 views

Social login with securepage

I have e-commerce website (drupal commerce kickstart2 distribution) with ssl domain managed in mixed mode with module securepage (I did the patch to the core requests from the module). The normal ...
1
vote
1answer
20 views

Drupal Commerce auto increment Sku

It seems a simple feature to me, but I can't find a way to do the trick. I've uploaded the products of my Drupal Commerce store with a csv table that contains in SKU column a sequencial set of ...
0
votes
1answer
18 views

Drupal commerce: product field based in calculation of other fields

The commerce product has the field: Price Then I added two more field: Quantity and Price per Unit I need the field Price per Unit to take the calculated value from this: Price per Unit = ...
1
vote
1answer
36 views

Commerce- How can I modify order details with hook_commerce_paypal_wps_order_form_data_alter()?

I want to modify the information Commerce sends to PayPal so that the order description on PayPal describes the product, not the order (users on my site can only order one of two products, so I think ...
0
votes
0answers
29 views

Module Secure Page for SSL: from https to http lose session

I have a problem: I work on Drupal 7 with Drupal Commerce Kickstart (Kickstart2 distribution). I have installed the module SecurePage to manage which pages are under https and which under http, I ...
-1
votes
0answers
26 views

Required product sku is missing

I am trying to upload products with commerce feeds but it keeps on failing to import and showing required product sku is missing. I mapped the whole fields to correspond with my csv sheet. I also ...
0
votes
1answer
49 views

Feed Import Products ( Commerce ) and Products Category ( Node Page )

I need to create a CSV feed importer to import both Commerce products and products category node using single table and I am using Commerce Feed Module... when I create it using two different tables I ...
0
votes
1answer
13 views

How do I add a Commerce product type to a feature?

I have a custom product type that I created in my local dev environment and I'm trying to export it into a feature. However, I can't seem to find where the product type is stored in the Features ...
0
votes
0answers
14 views

Commerce Kickstart - Show breadcrumbs on account/profile pages

How display the breacrumbs on all account pages (user/*)? In Kickstart distribution of Drupal Commerce, the breadcrumbs is hidden by default on this pages. I have try to set position for the ...
2
votes
0answers
40 views

ssl with boost and securepages module

I have this doubt. I have a website in drupal 7 currently live (Kickstart2) and use as cache management boost I have to buy a ssl certificate on my domain and with this certificate I would like to ...
0
votes
0answers
25 views

Commerce Pay Pal Express Checkout: stuck in Pending Status

I'm testing Commerce PayPal - Express Checkout in PayPal Sandbox. I created the buyer and seller test accounts. Buying a product in test mode was ok. After checkout completed I'm redirected to PayPal ...
0
votes
0answers
8 views

make math operations with Commerce price fields? (the correct way)

I usually use a rule action "Multiply unit price by a quantity" You just put the values and options and rules makes all that stuff for you. But this time I have to do it in a custom module ...