- 基本となるポイント設定の履歴を保持するか?
- 丸め規則, 計算ルールまで設定できるようにするか?
- ログを記録する場合は有用だが、自動戻しをしたりしない限り活用できない
- ポイント付与率はどこに保持するか?
- baseinfo
- product_class
- order_item
This file contains 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/data/class/SC_Initial.php b/data/class/SC_Initial.php | |
index aa25b299b2..f57c908dc9 100644 | |
--- a/data/class/SC_Initial.php | |
+++ b/data/class/SC_Initial.php | |
@@ -83,10 +83,10 @@ class SC_Initial | |
*/ | |
public function defineDSN() | |
{ | |
- if (defined('DB_TYPE') && defined('DB_USER') && defined('DB_PASSWORD') | |
- && defined('DB_SERVER') && defined('DB_PORT') && defined('DB_NAME') |
This file contains 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/sh | |
## ATTENTION IIS の場合は web.config を .htaccess に変更すること! | |
ECCUBE_HOST=http://example.com/ec-cube | |
while read TARGET | |
do | |
echo -n "$ECCUBE_HOST/$TARGET..." | |
STATUS=`curl -L -s $ECCUBE_HOST/$TARGET -o /dev/null -w '%{http_code}\n'` | |
if [ $STATUS = '200' ] |
This file contains 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 | |
require_once DATA_REALDIR . 'module/force.com-toolkit/SforcePartnerClient.php'; | |
/** | |
* EC-CUBE セールスフォース連携ヘルパー | |
*/ | |
class SC_Helper_SForce { | |
private static $instance; |
This file contains 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/src/Eccube/Service/OrderHelper.php b/src/Eccube/Service/OrderHelper.php | |
index 6753b31af..bdad561cd 100644 | |
--- a/src/Eccube/Service/OrderHelper.php | |
+++ b/src/Eccube/Service/OrderHelper.php | |
@@ -21,6 +21,7 @@ use Eccube\Entity\Cart; | |
use Eccube\Entity\CartItem; | |
use Eccube\Entity\Customer; | |
use Eccube\Entity\CustomerAddress; | |
+use Eccube\Entity\ItemHolderInterface; | |
use Eccube\Entity\Master\OrderItemType; |
This file contains 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
var Category = function (name, child) { | |
var self = this; | |
this.name = name; | |
this.children = child; | |
this.accept = function(Visitor) { | |
Visitor.visit(self); | |
}; | |
}; | |
var Visitor = function () { |
This file contains 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/src/Eccube/Controller/AbstractController.php b/src/Eccube/Controller/AbstractController.php | |
index 0f1c17500..b4caae677 100644 | |
--- a/src/Eccube/Controller/AbstractController.php | |
+++ b/src/Eccube/Controller/AbstractController.php | |
@@ -32,6 +32,7 @@ use Eccube\Common\EccubeConfig; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Symfony\Component\EventDispatcher\EventDispatcherInterface; | |
use Symfony\Component\Form\FormFactoryInterface; | |
+use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpFoundation\Session\Session; |
This file contains 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
{ | |
"filter": { | |
"php-file-ext-list": [ | |
"php" | |
], | |
"php-path-list": [ | |
"./src", | |
"./app", | |
"./tests", | |
"./vendor", |
This file contains 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
--- ../Eccube-Styleguide/public/style.css 2017-09-01 09:56:10.000000000 +0900 | |
+++ pscss.css 2018-02-21 17:07:18.000000000 +0900 | |
@@ -1,5 +1,3 @@ | |
-@charset "UTF-8"; | |
-@import url(/node_modules/normalize.css/normalize.css); | |
body { | |
font-family: Roboto, "游ゴシック", YuGothic, "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, "メイリオ", Meiryo, sans-serif; | |
color: #525263; | |
@@ -18,7 +16,6 @@ | |
p { |
This file contains 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
<script src="https://www.paypalobjects.com/api/checkout.min.js" data-version-4></script> | |
<script> | |
paypal.Button.render({ | |
env: '<%= @paypal_env %>', // Specify 'sandbox' for the test environment | |
client: { | |
sandbox: '<%= @sandbox_client_id %>', | |
production: '<%= @production_client_id %>' | |
}, | |
locale: 'ja_JP', | |
style: { |