There is the task to create a custom product attribute that controls the display of a message below the product title on the cart page, in order to identify products that might be delivered late.The new EAV attribute is_delayed has been created as a boolean and is working correctly in the admin panel and product page.What would be the next implementation to allow the is_delayed EAV attribute to be used in the .phtml cart page such as $block->getProduct()->getIsDelayed()?
An Adobe Commerce developer is creating a module (Vendor_ModuleName) to be sold on the Marketplace. The new module creates a database table using declarative schema and now the developer needs to make sure the table is removed when the module is disabled.What must the developer do to accomplish this?
An Adobe Commerce developer is trying to create a custom table using declarative schema, but is unable to do so.What are two errors in the snippet above? (Choose two.)
An Adobe Commerce developer wants to create a product EAV attribute programmatically which should appear as WYSIWYG in the admin panel. They have made sure that wysiwyg_enabled has been set to true, however, the attribute is not appearing as WYSIWYG in the admin panel.What would be a possible reason?
An Adobe Commerce developer is tasked with adding custom data to orders fetched from the API.While keeping best practices in mind, how would the developer achieve this?
An Adobe Commerce developer has created a new shipping carrier. Everything has been implemented and the collectRates() and getAllowedMethods() functions can be seen below:Given the above code, what would be the displayed cost of the shipping method and final amount charged to the customer?