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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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
Results tagged with Search options user 14665

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
You can follow either this link or this link. Note: Don't forget to run below commands -- rm -rf var/cache/* generated/* php bin/magento setup:static-content:deploy
answered Oct 15 '18 by Shashank Kumrawat
1
vote
You can do it easily from backend - 1) Navigate to Stores > Configuration > Developer > Translate Inline in magento admin and set YES to Enable for Storefront. as shown in below image - 2) Now …
answered Oct 5 '18 by Shashank Kumrawat
1
vote
(I think you want to sort product collection by updated_at) try this - $collection = $productCollection->addAttributeToSelect('*') ->setPageSize(4) ->addFieldToFilte …
answered Oct 25 '18 by Shashank Kumrawat
1
vote
try this code in your class - protected $session; public function __construct( ... \Magento\Framework\Session\SessionManagerInterface $session, ... ) { ... $this->session = $session; …
answered Oct 23 '18 by Shashank Kumrawat
1
vote
\SaveHandler to close and open session in magento2. I load this class in construct in one of my controller file(which handles ajax) - /** * @var \Magento\Framework\Session\SaveHandler */ protected …
answered Jul 18 '18 by Shashank Kumrawat
0
votes
try to use below code- protected $_productCollectionFactory; public function __construct( Context $context, \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productCollection …
answered Oct 17 '18 by Shashank Kumrawat
1
vote
try this - echo $block->getLayout() ->createBlock('Codism\Csr\Block\Index\TopMenu') ->setTemplate('Codism_Csr::menu.phtml') ->toHtml(); You are not using setTemplate. …
answered Nov 5 '18 by Shashank Kumrawat
0
votes
Here is the basic idea -- You need to override controller using <preference> in your module. vendor/magento/module-customer/Controller/AccountResetPasswordPost.php in this file you need to put …
answered Nov 1 '18 by Shashank Kumrawat
1
vote
1answer
magento2 controller in checkProgress ajax call. it started working. It means magento2 is not allowing another controller to be execute while another is running via import ajax. EDIT2- Both ajax started to …
asked Jul 17 '18 by Shashank Kumrawat
1
vote
To change the text of "Add to Cart" button, you need to do changes in its view template file. -- Enable template path hint from admin and find the path of template file of that button. -- Override …
answered Oct 20 '18 by Shashank Kumrawat
0
votes
You can debug error with following way- 1) try to get exception message in catch block like this- try { $this->sendEmail($this->validatedParams()); $this->messageManager …
answered Oct 22 '18 by Shashank Kumrawat
0
votes
To know about use of checkout session you should check below link - http://blog.chapagain.com.np/magento-2-set-unset-get-session/ for more specific answer please share the exact event or requir …
answered Oct 23 '18 by Shashank Kumrawat
0
votes
Here is what I have tried and working -- 1) First copy and paste en_US.csv fie from vendor/magento/module-catalog/i18n to your theme directory app/design/frontend/YourVendor/theme/Magento_Catalog/i18 …
answered Oct 29 '18 by Shashank Kumrawat
2
votes
You can use directly sql queries in magento2 as shown on this link - using object manager (not recommended) https://webkul.com/blog/magento2-write-custom-mysql-query/ Without object manager … (recommended) How to call Direct SQL Queries and join to collection In Magento2 To get SKU, you need to use table catalog_product_entity and to get product name, need to use table catalog_product_entity_varchar …
answered Oct 26 '18 by Shashank Kumrawat
0
votes
You need to delete generated folder content. use below commands -- rm -rf var/cache/* generated/* chmod -R 777 var/ pub/ generated/
answered Nov 1 '18 by Shashank Kumrawat

15 30 50 per page