An international merchant is complaining that changes are taking too long to be reflected on the frontend after a full product import.
Thinking it may be database issues, the Adobe Commerce developer collects the following entity counts:
* Categories: 900
* Products: 300k
* Customers: 700k
* Customer groups : 106
* Orders: 1600k
* Invoices: 500k
* Creditmemos: 50k
* Websites : 15
* Stores : 45
What is a probable cause for this?
The probable cause for the delay in reflecting the changes on the frontend after a full product import is the combination of the number of products, customer groups and websites. This leads to a huge amount of values being stored in the price index which is too large to be processed at a normal speed. The price index calculates the final price of each product for each customer group and website, taking into account various factors such as tax, discounts, catalog price rules, etc. When there are many products, customer groups and websites, the price index becomes very complex and time-consuming to update. Verified Reference: [Magento 2.4 DevDocs] [Magento Stack Exchange]
An Adobe Commerce developer has installed a module from a third-party vendor. This module fires a custom event named third_party_event_after and also defines an observer named third_party_event_after_observer that listens to that event. The developer wants to listen to this custom event in their own module but wants to execute their observer's logic after the third_party_event_after_observer observer has finished executing.
What would the developer do to ensure their observer runs after the observer defined by the third-party module?
To ensure that the developer's observer runs after the observer defined by the third-party module, they need to set the sort order of the new observer to be less than that of the third-party vendor's observer.
The sort order is a number that is assigned to each observer. The lower the number, the earlier the observer will be executed.
For example, if the third-party vendor's observer has a sort order of 10, the developer's observer would need to have a sort order of 9 or lower.
An Adobe Commerce developer is about to deploy a critical feature to their Adobe Commerce Cloud (Pro Plan) production. They want to create a snapshot in order to be able to rollback if there is an issue with the feature.
How would they create the snapshot?
The developer can create a snapshot before deploying a critical feature to their Adobe Commerce Cloud (Pro Plan) production by using the dedicated button on Project Web Interface. A snapshot is a backup of an entire environment, including code, data, media files, and configuration settings. A snapshot can be used to restore an environment to a previous state in case of any issues or errors during deployment or testing. The developer can create a snapshot by accessing the Project Web Interface, choosing an environment, and clicking Create Snapshot. Verified Reference: [Magento 2.4 DevDocs]
An Adobe Commerce developer is tasked to add a file field to a custom form in the administration panel, the field must accept only .PDF files with size less or equal than 2 MB. So far the developer has added the following code within the form component xml file, inside the fieldset node:

How would the developer implement the validations?
A)
Add the Validations Within the HyVendor\MyModule\Controller\Adminhtml\CustomEntity\UploadPdf Controller

B)
Add a virtual type forMyvendor\MyModuie\Modei\customPdfupioader specifying the aiiowedExtensions and the maxFiiesize for the constructor, within the module's di.xmi:

C)
Add the following code inside the

The developer can add a virtual type for Myvendor\MyModuie\Modei\customPdfupioader specifying the aiiowedExtensions and the maxFiiesize for the constructor, within the module's di.xmi. This way, the developer can reuse the existing file uploader class and customize it for the specific field without modifying the core code. Verified Reference: [Magento 2.4 DevDocs] [Magento Stack Exchange]
On an Adobe Commerce Cloud platform, what type of environment will be provisioned when launching the CLI for Commerce command magento-cloud environment:branch
The type of environment that will be provisioned when launching the CLI for Commerce command magento-cloud environment:branch <environment-name>
Jesusita
1 day agoGilberto
10 days agoCarlota
17 days agoRachael
25 days agoShawnda
1 month agoElizabeth
1 month agoElena
2 months agoMelodie
2 months agoMertie
2 months agoMelynda
2 months agoBenton
3 months agoBeckie
3 months agoCarissa
3 months agoElina
3 months agoOneida
4 months agoSabrina
4 months agoMattie
4 months agoDaniela
4 months agoRemona
5 months agoBilly
5 months agoCorrina
5 months agoUla
5 months agoJacquline
5 months agoTricia
6 months agoJina
6 months agoEladia
6 months agoSophia
8 months agoFidelia
8 months agoSharita
9 months agoShawna
9 months agoAntione
9 months agoVi
10 months agoKristel
10 months agoSkye
11 months agoGussie
11 months agoCristen
12 months agoTequila
1 year agoDonette
1 year agoOzell
1 year agoPaulina
1 year agoMarylyn
1 year agoNatalie
1 year agoIsaiah
1 year agoMargarita
1 year agoMicheal
1 year agoBettye
1 year agoBernardine
1 year agoDesiree
1 year agoDick
1 year agoAhmed
1 year agoDelmy
1 year agoLeontine
1 year agoWeldon
1 year agoSerina
1 year agoEdelmira
1 year agoFairy
1 year agoIsaac
1 year agoVirgina
1 year agoLouann
1 year agoDallas
1 year agoVicki
1 year agoSylvia
1 year agoAshanti
1 year agoGeorgeanna
2 years agoStephaine
2 years agoMartha
2 years agoDesire
2 years agoSherman
2 years agoSharika
2 years agoAnnmarie
2 years agoCyndy
2 years agoLarue
2 years agoDoyle
2 years ago