예제 #1
0
 /**
  * Get messages
  *
  * @return array
  */
 public static function getMessages()
 {
     return parent::getMessages() + array('ATTRS-PRODUCT-SKU-FMT' => 'ProductSKU is empty', 'ATTRS-PRODUCT-NOT-EXISTS' => 'Product with SKU "{{value}}" does not exists', 'ATTRS-TYPE-FMT' => 'Wrong "type" value ({{value}}). This should be "C", "S" or "T"', 'ATTRS-NAME-FMT' => 'Name is empty', 'ATTRS-OWNER-FMT' => 'Wrong "owner" format ({{value}}). Value should be one of "Yes" or "No"', 'ATTRS-PRICE-MODIFIER-FMT' => 'Wrong "priceModifier" format ({{value}}). Correct examples: +1, +1%, -1, -1%', 'ATTRS-WEIGHT-MODIFIER-FMT' => 'Wrong "weightModifier" format ({{value}}). Correct examples: +1, +1%, -1, -1%', 'ATTRS-CLASS-WRN' => 'Product class {{value}} does not exists and will be created', 'ATTRS-GROUP-WRN' => 'Group {{value}} does not exists and will be created', 'ATTRS-EDITABLE-FMT' => 'Wrong "owner" format ({{value}}). Value should be one of "Yes" or "No" or empty');
 }
예제 #2
0
 /**
  * Get messages
  *
  * @return array
  */
 public static function getMessages()
 {
     return parent::getMessages() + array('CATEGORY-ENABLED-FMT' => 'Wrong enabled format', 'CATEGORY-SHOW-TITLE-FMT' => 'Wrong show title format', 'CATEGORY-POSITION-FMT' => 'Wrong position format', 'CATEGORY-NAME-FMT' => 'The name is empty');
 }
예제 #3
0
 /**
  * Get messages
  *
  * @return array
  */
 public static function getMessages()
 {
     return parent::getMessages() + array('RESTRICTION-MERCHANT_COMMODITY_REF_ID-FMT' => 'Unknown product is stated', 'RESTRICTION-COUNTRY_CODE-FMT' => 'Unknown country code', 'RESTRICTION-RESTRICTION_CODE-FMT' => 'Empty restriciton code');
 }
예제 #4
0
 /**
  * Get messages
  *
  * @return array
  */
 public static function getMessages()
 {
     return parent::getMessages() + array('PRODUCT-SKU-FMT' => 'ProductSKU is empty', 'PRODUCT-PRICE-FMT' => 'Wrong price format', 'PRODUCT-ENABLED-FMT' => 'Wrong enabled format', 'PRODUCT-WEIGHT-FMT' => 'Wrong weight format', 'PRODUCT-FREE-SHIP-FMT' => 'Wrong shippable format', 'PRODUCT-USE-SEP-BOX-FMT' => 'Wrong use separate box format', 'PRODUCT-ARRIVAL-DATE-FMT' => 'Wrong arrival date format', 'PRODUCT-DATE-FMT' => 'Wrong date format', 'PRODUCT-UPDATE-DATE-FMT' => 'Wrong update date format', 'PRODUCT-INV-TRACKING-FMT' => 'Wrong inventory tracking format', 'PRODUCT-STOCK-LEVEL-FMT' => 'Wrong stock level format', 'PRODUCT-LOW-LIMIT-NOTIF-FMT' => 'Wrong low stock notification format', 'PRODUCT-LOW-LIMIT-LEVEL-FMT' => 'Wrong low limit level format', 'PRODUCT-NAME-FMT' => 'The name is empty', 'PRODUCT-BOX-WIDTH-FMT' => 'Wrong box width format', 'PRODUCT-BOX-LENGTH-FMT' => 'Wrong box length format', 'PRODUCT-BOX-HEIGHT-FMT' => 'Wrong box height format', 'PRODUCT-ITEMS-PRE-BOX-FMT' => 'Wrong items per box format', 'PRODUCT-CLEAN-URL-FMT' => 'Wrong format of Clean URL value (allowed alpha-numeric, "_" and "-" chars)', 'PRODUCT-IMG-LOAD-FAILED' => 'Error of image loading. Make sure the "images" directory has write permissions.');
 }
예제 #5
0
 /**
  * Get messages
  *
  * @return array
  */
 public static function getMessages()
 {
     return parent::getMessages() + array('ATTR-PRODUCT-FMT' => 'The product with "{{value}}" SKU does not exist', 'ATTR-POSITION-FMT' => 'Wrong position format', 'ATTR-GROUP-FMT' => 'The "{{value}}" group is not created', 'ATTR-TYPE-FMT' => 'Wrong type format', 'ATTR-NAME-FMT' => 'The name is empty');
 }
예제 #6
0
 /**
  * Get messages
  *
  * @return array
  */
 public static function getMessages()
 {
     return parent::getMessages() + array('REVIEW-PRODUCT-FMT' => 'Unknown product is stated', 'REVIEW-RATING-FMT' => 'Rating is in wrong format', 'REVIEW-DATE-FMT' => 'Date is in wrong format', 'REVIEW-EMAIL-FMT' => 'Email is in wrong format', 'REVIEW-STATUS-FMT' => 'Unknown or missing status', 'REVIEW-USEFORMETA-FMT' => 'Unknown or missing useForMeta flag');
 }
예제 #7
0
 /**
  * Get messages
  *
  * @return array
  */
 public static function getMessages()
 {
     return parent::getMessages() + array('USER-LOGIN-FMT' => 'Wrong login format', 'USER-ADDED-FMT' => 'Wrong added format', 'USER-FLOGIN-FMT' => 'Wrong first login date format', 'USER-LLOGIN-FMT' => 'Wrong last login date format', 'USER-STATUS-FMT' => 'Wrong status format', 'USER-REFERER-FMT' => 'Wrong referer format', 'USER-LANGUAGE-FMT' => 'Wrong language format', 'USER-SHPADDR-FMT' => 'Wrong shipping address format', 'USER-BILADDR-FMT' => 'Wrong billing address format', 'USER-CCODE-FMT' => 'Wrong country code format', 'USER-SID-FMT' => 'Wrong state id format');
 }