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
Magento2 : display static blocks in home page
block_identifier
Add in default.xml file under Magento_theme Folder which is placed under current applied theme.
0
votes
How to override login.phtml file? Is overriding working for template files?
You have to simply override login.phtml file in your theme
app/design/frontend/Magestore/Sample/Magento_Customer/templates/form/login.phtml
no need to write in layout file
echo $welcomeMessage = " …
0
votes
Bannerslider not compatible with Magento 2.1?
For version error, delete entry of your module in setup_module table in database. And then run
php bin/magento setup:upgrade
It's a file permission issue. So please run following commands in root …
0
votes
Show PHTML-file in CMS page is not working
use following code in your cms page:-
{{block class="Magento\Framework\View\Element\Template" name="MX" template="MX_Slider::carousel.phtml"}}
2
votes
How to add product stock qty column and render stock info on backend order create grid
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace [Vendor]\[module-Name]\Block\Adminhtml\Grid\Renderer;
/**
* Renderer for R …
4
votes
Magento 2 get custom attribute values from products collection
You can use following code for return collection base on particular attribute, here $cb_city is a value based on which you want to filter-
$objectManager = \Magento\Framework\App\ObjectManager::getIn …
1
vote
Magento 2: how Get youtube video in product list page(Category page)
Try this--
<?php if($_product->getVideo()): ?>`
<iframe width="560" height="315" src="http://www.youtube.com/embed/<?php echo $_product->getVideo() ?>" frameborder="0" allowfullscreen></i …
1
vote
Magento 2 Block not overriding
enter code here`You have to add only following lines of code in di.xml file-
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:mag …
0
votes
Magento 2 : after upgrading magento 2 with command site not working
run command:
sudo chmod -R 777 var/
and
sudo chmod -R 777 pub/
under magento2 root directory. …
0
votes
How to change max-width in the product gallery in Magento 2
You have to override view.xml from blank theme in your custom theme under etc folder and now you can change product image's width according to your need.I hope it will help you.
0
votes
How to Get Customer data by telephone number in Magento2?
Let us $telephone_number is value of current customer's telephone number than you can use $customer and get your data like as:-
$customer->load($telephone_number,'telephone_number');
$customer->getDa …
0
votes
Magento 2 - Cant place orders after migration
First of all
1)flush the cache
2)setup upgrade using "php bin/magento setup:upgrade" command.
3)and enable the cache.
it will solve your issue.
0
votes
Magento 2 override the cutomer account loginpost controller
You can use after execute plugin and after that you can check either customer is login or not if not than you can redirect to your press page url
namespace Vendor\MyModule\Plugin\Customer;
class Log …