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
50
50
51
51
const VALIDATOR_WEBSITE = 'validator_website ' ;
52
52
53
- const VALIDATOR_TIER_PRICE = 'validator_tier_price ' ;
53
+ const VALIDATOR_TEAR_PRICE = 'validator_tier_price ' ;
54
54
55
55
/**
56
56
* Validation failure message template definitions.
@@ -221,7 +221,7 @@ public function __construct(
221
221
$ this ->_catalogProductEntity = $ this ->_resourceFactory ->create ()->getTable ('catalog_product_entity ' );
222
222
$ this ->_oldSkus = $ this ->retrieveOldSkus ();
223
223
$ this ->_validators [self ::VALIDATOR_WEBSITE ] = $ websiteValidator ;
224
- $ this ->_validators [self ::VALIDATOR_TIER_PRICE ] = $ tierPriceValidator ;
224
+ $ this ->_validators [self ::VALIDATOR_TEAR_PRICE ] = $ tierPriceValidator ;
225
225
$ this ->errorAggregator = $ errorAggregator ;
226
226
227
227
foreach (array_merge ($ this ->errorMessageTemplates , $ this ->_messageTemplates ) as $ errorCode => $ message ) {
@@ -536,7 +536,7 @@ protected function getWebSiteId($websiteCode)
536
536
*/
537
537
protected function getCustomerGroupId ($ customerGroup )
538
538
{
539
- $ customerGroups = $ this ->_getValidator (self ::VALIDATOR_TIER_PRICE )->getCustomerGroups ();
539
+ $ customerGroups = $ this ->_getValidator (self ::VALIDATOR_TEAR_PRICE )->getCustomerGroups ();
540
540
return $ customerGroup == self ::VALUE_ALL_GROUPS ? 0 : $ customerGroups [$ customerGroup ];
541
541
}
542
542
You can’t perform that action at this time.
0 commit comments