Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.
0
votes
Magento 2: Create a Custom Header
Step 1: Create an XML file on the following path as below
app/design/frontend/Vendor/Theme/Magento_Theme/layout/default.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSche …
1
vote
Accepted
Magento2: Add new top-menu item in customer menu
You can add it by following the below steps
Create default.xml file in your custom module with below content
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noN …
2
votes
Accepted
Magento 2: Add password strength meter in custom form
You can use below code after the password field.
<div id="password-strength-meter-container" data-role="password-strength-meter" aria-live="polite">
<div id="password-strength-meter" class="passw …
2
votes
Accepted
Upgrade Magento 2.2 to Magento 2.3
"OSL-3.0",
"AFL-3.0"
],
"require": {
"magento/product-community-edition": "2.3.2",
"composer/composer": "@alpha",
"msp/devtools": ">=1.2",
"magepal/magento2 … -gmailsmtpapp": ">=1.5",
"mailchimp/mc-magento2": "^1.0",
"ebizmarts/magento2-mandrill": "^3.0",
"mirasvit/module-search-ultimate": "*"
},
"require-dev": {
"phpunit …
1
vote
Getting error related to instance of for abstract model class when trying to override functi...
In general, Magento caches the data of the files in var/ and generated/ folder, so if you clear the var/ and generated/ content then Magento will regenerate the interceptor.
rm -rf var/ generated/
…
1
vote
Accepted
Change select Name Suffix to input in shipping address: Magento 2
You can enable the Select name suffix by following the below steps on the Live.
Go to Magento Admin > Stores > Configuration > Customers > Customers Configuration.
Find the "Name and Address" option …
1
vote
how to understand the magento 2 any module work flow and architecture
Below are some links of the guides which can help you to understand the workflow of the Magento modules.
https://www.cloudways.com/blog/create-module-in-magento-2/
https://www.mageplaza.com/m …
1
vote
Magento 2: Swatches property to resize from CSS
Edit app/design/frontend/{Package}/{themename}/etc/view.xml file for change swatches image size.
<media>
<images module="Magento_Catalog">
<image id="swatch_image" type="swatch_image">
…
2
votes
Accepted
Magento 2: Customer group price quantity
Tier pricing lets you offer a quantity discount from a product listing or product page in the storefront. The discount can be applied to a specific store view or customer group.
In the Qty field, ent …
1
vote
Magento 2: Update Handle in xml file
For a particular page, its layout is defined by two major layout components: page layout file and page configuration file.
A page layout file defines the page wireframe, for example, one-column layou …
0
votes
Accepted
How to remove Default Grand Total from View Order Page Backend in Magento2?
As mentioned in How to override Adminhtml template files in Magento 2.3?
Put below content in your total.phtml file
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for …
0
votes
An error has happened during application run. See exception log for details in Magento 2
each() function is deprecated in php7.2 you can replace each() function to foreach() in /vendor/colinmollenhour/cache-backend-file/File.php example below.
From
while (list($name, $value) = each( …
0
votes
Accepted
Magento 2: Getting custom product attribute value
You can try below code to get the ordered product attribute data.
protected $logger;
protected $orderModel;
protected $productCollection;
public function __construct(
\Psr\Log\LoggerInterface $l …
0
votes
Magento 2: Hide success message after 5 seconds in mobile screen
You can do it by overriding the Magento's messages-mixin.js in your custom module.
view/frontend/requirejs-config.js
var config = {
config: {
mixins: {
'Magento_Theme/js/ …
3
votes
Magento 2: Paypal Oder Place Event
The checkout_submit_all_after event will not worked with PayPal. You can use the paypal_express_place_order_success event for a PayPal order success.
app/code/Vendor/Paypal/etc/events.xml
<?xml …