Skip to main content
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
Results tagged with
Search options not deleted user 23803

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.

8 votes
5 answers
4k views

Changes to CSS and JavaScript applies only after deploying static content

I installed Magento 2 from the Magento site. I have activated the developer mode by {project directory}>php bin/magento setup:mode:set developer Then I have installed my custom theme and finally I …
Janaka Dombawela's user avatar
5 votes
3 answers
5k views

Magento 2 checkout new field is excluded from post data

I have this module for add newsletter subscription to checkout page in a Magento 2 project. I have added a checkbox field by following code: app/code/MyNamespace/MyModule/Plugin/Checkout/Model/Checko …
Janaka Dombawela's user avatar
5 votes
1 answer
3k views

Magento 2 error in swatchRenderer.js

I have overridden magento SwatchRenderer.js file in app\code\Mydirectory\CustomSwatches\view\frontend\web\js\SwatchRenderer.js. My problem is I get an error in my product page load: Uncaught Type …
Janaka Dombawela's user avatar
1 vote

product image url not valid - magento 2.0.1

try: define image size in app\design\frontend\MyPackage\mytheme\etc\view.xml as <image id="my_widget_image_size" type="small_image"> <width>240</width> <height>360</height> </image> then y …
Janaka Dombawela's user avatar
1 vote
2 answers
2k views

Magento 2 cutom theme is not deployed

.*" }, "type": "magento2-theme", "version": "100.0.1", "license": [ "OSL-3.0", "AFL-3.0" ], "autoload": { "files": [ "registration.php" ] } } registration.php: <? …
Janaka Dombawela's user avatar
2 votes
0 answers
4k views

Swatch customization issues

well we have heavily customized Magento 2 website. The swatch customizing is done in: app\code\My_Package\CustomSwatches\view\frontend\web\js\SwatchRenderer.js by overriding: vendor\magento\module- …
Janaka Dombawela's user avatar
4 votes

Which compilation commands are needed in developer mode and when?

Does that mean, each individual file in pub/static is generated when it is requested and you never need to call setup:static-content:deploy? This contradicts my experience. Or can I delete any file …
Janaka Dombawela's user avatar