We’re using Magento CE 2.4.6, and we’re looking for implementing slave-master scheme to make our infrastructure more robust and faster. I know this implementation exists on the Magento 2 Entreprise Edition. Is it dangerous to implements this kind of architecture through Magento 2 CE models ? I m wondering a […]
Magento2
I created a observer : <?php namespace VendorModuleObserver; use MagentoFrameworkEventObserver; use MagentoFrameworkEventObserverInterface; use MagentoFrameworkAppRequestInterface; use PsrLogLoggerInterface; class SaveRefToQuote implements ObserverInterface { protected $logger; protected $request; /** * Constructor * * @param LoggerInterface $logger * @param RequestInterface $request */ public function __construct(LoggerInterface $logger, RequestInterface $request) { $this->logger = $logger; $this->request = […]
I have a php variable which stores datetime in this format. next_run=”2025-01-17 09:41:26″ “y-m-d hh:mm:ss” I want to convert it into two custom formats. 1:- in this format the month name and day in numbers “Jan 17” 2:- in this format, this means 17 is the ay number in a […]
I’ve an extension which adding an extra fee for specific payment method. It’s appear in a row like shipping cost ( ex: extra fee – $5 ). What I’m looking for is to update the subtotal directly if there is an extra fee. Can I achieve that ? Thanks in […]
In GraphQL, if we enter wrong field name in search, its will suggest the alternative fields in the response. It creates some security issues in production. So we plan to disable that feature. unfortunately adobe commerce not having the out of box feature. Query: { products( filter: { sku: { […]
I would like to hide some articles in a certain category. So far I have solved this using a plugin: di.xml: <type name=“MagentoCatalogModelLayerCategoryCollectionFilter”> <plugin sortOrder=“1” name=“Vendor_Modulename::aroundProductCollection” type=“VendorModuleNamePluginCatalogCollectionFilter”/> </type> <?php namespace VendorModuleNamePluginCatalog; use MagentoCatalogModelLayerCategoryCollectionFilter as CategoryCollectionFilter; use MagentoCatalogModelResourceModelProductCollection as ProductCollection; use MagentoCatalogModelCategory as Category; class CollectionFilter { public function afterFilter( CategoryCollectionFilter […]
When it comes to building a highly scalable ecommerce platform, online businesses always choose Magento as the number one choice. With… Continue reading on Medium »
A seamless and efficient checkout experience is one of the key factors in driving conversions and reducing cart abandonment on your… Continue reading on Medium »
In the competitive world of e-commerce, a fast-loading website is crucial to providing a seamless user experience, improving conversion… Continue reading on Medium »