Daily Archives: January 1, 2020
After installing varnish, I am unable to get to Web Setup Wizard. The browser spins for a while and then I end up on https://example.com:81/setup with an error that Chrome interprets as: took too long to respond. ERR_CONNECTION_TIMED_OUT which I think means a redirect loop. My site is Apache and […]
We have created custom link types like consumable, recommended, etc like cross-sells, upsells, related. Now we would like to implement the import functionality for these custom types. We have written below code on vendor file (Magento/CatalogImportExport/Model/Import/Product.php) so that while import custom link types are working as expected. File Path is: […]
How can i get the Bundle Product Price Dynamic model for multiple stores and websites programmatically or any custom module. Trying below but not working as expected. foreach ($stores as $store) { $obj = MagentoFrameworkAppObjectManager::getInstance(); $obj->get('MagentoStoreModelStore')->setCurrentStore($store->getStoreId()); $product = $obj->get('MagentoCatalogModelProduct')->load('Bundle_ID'); $bundlePro=$product->getPriceInfo()->getPrice('final_price'); // For min price $minPrice = $bundlePro->getMinimalPrice()->getValue(); // for max […]
i am want to show correct product image on my order details page: I am using it as: $_item = $block->getItem(); $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $_product = $objectManager->get('MagentoCatalogModelProduct')->load($_item->getProductId()); $imageHelper = $objectManager->get('MagentoCatalogHelperImage'); $image_url = $imageHelper->init($_product, 'product_page_image_small')->setImageFile($_product->getImage())->resize(100, 100)->getUrl(); but showing main product image its not showing child product image. here i am want […]
I have created a new type of custom option but when I’m trying to delete it it get deleted but the other custom option data gets deleted as well. It only happens if I create the option on sort order 1st position. It also gives JS error in console. screen-shot […]
I cannot connect to Facebook or Imgur through Chrome, Firefox, or Edge, (I’m running Windows 10). This is on my laptop wifi connection, which I’ve tested on 4 different wifi connections (home, school, friends wifi, and work). I can ping and tracert these websites just fine: Example Tracert I’ve already […]