DHL Shipment tracking

Hello,

Does anyone use the DHL Express shipping module to handle the DHL shipping option? The module works fine but there’s an error thrown when trying to track a shipment. The message says: “Tracking information is currently not available. Please contact us for more information at [email address]”

Has anyone had the same problem? I can’t seem to find the settings in the admin panel.

submitted by /u/PigPanzer
[link] [comments]

11 Ways to Speed Up your Magento Admin Panel

It is crucial to speed up the Magento 2 admin panel for frontend Speed Optimization and Backend Speed Optimization.

  1. Clear Cache
  2. Review Installed Extensions
  3. Clean up Outdated, Unused, or Hidden Products and Categories
  4. Fine-Tune Your Reindexing Operations
  5. Pin Down Inefficiencies in the Database Structure
  6. Opt for Themes that Are Lightweight
  7. Switch to the Latest Magento 2 Version & PHP Version
  8. Enable JavaScript File Merging
  9. Make Sure Magento Runs in Production Mode
  10. Clean Database from Excessive Third-Party Logs
  11. Increase Memory Limit If Your Magento 2 Admin Panel Doesn’t Work

Check above link for detailed process

submitted by /u/vihadigital
[link] [comments]

Github workflow to run test on module repo.

Hi everyone, I am new to Magento and I have a query. I hope I will get some ideas on it.

We are working on a Magento payment module, let’s call it ABC. We are using Docker for the development. So, for development, we are using a Magento image and adding the module code to the htdocs/app/code via volumes from docker-compose.yml. Our Github repo contains the module code only. We have added some tests for the module under app/code/ABC/Payment/Test folder. We want to setup a Github workflow that will run the test automatically on pull request.

The issue is some of the code depends on the Magento core classes like MagentoFrameworkAppConfigScopeConfigInterface, MagentoStoreModelStoreManagerInterface and so on which won’t be available in our Github repo. Is there any Github actions with which we can setup Magento, copy the module codes into it and run the module’s tests? Any help would be greatly appreciated. We are unable to figure this out.

Thank you for your attention.

submitted by /u/aacssh
[link] [comments]

How to set up Google Analytics eCommerce Tracking with Tag Manager in Adobe Commerce?

Google Analytics comprises diverse reporting features, which help the organizations to understand their market position and their overall performance in a specific period. The various features of google analytics include eCommerce tracking, conversion, and goal-related tracking, demographics, visitor segmentation, and funnel visualization.

Setup GA for Adobe Commerce (Magento) in five steps:

  1. Prerequisites for Google Analytics
  2. Configuring General eCommerce Tracking in Google Analytics in Magento 2
  3. How to Set Up Google Analytics Enhanced eCommerce Tracking in Magento 2
  4. Authenticating Your Analytics Connection
  5. How to Set Up a Google Tag Manager Account

Setup GA with step by step Visualize guide from blogpost set up Google Analytics eCommerce Tracking with Tag Manager in Adobe Commerce

submitted by /u/vihadigital
[link] [comments]

Magento Ecommerce Development: 10 things you have to know

The eCommerce market is upgrading and becoming competitive day by day. To win the race and remain in the top searches. You need the best Magento eCommerce development website where you will get many exciting features.

Magento is one of the most popular open-source eCommerce platforms in the world. Its flexibility and reliability attract small and large businesses that want to make their mark in the industry.

If you’re considering building an eCommerce site using Magento, keep these points in mind to get the most out of your experience as you plan and develop your site.

  • Their website navigation is excellent
  • The site owner can improve the eCommerce website
  • Not all eCommerce websites have the same features
  • Some are using too many plugins that negatively impact their performance
  • Check out what the competition is doing right or wrong.
  • Prioritize your visitors’ needs over your own goals.
  • Designing a great user experience does make a difference.
  • Never hesitate to make design improvements.
  • Sometimes it’s better to go with external support rather than internal resources.

submitted by /u/rvsmediauk
[link] [comments]

Help: Custom Config XML Merging Error

On a new Magento 2.4.4 instance, I’ve created a custom XML config file with matching XSD and the supporting functionality using mostly virtual types:

 

When attempting to override/merge an existing config value in another module, I am getting an error during setup:upgrade: More than one node matching the query. Here’s an abstracted example to illustrate – the correct XML declaration has been used and the XSD utilised:

 

Vendor/Module/etc/custom_config.xml:

<config> <parent parent_attribute="parent_attribute_value"> <child child_attribute_1="child_attribute_1_value" child_attribute_2="child_attribute_2_value"/> </parent> </config> 

 

Vendor/ModuleTwo/etc/custom_config.xml:

<config> <parent parent_attribute="parent_attribute_value"> <child child_attribute_2="different_child_attribute_2_value"/> </parent> </config> 

 

I’ve used a <virtualType> to declare my config reader class and with the following idAttributes config added via di.xml:

<virtualType name="VendorModuleModelConfigReader type="MagentoFrameworkConfigReaderFilesystem"> ... <argument name="idAttributes" xsi:type="array"> <item name="/config/parent" xsi:type="string">parent_attribute</item> <item name="/config/parent/child" xsi:type="string">child_attribute_1</item> </argument> ... </virtualType> 

 

Full code snippets:

 

Vendor/Module/etc/custom_config.xsd:

