This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Instantiate a new Entity Field Query | |
$efq = new EntityFieldQuery(); | |
// Add a condition of entity_type = node and bundle = article. | |
$results = $efq->entityCondition('entity_type', 'node') | |
->entityCondition('bundle', 'article') | |
->execute(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$order_id = 10; | |
// Create the entity field query object. | |
$efq = new EntityFieldQuery(); | |
// Add the required filters to the query and execute it. | |
$result = $efq->entityCondition('entity_type', 'commerce_order') | |
->propertyCondition('order_id', $order_id, '>=') | |
->propertyCondition('status', 'pending') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "rules_order_has_domestic_shipping" : { | |
"LABEL" : "Order has domestic shipping", | |
"PLUGIN" : "and", | |
"OWNER" : "rules", | |
"REQUIRES" : [ "rules", "commerce_order" ], | |
"USES VARIABLES" : { "commerce_order" : { "label" : "Commerce Order", "type" : "commerce_order" } }, | |
"AND" : [ | |
{ "entity_has_field" : { | |
"entity" : [ "commerce-order" ], | |
"field" : "commerce_customer_shipping" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "rules_order_has_international_shipping" : { | |
"LABEL" : "Order has international shipping", | |
"PLUGIN" : "and", | |
"OWNER" : "rules", | |
"REQUIRES" : [ "rules", "commerce_order" ], | |
"USES VARIABLES" : { "commerce_order" : { "label" : "Commerce Order", "type" : "commerce_order" } }, | |
"AND" : [ | |
{ "entity_has_field" : { | |
"entity" : [ "commerce-order" ], | |
"field" : "commerce_customer_shipping" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "marketing_message", | |
"description" : "Marketing Message", | |
"argument_keys" : [], | |
"argument" : [], | |
"category" : "message_type", | |
"data" : { | |
"token options" : { "clear" : 0 }, | |
"purge" : { "override" : 0, "enabled" : 0, "quota" : "", "days" : "" } | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$view = new view(); | |
$view->name = 'people_message'; | |
$view->description = ''; | |
$view->tag = 'default'; | |
$view->base_table = 'users'; | |
$view->human_name = 'People Message'; | |
$view->core = 7; | |
$view->api_version = '3.0'; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "rules_create_and_send_marketing_message_to_user" : { | |
"LABEL" : "Create and send marketing message to user", | |
"PLUGIN" : "rule", | |
"OWNER" : "rules", | |
"REQUIRES" : [ "rules", "message_notify" ], | |
"USES VARIABLES" : { | |
"user" : { "label" : "User", "type" : "user" }, | |
"node" : { "label" : "Node", "type" : "node" } | |
}, | |
"DO" : [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 1c9ba0d087af70e9c9a4c6c17a1dd5b279ad7901 Mon Sep 17 00:00:00 2001 | |
From: Andy Giles <[email protected]> | |
Date: Tue, 11 Nov 2014 20:31:59 -0500 | |
Subject: [PATCH] Revert "Issue #2026321 by tatyana, andyg5000, plach: Fixed | |
Avoid overwriting an already updated order." | |
This reverts commit 76e2a50ceb5a9cb2f345fc165ea9193a18c39a84. | |
--- | |
includes/commerce_shipping.checkout_pane.inc | 16 +--------------- | |
1 file changed, 1 insertion(+), 15 deletions(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SITES=$(~/.composer/vendor/bin/platform projects --pipe) | |
for i in $SITES; | |
do | |
~/.composer/vendor/bin/platform environment:backup --project $i --environment master | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/commerce_box.module b/commerce_box.module | |
index 823b130..057c2a1 100644 | |
--- a/commerce_box.module | |
+++ b/commerce_box.module | |
@@ -525,3 +525,371 @@ function commerce_box_get_statuses() { | |
function commerce_box_status_options_list() { | |
return commerce_box_get_statuses(); | |
} | |
+ | |
+/** |
OlderNewer