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 answers only not deleted user 4329

It should be used for questions about Magento 2.2.6

1 vote
Accepted

Show Order Comments on Invoice

Add following line of code: use Magento\Sales\Model\Order\Pdf\AbstractPdf; Now your code looks like: <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license d …
Sohel Rana's user avatar
  • 36.1k
1 vote

Modifying user customer grid backend by default

You can do using magento default dropdown feature. Also you can modify sortOrder in customer_listing.xml Create a new module and added app/code/VendorName/ModuleName/view/adminhtml/ui_component/custo …
Sohel Rana's user avatar
  • 36.1k
0 votes

Magento2 : Multiple entries are creating in newsletter_subscriber table if i subscribe from ...

Pluginize/overwrite loadByCustomerData method and change select query where you need to remove store_id filter. vendor/magento/module-newsletter/Model/ResourceModel/Subscriber.php /** * Load su …
Sohel Rana's user avatar
  • 36.1k
2 votes
Accepted

override wysiwyg_images.files

Your cms_wysiwyg_images_contents.xml should be: <?xml version="1.0"?> <layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/e …
Sohel Rana's user avatar
  • 36.1k
1 vote
Accepted

How to override DatePicker of cart price rule and add time within it in, Magento 2.2.6

app/app/code/SR/MagentoCommunity/view/adminhtml/ui_component/sales_rule_form.xml <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespac …
Sohel Rana's user avatar
  • 36.1k
0 votes
Accepted

Button add to cart stays on adding... after i setParam('product', false)

Try using a plugin. app/code/SR/MagentoCommunity/etc/frontend/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ur …
Sohel Rana's user avatar
  • 36.1k
1 vote

Getting Error while calling a block `$_product->$_call()`

If you open the following file: vendor/magento/module-catalog/view/frontend/layout/catalog_product_view.xml Then you can see following code: <block class="Magento\Catalog\Block\Product\View\D …
Sohel Rana's user avatar
  • 36.1k
0 votes

How to add datepicker field in Checkout?

app/code/SR/MagentoCommunity/view/frontend/requirejs-config.js var config = { config: { mixins: { 'Magento_Checkout/js/view/shipping': { 'SR_MagentoCommunity/ …
Sohel Rana's user avatar
  • 36.1k
3 votes
Accepted

Error Enter Valid date at cart price rule and save it db, after adding time in date picker i...

This is a bug. Try following way for the fix: app/code/SR/MagentoCommunity/etc/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespace …
Sohel Rana's user avatar
  • 36.1k