Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 41746

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

6 votes
1 answer
566 views

How do I add a link to an operations dropdown menu in views?

I am using Commerce Kickstart 2. There is a view that lists all of the orders. On each order, there is a dropdown menu with the options of 'Quick Edit' 'Payment' and 'Delete'. …
angms.bh's user avatar
  • 535
3 votes
2 answers
535 views

How do I programmatically add a field to a Transaction in Drupal Commerce?

I have successfully used code similar to the following to create field on the Commerce Order. Do I have the bundle wrong for the instance? Here is my code. …
angms.bh's user avatar
  • 535
3 votes
2 answers
321 views

How do you change rules settings on the fly?

I want to be able to modify a rule based on a setting choice made by a user, but I don't want to expose the form for setting the rule that you see at admin/commerce/config/payment-methods/manage/<payment_method …
angms.bh's user avatar
  • 535
2 votes
2 answers
516 views

How do you programmatically enable a payment method?

I have enabled the payment method module I want to use. I am using Authorize.net. However, by default it is disabled in the Payment methods listing. In my module, I want to enable the payment met …
angms.bh's user avatar
  • 535
2 votes
1 answer
277 views

How do you convert an existing order into a shopping cart order?

I would like to be able to have an existing order that has already been checked out back into a user's shopping cart. From what I have read from the documentation, a shopping cart is just an order fo …
angms.bh's user avatar
  • 535
2 votes
1 answer
633 views

How do I create a link to a view in Commerce Order listing?

I want to create a link on an order dropdown menu in commerce order that is attached to a view. … $items['admin/commerce/orders/%commerce_order/cancel'] = array( 'title' => 'Cancel', 'page callback' => 'bh_order_handling_ui_order_cancel_form_wrapper', 'page arguments' => array(3), ' …
angms.bh's user avatar
  • 535
2 votes
Accepted

How do you change rules settings on the fly?

The issue is that the settings on an action of a rule need to be changed. The settings form for when you implement hook_settings_form($settings) for your payment method maps to the settings of the ru …
angms.bh's user avatar
  • 535
1 vote
1 answer
162 views

Drupal core patches with Commerce Kickstart 2.0

In the installation instructions for Commerce Kickstart 2.0, it alludes to the fact that Kickstart has two patches to the core. … I am asking because I don't want an install of Drupal core with Commerce Kickstart; I just want the Commerce Kickstart code without the core. I don't want to use the installer. …
angms.bh's user avatar
  • 535
1 vote
Accepted

Drupal commerce "family group"

I think what you are talking about is the concept of product variations introduced by Commerce Kickstart 2.0. … I recommend the book Getting Started With Drupal Commerce by Richard Jones for an explanation of how to use back office. …
angms.bh's user avatar
  • 535
1 vote

How to show/render 'Add to Cart' button?

There are a couple of things I would try to see what is going on.In the post that you referenced, they said the following code. render($content['field_product']). Have you tried just rendering the wh …
angms.bh's user avatar
  • 535
1 vote
0 answers
27 views

What is controlling the layout of customer view orders? [duplicate]

Namely, I have tried editing commerce_backoffice/theme/commerce-order--backoffice.tpl.php and clearing the cache, but I see no change. …
angms.bh's user avatar
  • 535
1 vote
3 answers
203 views

Where do you put your template override files?

Specifically, Drupal commerce allows for the override of a customer order using the template file commerce-order--commerce-order--customer.tpl.php I don't know where to put this. …
angms.bh's user avatar
  • 535
1 vote

How do I programmatically add a field to a Transaction in Drupal Commerce?

There are a few things that you need to do to add a field to a transaction 1) set the commerce_payment_transaction to fieldable as mentioned above by Clive. 2) You will need to separate the the imp …
angms.bh's user avatar
  • 535
1 vote

How do I create a link to a view in Commerce Order listing?

I needed to call views_embed_view in my own page callback because I needed to pass the commerce order id for my contextual filter. Here is what I did: I first defined the menu item. … I defined the path of my view as something that was not admin/commerce/orders/%commerce_order/takehomeitems It is important that your view have a contextual filter which takes the order id. …
angms.bh's user avatar
  • 535
1 vote
Accepted

How to alter rendered commerce line item on order entity view?

options['fields']['type']['relationship'] = 'commerce_line_items_line_item_id'; Please note, that when you later the view for the user/%user/orders/%commerce_order page, it also alters admin/commerce
angms.bh's user avatar
  • 535

15 30 50 per page