入门指南
Magento2实战
Magento学习指南
帮助中心
问答
问答社区
提问
话题
我的问答
工作机会
发布工作
近期工作
文章
集市
收费主题
收费插件
购买积分
我的订单
出售产品
官方文档
Magento 2.4 开发文档
Magento 2.3 开发文档
Magento PWA 开发文档
学习资源
常用工具
Composer 教程
Elasticsearch 教程
knockout-js 教程
Mysql教程
Nginx教程
PHP教程
RabbitMQ 教程
React教程
Redis 教程
RequireJS 教程
Varnish 教程
提问
×
没有产品在购物车中。
去商店
欢迎游客
登入
註冊
忘记密码?
Magento中文社区
问问题
排序:
热门
类别
标签
清除筛选
You are making some changes to your existing action controller \MyCompany\MyModule\Controller\Index\Index public function __construct( \Magento\Framework\App\Action\Context $context,
, \Magento\Framework\View\Result\PageFactory $resultPageFactory){ You want to inject a new dependency to the controller, but you encounter the following error after flushing the cache and reloading the page: Recoverable Error: Argument 2 passed to MyCompany\MyModule\Controller\Index\Index::__construct() must be an instance of
...How do you fix the error?
1.75K 浏览
高级开发Plus人员考试测试题库
0
投票
0
回复
You are working on a custom form in the Admin and the form is too lengthy. To organize the form better, you decide to group the fields into multiple tabs. How do you achieve this?
2.02K 浏览
高级开发Plus人员考试测试题库
0
投票
0
回复
In your phtml template file you need to output a URL inside a JavaScript context. var url = '= /* code here */ ?>'; Which two methods allow you to keep the output XSS-safe?
1.85K 浏览
高级开发Plus人员考试测试题库
0
投票
0
回复
You are creating a new indexer which must run after the targetrule_product_rule index process. When you run bin/magento indexer:reindex, your rule always runs first creating inaccurate data. What is the resolution?
1.88K 浏览
高级开发Plus人员考试测试题库
0
投票
0
回复
You are creating a module that will be sold on the Magento Marketplace. You wish for this module to be easily extensible, and decide to add the capability for other developers to utilize extension attributes. What is the minimum update necessary to enable this capability?
1.89K 浏览
高级开发Plus人员考试测试题库
0
投票
0
回复
You need to add a new column to the sales_shipment and the sales_shipment_grid tables. Other than utilizing the default addColumn methods, what way is automatic?
1.94K 浏览
高级开发Plus人员考试测试题库
0
投票
0
回复
You need to render a product attribute’s raw value as a variable in a script tag. This value will be used to initialize an application on the frontend.
2.05K 浏览
高级开发Plus人员考试测试题库
0
投票
0
回复
You are creating a new indexer which must run after the targetrule_product_rule index process. When you run bin/magento indexer:reindex, your rule always runs first creating inaccurate data. What is the resolution?
1.90K 浏览
高级开发Plus人员考试测试题库
考试
认证
题库
0
投票
0
回复
URL Processing: Base Router URL Composition For example, the URL: http://magento-installation.com/catalog/product/view/id/1 Write structure of the URL, as accepted by the router?
1.80K 浏览
助理开发人员考试测试题库
0
投票
0
回复
What is the default router in Magento 2?
1.84K 浏览
助理开发人员考试测试题库
0
投票
0
回复
Where CMS router, which processes CMS pages in Magento 2.?
1.86K 浏览
助理开发人员考试测试题库
0
投票
0
回复
Front Controller: Creating the List of Routers . Where is located in
-----?
1.87K 浏览
助理开发人员考试测试题库
0
投票
0
回复
You are building a customization for Magento sites that must change the template for the customer account order history view. How do you accomplish this?
1.82K 浏览
助理开发人员考试测试题库
0
投票
0
回复
For fraud prevention purposes, you need to notate the IP address from which a user adds an item to their cart. Which event will allow you access to every cart addition?
1.88K 浏览
助理开发人员考试测试题库
0
投票
0
回复
You need to locate several products. You run this code: $productRepository->getList($criteriaBuilder->addFilter(‘type_id’, ‘bundle’)->getItems(); However, you get an error: Type SearchCriteriaInterface expected. What is the solution?
1.73K 浏览
助理开发人员考试测试题库
0
投票
0
回复
You have injected \Magento\Framework\Api\SearchCriteria into the constructor method. You then wrote the following code in a method: 1: $search = $this->searchCriteria->setSortOrders([‘entity_id ASC’]); 2: $this->productRepository>getList($search); When running this code, you get an error: Fatal error: Uncaught TypeError: Argument 1 must be an instance of SortOrder, string given. What are two errors present in the examples given?
1.80K 浏览
助理开发人员考试测试题库
0
投票
0
回复
How do you make a new category attribute available to be edited in the admin panel?
1.74K 浏览
助理开发人员考试测试题库
0
投票
0
回复
You are customizing a Magento website that will be connected to an ERP through the REST API. Also on this website, you have written a way for a customer to add comments to the order. These comments need to be sent to the ERP. Keeping maintainability in mind, how do you accomplish this?
1.64K 浏览
助理开发人员考试测试题库
0
投票
0
回复
You are tasked with creating a new EAV attribute. What steps do you take to be able to call the addAttribute method?
1.73K 浏览
助理开发人员考试测试题库
0
投票
0
回复
You are assisting a merchant setting up a Cart Price Rule. They wish to apply free shipping to specific items in the cart (and not the entire cart). How do you implement the filter for the specific products?
1.70K 浏览
助理开发人员考试测试题库
0
投票
0
回复
You are connecting Magento customers with a Customer Relationship Manager (CRM). You need to associate each customer’s CRM unique ID, CRM notes and a list of their current opportunities. This information must always available for each Customer object. You have configured the interface, class implementation and set up extension_attributes.xml What two steps remain to access this data?
1.82K 浏览
助理开发人员考试测试题库
0
投票
0
回复
You are customizing a third-party module and need to prevent an event handler from triggering. Keeping upgradeability in mind, how do you do this?
1.86K 浏览
助理开发人员考试测试题库
0
投票
0
回复
Magento 2 Custom Checkout Fields Extension | Add Custom Field to Order
2.69K 浏览
M2插件和模版分享区
1
投票
0
回复
Installation is incomplete. Check the console log for errors before trying again.
3.17K 浏览
M2安装设置
0
投票
0
回复
A field name was provided without a field value in zend-http/src/Headers.php:192
2.68K 浏览
M2交流区
0
投票
0
回复
« 上一页
1
2
…
37
38
39
40
下一页 »
登录
用户名/邮箱/手机
密码
登录
快速登录
注册
|
忘记密码?