You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function addStoreLabel($storeId)
{
// if not called previously
if ($this->_addedStoreLabelsFlag === false) {
$adapter = $this->getConnection();
$joinExpression = $adapter
->quoteInto('al.attribute_id = main_table.attribute_id AND al.store_id = ?', (int)$storeId);
$this->getSelect()->joinLeft(
['al' => $this->getTable('eav/attribute_label')],
$joinExpression,
['store_label' => $adapter->getIfNullSql('al.value', 'main_table.frontend_label')]
);
$this->_addedStoreLabelsFlag = $storeId;
} // check that previous call $storeId matches current call
elseif ($this->_addedStoreLabelsFlag !== $storeId) {
throw new Exception('Cannot call addStoreLabel for different store views on the same collection');
}
return $this;
}
OpenMage 20.1.0-rc1, There is big problem, when add more store views,you can't create customers、orders on backend.blow are the error message.
blow function for v20.1.0-rc1
this is for 1.9.4.x
The text was updated successfully, but these errors were encountered: