File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/AdvancedPricingImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\Abstract
5050
5151 const VALIDATOR_WEBSITE = 'validator_website ' ;
5252
53- const VALIDATOR_TIER_PRICE = 'validator_tier_price ' ;
53+ const VALIDATOR_TEAR_PRICE = 'validator_tier_price ' ;
5454
5555 /**
5656 * Validation failure message template definitions.
@@ -221,7 +221,7 @@ public function __construct(
221221 $ this ->_catalogProductEntity = $ this ->_resourceFactory ->create ()->getTable ('catalog_product_entity ' );
222222 $ this ->_oldSkus = $ this ->retrieveOldSkus ();
223223 $ this ->_validators [self ::VALIDATOR_WEBSITE ] = $ websiteValidator ;
224- $ this ->_validators [self ::VALIDATOR_TIER_PRICE ] = $ tierPriceValidator ;
224+ $ this ->_validators [self ::VALIDATOR_TEAR_PRICE ] = $ tierPriceValidator ;
225225 $ this ->errorAggregator = $ errorAggregator ;
226226
227227 foreach (array_merge ($ this ->errorMessageTemplates , $ this ->_messageTemplates ) as $ errorCode => $ message ) {
@@ -536,7 +536,7 @@ protected function getWebSiteId($websiteCode)
536536 */
537537 protected function getCustomerGroupId ($ customerGroup )
538538 {
539- $ customerGroups = $ this ->_getValidator (self ::VALIDATOR_TIER_PRICE )->getCustomerGroups ();
539+ $ customerGroups = $ this ->_getValidator (self ::VALIDATOR_TEAR_PRICE )->getCustomerGroups ();
540540 return $ customerGroup == self ::VALUE_ALL_GROUPS ? 0 : $ customerGroups [$ customerGroup ];
541541 }
542542
You can’t perform that action at this time.
0 commit comments