Last active
July 4, 2016 01:22
-
-
Save izayoi256/99db49cd557a7c0ba6dd6f164377bbd9 to your computer and use it in GitHub Desktop.
LC_Page_Admin_Order_ProductSelect.php
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
// 略 | |
// 規格2が設定されている | |
$this->tpl_classcat_find2 = $objProduct->classCat2_find; | |
$this->tpl_product_class_id = $objProduct->product_class_id; | |
$this->tpl_stock_find = $objProduct->stock_find; | |
SC_Utils_Ex::sfPrintR($objProduct->stock_find); // 追加 | |
break; | |
default: | |
break; | |
} | |
// 略 | |
/** | |
* 規格クラス用JavaScript生成 | |
* @param SC_Product $objProduct | |
*/ | |
public function getTplJavascript(&$objProduct) | |
{ | |
SC_Utils_Ex::sfPrintR($objProduct->classCategories); // 追加 | |
return 'eccube.productsClassCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories) . '; '; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment