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 48538

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

Magento2 adding radio buttons in customoptions

If You want add to product level custom option look in these file path to add your code File Path : vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/CustomOptions.php step-1:D …
Learing_Coder's user avatar
1 vote

magento 2 email issue variable not working {{htmlescape var=$order.getCustomerName()}}

Try this code for New Order/Invoice Email template(Customer) {{trans "%customer_name," customer_name=$order.getCustomerName()}} For New Order/Invoice Email template(Guest) {{trans "%name," name …
Learing_Coder's user avatar
0 votes

How to Add "My Cart" on my account navigation in magento2?

Out these code in your module in these location FIle Path: app/code/Extension/Module/view/frontend/layout/customer_account.xml page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNames …
Learing_Coder's user avatar
-2 votes

Override a Magento framework file

While Overrding the Default Files By Mentioning in the di.xml of Custom module. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn: …
Learing_Coder's user avatar
1 vote
3 answers
1k views

I want to override the buttons.phtml in my module

I want to override the buttons.phtml file in my module can anyone help me out please. For more info, please find the below screenshot
Learing_Coder's user avatar
3 votes
1 answer
114 views

when Template file is called from another Template file product details are unable to show: ...

When I am Trying to call Custom Template file test.phtml on product view page Template file i.e on wrapper.phtml template file is called but, when I am trying to output product details from my custom …
Learing_Coder's user avatar
0 votes
1 answer
3k views

How to get the Custom admin grid collection in custom module template file in magento 2 [closed]

I want to get the custom admin grid collection in template file. How can I get that? http://i.prntscr.com/c92860d45a904aa4b400ea73b750b8e7.png I have Used these link to get custom admin grid https …
Learing_Coder's user avatar
2 votes

In magento 2 How to call phtml file in static block

You can Use this to call template file in static block {{block class="Block Name" template="PackageName_ ModuleName::phtml file name"}}
Learing_Coder's user avatar
0 votes

How to call custom jQuery slider in magento 2

Step 1: IN your requiredjs-config.js put this code File path:Extension/your_Module/view/frontend/requirejs-config.js var config = { paths: { 'helloWorld': 'Mageplaza_HelloWorld/js/jque …
Learing_Coder's user avatar
0 votes

How to display a database table in .phtml file

You need to create block, template and layout files for this. Create a new file app\code\Your_ExtensionName\Your_ModuleName\Block\Post.php <?php namespace Your_ExtensionName\Your_ModuleName\Block; us …
Learing_Coder's user avatar
0 votes
0 answers
139 views

in Magento 2,How can I implement star rating in my custom module

I am Unable to move ahead in implementing the star rating in magento 2,because i was clue less,Please can anyone give me possible solutions,so that i can complete my star rating.
Learing_Coder's user avatar
0 votes
2 answers
386 views

Error While overridng the controller In Vendor in magento 2 [duplicate]

I want to override the controller of vendor in my module the original file path is Magento/Checkout/Controller/Account/Create to my module path can any one help me. My Controller code Silk/Hellowor …
Learing_Coder's user avatar
0 votes
0 answers
369 views

How to stop loading the page using knockout js after the event has completed in magento 2

I am adding the custom price to order total, its fine adding the price.but the page loading is still loading, how can i stop loading using knockout js. Thanks in advance i have this code in my knocko …
Learing_Coder's user avatar
1 vote
3 answers
4k views

how to get Compared Product collection in magento 2

How can I get the Products that are already added in the compare list Product Collection. For Visitor and as well as Login Customer. Can anyone guide me to solutions.
Learing_Coder's user avatar
0 votes
2 answers
155 views

Magento2 : How can to get product collection by sorting with stock status i.e Asc,Decs

I have all product collection but I want it sort/order_by by Stock Status.for out-of-stock.
Learing_Coder's user avatar

15 30 50 per page