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
How can i programatically send contact us mail in magento 2?
If you take a look at how the Magento_Contact module handles the email sending you'll be able to use much of what they use.
First off inject Magento\Contact\Model\MailInterface into your class throu …
3
votes
Magento 2 MEQP2 WARNING | The use of function file_get_contents() is discouraged
Have a look at the Interfaces available inside Magento\Framework.
There are classes to help you, for example Magento\Framework\Filesystem\DriverInterface gives you access to a fileGetContents functio …
7
votes
2
answers
4k
views
Magento 2.x Overcoming FPC for Prices/Private Data
So, i've a requirement to write some functionality for a B2B store which requires some aspect of dynamic pricing - or at least the price not to be cached.
The basic requirement is to write up a VAT …
19
votes
Accepted
Magento 2.x Overcoming FPC for Prices/Private Data
Ok, for anybody else facing a similar issue, i think i've found the best way around it. As Nicholas Miller commented, my first port of call was to look into the Block Caching system.
I looked into ho …
4
votes
Accepted
Magento 2.2: How to completely disable customer login and registration
Just wanted to add a bit of information as an answer here on di.xml, what it is, and some new concepts of Magento 2 introduced by the file. I get this doesn't completely answer the question, but Joshu …