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.
1
vote
Magento 2 command line for php bin/magento setup:upgrade
Clear cache and delete generated folder then try again.
Check if you have magento file in bin directory
If vendor folder is not in .gitignore file then check if some file
are missing from core by 'gi …
0
votes
Magento 2.2.7 sequence_order_1 after removing database prefix error creating orders
Did you removed the table_prefix from app/etc/env.php?
Below is reference code:
'db' => [
'table_prefix' => '',
'connection' => [
'default' => [
'host …
0
votes
2
answers
400
views
Override framework file vendor/magento/framework/View/Element/Html/Link/Current.php
Any one know how to override vendor/magento/framework/View/Element/Html/Link/Current.php file in M-2.3 ?
Tried:
1) Add class using XML: failed
2) Created plugin to override the function: failed.
3) …
0
votes
Override framework file vendor/magento/framework/View/Element/Html/Link/Current.php
As above all above I have tried was not working so added class by js like:
iterated the all li element then get the text and set it to class and used same class to add css changes.
If anyone find bet …
5
votes
Custom section data not rendering on page load
This worked for me:
define([
'Magento_Customer/js/customer-data'
], function ($, customerData) {
'use strict';
var sections = ['cart'];//replace cart with your custom section name if you …
0
votes
Magento 2.3 - Overide \magento\zendframework1\library\Zend\Locale\Data\xx.xml
If you want to change timezone then you can look from below options:
STORES -> Configuration -> General -> General -> Locale Options, Here we can change the 'Timezone' field by switching to required …
0
votes
Problem in Checkout Page
Can you check console, exception log for further debugging.
3
votes
0
answers
87
views
js not loading properly in backend product edit while click on show/hide of description fiel...
This issue specific to production mode of Magento 2.2.4.
Js is appending in product edit url like :
base_url/admin/catalog/product/edit/id/57473/set/12/key/0225361c458609d4c7d2cd0ecaa40b96dab87a5 …
3
votes
How to fetch product attribute value in phtml file in Magento 2?
Use below, it worked for me:
$_helper = $this->helper('Magento\Catalog\Helper\Output');
$product = $block->getProduct();
echo $_attributeValue = $product->getResource()->getAttribute('your_attribute' …
0
votes
How to disable/enable backorder for particular website/store?
This is default Magento 2 behaviour and as we can see in screen-shot Backorder has 'global' scope so we can't change on store/website level.
2
votes
How to find the file in getchildhtml('customer') in magento 2
$block->getChildHtml('Cusomer_form_register_layyout3')
This is nothing but name of block which exist in layout file so you can search in layout(either in your module or design section).
$block->getC …
1
vote
1
answer
1k
views
Uncaught Error: Mismatched anonymous define() magento 2.2.4
Below is the console erros is getting in frontend.
Checked .htaccess in pub, pub/static and root all .htaccess are identical to Magento 2.2.4 version.
js bundling/minification is enabled and ran ful …
0
votes
Magento1 to Magento2 import only catalog configuration and its associated product query
Follow below steps:
Import M1 & M2 DB in your local system.
Compare fields of respective product tables from M1 & M2.
Write query like below(example of sales_shipment table):
INSERT INTO m2_db.sa …
0
votes
Magento 2.3 is extremely slow?
Following things to consider:
Check if memory is sufficient like 4GB atleast.
On js/css minification.
Enable cache(You can use Varnish/Redis).
Set production mode.
If it still not helping then run p …
1
vote
Get Product price by customer Group magento 2
Try this one but don't use ObjectManager, you can inject Magento\Catalog\Model\Product & \Magento\Customer\Api\GroupRepositoryInterface class in constructor:
$productId = 9;//your product id here
$ …