| @@ 249-258 (lines=10) @@ | ||
| 246 | * Returns wether connect categories have to be recreated or not |
|
| 247 | * @return bool |
|
| 248 | */ |
|
| 249 | public function checkIfConnectCategoriesHaveToBeRecreated() |
|
| 250 | { |
|
| 251 | $configComponent = ConfigFactory::getConfigInstance(); |
|
| 252 | $result = $configComponent->getConfig('recreateConnectCategories'); |
|
| 253 | if ($result === 0) { |
|
| 254 | return true; |
|
| 255 | } |
|
| 256 | ||
| 257 | return false; |
|
| 258 | } |
|
| 259 | ||
| 260 | /** |
|
| 261 | * Returns wether shopId has to be added to ConnectCategories |
|
| @@ 264-273 (lines=10) @@ | ||
| 261 | * Returns wether shopId has to be added to ConnectCategories |
|
| 262 | * @return bool |
|
| 263 | */ |
|
| 264 | public function checkIfShopIdHasToBeAddedToConnectCategories() |
|
| 265 | { |
|
| 266 | $configComponent = ConfigFactory::getConfigInstance(); |
|
| 267 | $result = $configComponent->getConfig('addShopIdToConnectCategories'); |
|
| 268 | if ($result === 0) { |
|
| 269 | return true; |
|
| 270 | } |
|
| 271 | ||
| 272 | return false; |
|
| 273 | } |
|
| 274 | ||
| 275 | /** |
|
| 276 | * Returns a remote connectProduct e.g. for checkout maniputlations |
|