Which two attribute input types can be used for a date? (Choose two.)
The two attribute input types that can be used for a date are Date and Time and Date. These input types allow the user to select a date or a date and time from a calendar widget.
The Timezone and Schedule input types do not exist in Adobe Commerce.
Verified Reference: [Adobe Commerce User Guide - Create a product attribute]
In Magento, attribute input types define the type of data an attribute can hold and how it should be inputted or displayed in the UI. For dates, Magento provides specific input types to handle date-related data efficiently. The 'Date' input type is used for attributes that require only a date, without a time component, suitable for birthdays, anniversaries, or any date-specific information. The 'Date and Time' input type, on the other hand, includes both date and time components, ideal for events, promotions, or any scenario where the time of day is relevant. These input types ensure data consistency and provide a user-friendly interface for selecting dates and times.
How can a custom CMS Page be set as a store home page?
To set a custom CMS Page as a store home page, the developer or merchant should follow these steps:
In the Admin panel, go to Content > Pages and create or edit a CMS Page that will be used as a home page.
In the Admin panel, go to Stores > Configuration > General > Web > Default Pages.
In the CMS Home Page field, select the CMS Page that was created or edited in step 1.
Save the configuration.
There is no ''Home Page'' column in the CMS Page admin grid or ''Default Home Page'' value in the CMS Page admin form.
Verified Reference: [Adobe Commerce User Guide - Set up your home page]
In Adobe Commerce, to set a custom CMS page as the store's homepage, you need to go to the store configuration. Specifically, navigate to Content > Design > Configuration, select the relevant store view, and then under the 'Default Pages' tab, set the 'CMS Home Page' option to your custom CMS page. Options A and B do not exist in the Adobe Commerce admin panel for setting a home page.
Which attribute option restricts Catalog EAV attributes to only certain product types?
The apply_to attribute option in Magento's Catalog EAV model restricts the use of certain attributes to specific product types. By specifying product types in the apply_to field, developers can control which attributes are applicable to which types of products, ensuring that attributes are only available where they are relevant and meaningful.
In which two directories are third-party modules located by default? (Choose two.)
By default, third-party modules are located in vendor/ or app/code/ directories. The vendor/ directory contains modules that are installed using Composer, while the app/code/ directory contains modules that are manually copied or cloned from a repository.
Third-party modules in Magento 2 are typically located in two directories by default: the vendor/ directory and the app/code/ directory. The vendor/ directory is used for modules that are installed via Composer, Magento's dependency manager, which includes both Magento's core modules and third-party modules. The app/code/ directory is used for custom modules developed specifically for the project or for third-party modules that are manually installed without Composer. These conventions provide a structured approach to managing Magento modules, whether they are part of Magento's core functionality, contributed by the community, or developed for specific projects.
What will happen if a developer fails to mention the start date in the "From" field when creating a price rule?
If a developer fails to mention the start date in the 'From' field when creating a price rule, the price rule will be saved. However, the price rule will not go into effect until the start date is added.
If a developer fails to mention the start date in the 'From' field when creating a price rule in Adobe Commerce, the system will default to the current date, and the price rule will go into effect as soon as it is saved. The absence of a start date means there is no delay in the activation of the rule, and it becomes effective immediately upon saving.