<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <!-- Config Node --> <xs:element name="config"> <xs:complexType> <xs:sequence> <xs:element name="parent" type="parent" minOccurs="1" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> <!-- Parent Node --> <xs:complexType name="parent"> <xs:sequence> <xs:element name="parent_attribute" type="attributeConfig" minOccurs="1" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="type" type="childType" use="required"/> </xs:complexType> <xs:simpleType name="childType"> <xs:restriction base="xs:string"> <xs:enumeration value="parent_attribute_value"/> <xs:enumeration value="parent_attribute_value_two"/> </xs:restriction> </xs:simpleType> <!-- Child Node --> <xs:complexType name="attributeConfig"> <xs:attribute name="child_attribute_1" type="xs:string" use="required"/> <xs:attribute name="child_attribute_2" type="xs:string" use="optional"/> </xs:complexType> </xs:schema> 

 

Vendor/Module/etc/di.xml:

<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <virtualType name="VendorModuleModelConfigData" type="MagentoFrameworkConfigData"> <arguments> <argument name="cacheId" xsi:type="string">vendor_module_custom_config_cache</argument> <argument name="reader" xsi:type="object">VendorModuleModelConfigReader</argument> </arguments> </virtualType> <virtualType name="VendorModuleModelConfigReader" type="MagentoFrameworkConfigReaderFilesystem"> <arguments> <argument name="converter" xsi:type="object">VendorModuleModelConfigConverter</argument> <argument name="fileName" xsi:type="string">custom_config.xml</argument> <argument name="idAttributes" xsi:type="array"> <item name="/config/parent" xsi:type="string">parent_attribute</item> <item name="/config/parent/child" xsi:type="string">child_attribute_1</item> </argument> <argument name="schemaLocator" xsi:type="object">VendorModuleModelConfigSchemaLocator</argument> </arguments> </virtualType> <virtualType name="VendorModuleModelConfigSchemaLocator" type="MagentoFrameworkConfigGenericSchemaLocator"> <arguments> <argument name="moduleName" xsi:type="string">Vendor_Module</argument> <argument name="schema" xsi:type="string">custom_config.xsd</argument> </arguments> </virtualType> </config> 

submitted by /u/magentothrowaway123
[link] [comments]

Magento 2 – MSI Inventory_reservation

Hi! I’m trying to understand how the reservation process works in Magento with MSI. We have the 2.4.3 version. I am not a developer but I do use a lot the admin and know some stuff about the Magento database.

In the last weeks I have been reading a lot about the Inventory Reservation table, but there are some things that i do not find it clear. Here’s what I got:

Every time an order is placed, it will automatically create a row with the SKUs of that order with a negative reservation with the event type “order_placed“. If the order is cancelled then a positive reservation with the event type “order_cancelled” so it clears with the cron. Same thing when the shipment is created with the “shipment_created” and the “order_place_failed“. Please correct me if I’m wrong.

Now, here’s where i get stuck with some situations that we have encountered. We have some reservations that do not have an order created in the Sales Order table. I believe this was because an error when the customer was placing the order, but there’s no “order_placed_failed” event that compensates the original reservation. Is it this way? Why it wouldn’t create that positive reservation with the other event?

On the other hand, I have some issued with that reservations that do have an order created which are in “new” state and “pending” status. which already have a row of “order_place_failed” as well. How could it be that the order was created? I can’t find a logic about that.

And the last situation is that sometimes when an order is cancelled, Magento sometimes creates more than one row of “order_cancelled” for the same SKU, so it never compensates correctly to 0 and we have to delete those rows manually. Is that common as well?

Thanks so much in advance and I’m sorry about my english. I’m trying to understand the behaviour of the table in the best way as possible for a better understanding of it.

submitted by /u/Nachios
[link] [comments]

SKUs processed but not all added to category

Hi everyone,

We are having an issue where we are adding products to categories by copy and pasting the SKUs into the SKU field.

Afterwards, there’s a confirmation that over a thousand SKUs are processed successfully, however, after saving and closing only about 150 are shown in the category (150 records found).

Any reasons why this might be happening?

Thanks

submitted by /u/meiguoren224
[link] [comments]

Group Changing to Not Logged I

Hello, we have a strange issue, and we are having trouble tracking it down. It happens on many/ most of our M2 stores, and we’re not sure why.

Occasionally, and seemingly randomly, one or more users’ customer group will change to “Not Logged In”. This manifests itself by showing no group in the customer grid (and not allowing a user to log in due to store restrictions).

Basically, I’ve been running the query below to check every day and manually moving those users back into the group that they should be in.

select * from customer_entity where group_id = 0

Has anyone seen this before or have any advice? We can’t seem to track it down as we can’t see anything (like a log) that shows it happening.

Edit: Missed a letter in my title – it should say Not Logged In (obvi)

Edit2: I’ve gone through all of our stores and determined which stores are experiencing this issue and comparing 3rd party extensions across them. The ONLY extension that is on the stores having this trouble and not on the others is Mirasvit Store Credit, so we’re looking into that. If anyone uses that extension and has this issue, please let me know. Thanks!

submitted by /u/turtledave
[link] [comments]

What worries new Magento store owners most?

Hi Magento fellas! I want to understand the recent concerns of new store owners when opening their Magento business. So I would highly appreciate it if you could let me know the specifics in the comment section below, esp. those who have opened their store this year. Things like sales conversion, hosting/server, email marketing, store development.

All ideas are welcome! Thanks in advance!

submitted by /u/Carolinesolkarishma
[link] [comments]