This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 66 20 72 7a 71 79 6e 20 66 73 6e 20 78 6e 20 6b 6a 71 6e 68 6e 79 66 77 6e 20 75 6a 73 79 77 7a 20 68 6a 6e 20 39 20 66 73 6e 20 75 6a 79 77 6a 68 7a 79 6e 20 6e 73 20 6b 6e 77 72 66 21 20 2d 2d 20 41 71 66 69 0d 0a 0d 0a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once "app/Mage.php"; | |
Mage::app(); | |
$storeCodes = array('nl', 'dk', 'es', 'fr'); // new websites to be created - also used to get current store IDs | |
$websiteIds = array(1, 2); // existing websites (default + at) | |
$rooterCategoryId = 2; // root category for the storeGroup | |
foreach ($storeCodes as $code) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once "app/Mage.php"; | |
Mage::app(); | |
$category = Mage::getModel('catalog/category')->load(3); | |
$name = $category->getName(); | |
if (strlen($name)) { | |
header("HTTP/1.1 200 OK"); | |
exit(0); | |
} | |
header("HTTP/1.1 500 Error"); |