Skip to content

module

Auto Added by WPeMatico

ViewContent meta Pixel is not displaying in PDP Page

We are using below code from this github extension for tracking meta facebook pixel events in our Magento PWA Venia Site. $product = $this->registry->registry(‘current_product’); if ($product && $product->getId()) { $customData[‘value’] = $this->_magentoDataHelper->getValueForProduct($product); $customData[‘content_ids’] = [$product->getId()]; $customData[‘content_category’] = $this->_magentoDataHelper->getCategoriesForProduct($product); $customData[‘content_name’] =… Read More »ViewContent meta Pixel is not displaying in PDP Page

upgrading from magento2.2.5 to 2.3.5 I’m facing this issue

I’m upgrading from magento2.2.5 to 2.3.5 I’m facing this issue PHP Fatal error: Uncaught Error: Class ‘MagentoFrameworkComponentComponentRegistrar’ not found in app/code/<Vendor>/<ModuleName>/registration.php file <?php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::MODULE, ‘Vendor_Module’, __DIR__ ); can anyone please help me.

updating product description via coding correctly shows text on product page but admin side’s edit description with pagebuilder shows old values?

In my custom module, I am able to set the description of an existing product successfully using the code below & the product url shows correct output for description: $product = $this->productRepository->get(‘q783’); $product->setData(‘description’,’hello world’); $this->productRepository->save($product); However, this programmatically saved description… Read More »updating product description via coding correctly shows text on product page but admin side’s edit description with pagebuilder shows old values?

There are no commands defined in the “setup:cron” namespace after upgrade to Magento 2.4.6-p3

After upgrading to magento 2.4.6-p3 in system.log and cron.log it is generating same error daily i.e – main.ERROR: There are no commands defined in the “setup:cron” namespace. Did you mean one of these? setup setup:config setup:db setup:db-data setup:db-declaration setup:db-schema setup:di… Read More »There are no commands defined in the “setup:cron” namespace after upgrade to Magento 2.4.6-p3

Override Braintree Config.xml via Custom Module

Below is an except from vendor/paypal/module-braintree-core/etc/config.xml and I am curious how to add new credit card to, <cctypes_braintree_mapper> via a custom module. Is this done via a di.xml file or a new config.xml file? <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Store:etc/config.xsd”> <default> <payment> <braintree>… Read More »Override Braintree Config.xml via Custom Module