I want to make the billing address city field required on the checkout. Any help would be appreciated.
Magento
I created an attribute switch, but how do I get it to work? Also I created an attribute – which I want enable/disable <?php namespace ivanProductAtrrSetupPatchData; use MagentoCatalogModelProduct; use MagentoCatalogSetupCategorySetup; use MagentoEavModelEntityAttributeScopedAttributeInterface; use MagentoFrameworkSetupPatchDataPatchInterface; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoCatalogSetupCategorySetupFactory; class AddProductAtrrEnableAttribute implements DataPatchInterface { /** * @var ModuleDataSetupInterface */ private $moduleDataSetup; […]
I am upgrading to 2.4.5 I am getting this error all through out Magento including the command line, which is being caused by the Manadev extension, do you know what this may be? PHP Fatal error: Declaration of ManadevCoreLoggerHandlersDefaultHandler::write(array $record) must be compatible with MagentoFrameworkLoggerHandlerBase::write(array $record): void in app/code/Manadev/Core/LoggerHandlers/DefaultHandler.php on […]
I want to change the price filter text and range on the layered navigation from: To: Something like this: Under $30.00 $30.00 – $60.00 $60.00 – $90.00 $90.00 – $120.00 $120.00 and Above How can it be done programmatically?
I try to get all products items from MagentoSalesApiOrderRepositoryInterface but i get simples products instead of grouped product. Everything is right with configurables $criteria = $this->searchCriteriaBuilder ->addFilter('created_at', $from, 'gteq') ->addFilter('created_at', $to, 'lteq') ->addFilter('store_id', $storeId,'eq') ->addFilter('status', $status,'eq') ->create(); $orderResult = $this->orderRepository->getList($criteria); $orders = $orderResult->getItems(); and then i get items with foreach […]
As I asked it in the title, I decided to move my Magento Store to a subdomain. I created a showcase site that is published at my main domain. The thing is my store was published for 2 years and even if I didn’t work on SEO improvments, my website […]
I’m getting errors in Left join, below is my code. $motorcyclebookFactory = $this->motorcyclebookFactory->create() ->getCollection() ->addFieldToFilter('product_id', $productCollectionData->getId()); $motorcyclebookFactory->getSelect()->joinLeft( 'rider_detail as wrd', 'wrd.booking_id = main_table.booking_id', ['booking_id', 'booking_series_id'] ); Error is { "code": "500", "message": "SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'product_id' in where clause is ambiguous, query was: SELECT `main_table`.*, `wrd`.`booking_id`, `wrd`.`booking_series_id` […]
Magento 2.4.5 Porto theme What is the easiest way to upgrade Magento 2.4.5 to Magento 2.4.5 p1 which was released on October 11th?
I’m trying to change the logo of my Magento store so I go to Content > Design > Configuration, I click Edit on the Default Store View, I scroll down to Other Settings and open Header… I already have a logo there so I click on the trash icon to […]