Blog
I’m working with Magento 2.3 and need to use Three.js for a graphic interface. The interface uses OrbitControls.js, a non-AMD compliant library. The version of Three I’m using is r89. I have no idea about the version or Orbit Controls. How do I setup my code so i can use […]
$objectManager = MagentoFrameworkAppObjectManager::getInstance(); $storeManager = $objectManager->get('MagentoStoreModelStoreManagerInterface'); $rootCatNode = $data['catalog'][0]; $websiteId = $storeManager->getWebsite()->getWebsiteId(); $store = $storeManager->getStore(); $storeId = $store->getStoreId(); $rootNodeId = $store->getRootCategoryId(); $rootCat = $objectManager->get('MagentoCatalogModelCategory'); $cat_info = $rootCat->load($rootCatNode); echo ""; foreach($data['catalognew'] as $newdata){ $getCatData = $objectManager->create('MagentoCatalogModelCategory')->load($newdata); $categoryFactory = $objectManager->get('MagentoCatalogModelCategoryFactory'); // if($getCatData->getLevel()==2) { $categoryTmp = $categoryFactory->create(); $categoryTmp->setName($getCatData->getName()); $categoryTmp->setIsActive(true); $categoryTmp->setUrlKey(rand(0, 999)); $categoryTmp->setData('description', 'description'); […]
I’m new in Magento, and if someone can bring me some light is there a way to overwrite the calculation method when discount is applyed? Mage version 1.9.4. The problem is for eaxmple how mage is calculating the product price exl. vat , and apply VAT after discount //We have […]
Changes on my site aren’t showing up unless I load a previously unloaded product. I’ve tried removing pub/static admin and frontend I removed generated, var/cache, and var/view_preprocessed I cleaned and flushed the cache, used all 3 of the cache cleaning buttons in the lower corner (images, js etc) When I […]
I am using magento 2.3.3, when I click on the checkboxes of the cache and index backend management they are not selected. When I click on select all button or select only visible button they are selected, it doesn’t work only when I use the mouse click.
Hi everyone and thank you for your time! ^_^ I’m currently building a cluster with a small 64bit computer and some 32bit laptops. The 64 bit works fine with kubernetes, but I cannot install/compile kubernetes on the 32 bit machines. 64 bit machine: i3 – 8GB ram – 512GB SSD […]
we build the following loop in bash script until [[ $completed == true ]] do if ..... then echo "procedure ended" break # break the for looop else . . fi . . done we want to exit from the loop , when procedure ended ( see echo "procedure ended" […]