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 33071

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

remove slider and show gallary image as thumbnails in the detail page magento 2

You can set the template using layout XML, then make any customizations you want within that file: In app/design/frontend/[Vendor]/[Module]/Magento_Catalog/layout/catalog_product_view.xml, add the fo …
mtr.web's user avatar
  • 910
1 vote

How to create a main menu with various CMS pages in Magento 2

You can do this with an Observer on the top_menu_before event. I only included the two files that do the heavy lifting, but that is because I assume that you know how to Create a Module app/code/Ven …
mtr.web's user avatar
  • 910
2 votes
Accepted

How do I find the content of getChildHtml('example')?

The child-html of (pretty much) any block can be found by looking through layout XML. It can also be added/modified through the Block classes that you mentioned, but that doesn't help with this case, …
mtr.web's user avatar
  • 910
7 votes

I am getting this error "pdo_mysql extension is not installed"

@SHPatel is right. There is an answer on askubuntu that gives instructions HERE I am going to assume that you have PHP 7 installed, otherwise you would never have gotten a Magento 2 instance running …
mtr.web's user avatar
  • 910
0 votes

GENERATE THIS REPORT: main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_

There are a number of articles and StackExchange questions regarding constant logging in Magento ver. 2.2.0-dev, and while the levels vary, This User says it is not a problem in the github issue #3507 …
mtr.web's user avatar
  • 910
0 votes

Magento 2 How is Layout.xml rendered to html file

This is a duplicate of a few SE answers (this for example), but the short answer is that default theme files are under vendor/magento and you can copy them to your theme just like in Magento 1, but th …
mtr.web's user avatar
  • 910
5 votes
Accepted

Magento 2 - what is the current theme?

To see theme(s) and/or make changes, go to Content->Design->Themes. From there, you can select each one to change the fallback settings, among other things. The part that (I think) you are looking f …
mtr.web's user avatar
  • 910
1 vote

Add inline javascript to head - magento2

In Magento 2, referenceBlock (basically) is a replacement for reference, so using that should solve your first error. The second problem is that the name attribute for your block should be class inst …
mtr.web's user avatar
  • 910
1 vote

SQL to get order items straight from the database?

If you have the configuration setting for Catalog->Frontend->Use Flat Catalog Product set to ON, you can join the sales_flat_order_item table to catalog_product_flat_[#]. If you only have one (catalo …
mtr.web's user avatar
  • 910
1 vote

Best pratices to update the module-checkout

Chances are, you'll want to set up a theme if you haven't already. Here is some information on that. For now, I will assume that you are using the Luma theme, but you can replace the Magento/Luma/ p …
mtr.web's user avatar
  • 910
0 votes

Tiered pricing based on total quantity purchased

The short answer to whether Magento can do this is yes, with Shopping Cart Price Rules. There are probably other ways of doing it, like using different Product Types and Tier Pricing or by using Cata …
mtr.web's user avatar
  • 910
0 votes

How to create a nameplate extension?

I can't say for sure whether or not this is an extension. It could just be custom programming that is specific to the site plus custom options/configurable attributes. In any case, there are a var …
mtr.web's user avatar
  • 910