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 27244

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
A bit more context would help but generally, you don't add item to Order. You add item to the quote, then submit the quote (place order). I won't go into too much detail because I don't know where yo …
answered Jan 31 '18 by William Tran
0
votes
First of all using ObjectManager is not a recommended way. You should read a bit more into using Service Contract. Right now the core Theme module doesn't have service contract for what we want to do …
answered Feb 17 '18 by William Tran
4
votes
Notes: This answer may need to be changed in later version of Magento when service contract is implemented for the newsletter module. For now we will have to make do with using model method. use Mage …
answered Feb 15 '18 by William Tran
3
votes
For a high level abstraction I'd inject Magento\Framework\App\Config\Storage\WriterInterface into the constructor of a data setup script: use Magento\Framework\App\Config\Storage\WriterInterface; p …
answered Feb 13 '18 by William Tran
0
votes
In your theme, override /Magento_Catalog/templates/product/view/addtocart.phtml (see http://devdocs.magento.com/guides/v2.2/frontend-dev-guide/templates/template-override.html) Assuming that your the …
answered Feb 17 '18 by William Tran
0
votes
From what you described I think it's most likely scope issue with your configuration setting. You can use php bin/magento config:show to see what value has been set for head_title_prefix and head_tit …
answered Feb 18 '18 by William Tran
0
votes
These are separate features (admin session and less processor), so I suspect that your grunt configuration does something to the var folder/ clearing session database (memcache / redis..). Check how …
answered Feb 17 '18 by William Tran
0
votes
I suggest you do this in a setup script. First you will need to get a collection of \Magento\Catalog\Model\Category. You can do this by injecting the classes into the setup script constructor. I won' …
answered Feb 16 '18 by William Tran
0
votes
Once the order has been created in Magento it should not be changed. What you need is essentially a quotation module, something like (https://www.cart2quote.com/magento2-quotation-module-editions.html). You should also look at B2B feature of M2 Commerce or other platform like OroCommerce …
answered Feb 18 '18 by William Tran
5
votes
On Magento 2.1 and later (2.2 and 2.3 coming out) it is recommended to use service contract so I tried doing this without calling method in the model directly. Unfortunately at this point there is no …
answered Feb 13 '18 by William Tran
1
vote
You are right the functions getMinPrice() and getMaxPrice in \Magento\Catalog\Model\ResourceModel\Product\Collection class will need to be updated to include the custom charges. You can write your o …
answered Jan 31 '18 by William Tran