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 51999

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

How to create custom header link

you achieve this using default.xml ( Try below code ) <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layou …
Sanjay Gohil's user avatar
  • 2,200
1 vote

Magento2.3 - How to remove index.php from dynamic URL?

Edit the /rootdir/.htaccess and uncomment the line by removing #: RewriteBase /magento2/ In my case the subdirectory Magento is in is called magento2, so change it to your subdirectory path if it is …
Sanjay Gohil's user avatar
  • 2,200
2 votes

How to get customerid inside custom block to display in frontend myaccount section?

Try below code to get customer Id or Other customer data from block to template(phtml) file app/code/YourCompanyName/YourModuleName/Block/YourCustomBlock.php <?php namespace YourCompanyName\Your …
Sanjay Gohil's user avatar
  • 2,200
2 votes

Magento 2 How to Update current cart subtotal and grand Total?

Some Minor Correction is Required, Please Try below code First add the event.xml file in your module Directory Path: app/code/Vendor/Module/etc/frontend/events.xml <?xml version="1.0"?> <config xml …
Sanjay Gohil's user avatar
  • 2,200
4 votes
Accepted

Magento2: What is difference between configurable products and simple product with custom op...

A configurable product and a simple product with custom option look almost similar on the front end. The main difference is that in a configurable product inventory can be easily managed as each varia …
Sanjay Gohil's user avatar
  • 2,200
4 votes
Accepted

Magento2, setItemCount for minicart does not work

You can also set limit the number of product displaying in mini cart using below steps. Login to your magento admin panel Set store configuration Maximum Display Recently Added Item(s) to `3 (Loca …
Sanjay Gohil's user avatar
  • 2,200
2 votes
Accepted

How to add cms page on magento default footer links?

you achieve this using default.xml <referenceBlock name="footer_links"> <block class="Magento\Framework\View\Element\Html\Link\Current" name="name-of-your-link" after="frequently-aske …
Sanjay Gohil's user avatar
  • 2,200
4 votes
2 answers
278 views

Is there any extension available for Wechat share in Magento2? [closed]

Is there any Magento 2 extension available for wechat share?
Sanjay Gohil's user avatar
  • 2,200
0 votes

Move the position of company field before street in shipping form in magento 2.2.4

Some minor correction is required, See below code <item name="company" xsi:type="array"> <item name="sortOrder" xsi:type="number">1</item> </item> If you made another changes like add or update …
Sanjay Gohil's user avatar
  • 2,200
3 votes

Allow customer to login only if they accept terms & condition

You can achieve this functionality by Put a Terms and Conditions checkbox on the register form. Put below code in your customer register form template file (Phtml File) <div style="width: auto; marg …
Sanjay Gohil's user avatar
  • 2,200
4 votes
Accepted

How to upgrade magento ver 2.3.1 to 2.3.3

Please take your database & code backup first after that performs an update task. Connect Your SSH and then go to your project root and run below command composer require magento/product-community-e …
Sanjay Gohil's user avatar
  • 2,200
1 vote
1 answer
335 views

How to solve newly generated magento 2 file permission issue in ubantu 18.04?

Everything work fine but when i am run magento2 command using cli than every time it will display file permission issue in "cache_dir" and "generated" folder. …
Sanjay Gohil's user avatar
  • 2,200
4 votes
2 answers
5k views

Magento2 - How to install and check coding standards of extension for Magento Marketplace?

I want to check My Extension's coding standard for Magento Marketplace before submitting it on **Magento Marketplace*. Can anyone tell me how can I install coding standard in My Local Environment and …
Sanjay Gohil's user avatar
  • 2,200
1 vote
1 answer
897 views

Magento 2 - How to get recent month's best seller products?

I am get bestseller product using below code but it will not display best seller products of latest month, It will display bestseller product from starting. Can anyone tell me how can I filter best s …
Sanjay Gohil's user avatar
  • 2,200
5 votes
Accepted

Magento2 - How to get product additional options from quote_items_options using product id

You can get product wise additional option using below code. (Do not use Objectmanager directly if the code works then change dependency use via construct) $productId = 68; $objectManager = \Magento …
Sanjay Gohil's user avatar
  • 2,200

15 30 50 per page