update
This commit is contained in:
4
.vscode/ftp-kr.sync.cache.json
vendored
4
.vscode/ftp-kr.sync.cache.json
vendored
@@ -64,7 +64,7 @@
|
||||
},
|
||||
"custom-script.php": {
|
||||
"type": "-",
|
||||
"size": 1917,
|
||||
"size": 1916,
|
||||
"lmtime": 0,
|
||||
"modified": true
|
||||
},
|
||||
@@ -98,7 +98,7 @@
|
||||
},
|
||||
"google-merchant_id-1.xml": {
|
||||
"type": "-",
|
||||
"size": 17951117,
|
||||
"size": 17900206,
|
||||
"lmtime": 0,
|
||||
"modified": true
|
||||
},
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
|
||||
/* Debug only */
|
||||
( $_SERVER['REMOTE_ADDR'] == '91.189.216.43' ) ? define('_PS_MODE_DEV_', false ) : define('_PS_MODE_DEV_', false);
|
||||
( $_SERVER['REMOTE_ADDR'] == '178.42.108.40' ) ? define('_PS_MODE_DEV_', false ) : define('_PS_MODE_DEV_', false);
|
||||
/* Compatibility warning */
|
||||
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false);
|
||||
if (_PS_MODE_DEV_ === true) {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
36
override/classes/Combination.php
Normal file
36
override/classes/Combination.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
class Combination extends CombinationCore
|
||||
{
|
||||
/**
|
||||
* Combination description
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
'table' => 'product_attribute',
|
||||
'primary' => 'id_product_attribute',
|
||||
'fields' => array(
|
||||
'id_product' => array('type' => self::TYPE_INT, 'shop' => 'both', 'validate' => 'isUnsignedId', 'required' => true),
|
||||
'location' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'size' => 64),
|
||||
'ean13' => array('type' => self::TYPE_STRING, 'validate' => 'isEan13', 'size' => 13),
|
||||
'upc' => array('type' => self::TYPE_STRING, 'validate' => 'isUpc', 'size' => 12),
|
||||
'quantity' => array('type' => self::TYPE_INT, 'validate' => 'isInt', 'size' => 10),
|
||||
'reference' => array('type' => self::TYPE_STRING, 'size' => 32),
|
||||
'supplier_reference' => array('type' => self::TYPE_STRING, 'size' => 32),
|
||||
'description' => array('type' => self::TYPE_HTML, 'size' => 1000000),
|
||||
|
||||
'wholesale_price' => array('type' => self::TYPE_FLOAT, 'shop' => true, 'validate' => 'isPrice', 'size' => 27),
|
||||
'price' => array('type' => self::TYPE_FLOAT, 'shop' => true, 'validate' => 'isNegativePrice', 'size' => 20),
|
||||
'ecotax' => array('type' => self::TYPE_FLOAT, 'shop' => true, 'validate' => 'isPrice', 'size' => 20),
|
||||
'weight' => array('type' => self::TYPE_FLOAT, 'shop' => true, 'validate' => 'isFloat'),
|
||||
'unit_price_impact' => array('type' => self::TYPE_FLOAT, 'shop' => true, 'validate' => 'isNegativePrice', 'size' => 20),
|
||||
'minimal_quantity' => array('type' => self::TYPE_INT, 'shop' => true, 'validate' => 'isUnsignedId', 'required' => true),
|
||||
'default_on' => array('type' => self::TYPE_BOOL, 'allow_null' => true, 'shop' => true, 'validate' => 'isBool'),
|
||||
'available_date' => array('type' => self::TYPE_DATE, 'shop' => true, 'validate' => 'isDateFormat'),
|
||||
),
|
||||
);
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param int $id_combination
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user