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 47090

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.

2 votes
0 answers
166 views

Can Magento1 or Magento2 use VUE.js?

Is it possible to use VUE.js in Magento1 or Magento2? Is any one used this, please share me example. Thanks …
Vishal Sanwar's user avatar
2 votes
4 answers
4k views

After Upgrade Magento from 2.3.4 to 2.4 Cannot instantiate interface Magento\InventoryApi\Ap...

After Upgrade Magento from 2.3.4 to 2.4 getting error. main.CRITICAL: Error: Cannot instantiate interface Magento\InventoryApi\Api\SourceRepositoryInterface in /public_html/vendor/magento/framework/O …
Vishal Sanwar's user avatar
1 vote

How to change layout of product detail page?

You have to change inside layout xml file, if you want to display product details page 2column left then change file is catalog_product_view.xml set layout value layout="2columns-right" inside <page …
Vishal Sanwar's user avatar
1 vote

Cart total doesnt update after remove an item programatically Magento 2

If above code doesn't work then use below as well. $currentQuote= $this->_checkoutSession->getQuote(); $shippingAddress = $currentQuote->getShippingAddress(); $shippingAddress->setCollectShippingRates …
Vishal Sanwar's user avatar
0 votes

Magento 2.2: Is it possible to use Vue.js in Magento?

I did some research and found solution. Write below code in your phtml file. <html> <head> <title>VueJs Introduction</title> <script type = "text/javascript" src = "https://cdn.jsdelivr.n …
Vishal Sanwar's user avatar
0 votes

Magento Fatal Error on Running Installation

I got the solutions. open database and see table : eav_attribute Now, check the source_model column and you will get MagentoEavModelEntityAttributeSourceTable. Solution: Replace MagentoEavModelEnt …
Vishal Sanwar's user avatar
0 votes

Magento 2 Attribute Type change

If you want to change the type of a Magento product attribute from textfield to textarea. Please create a backup before making any changes in the database table and follow these steps : Please go to …
Vishal Sanwar's user avatar
0 votes

Magento 2 | Get number of items in cart

$_objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $cart = $_objectManager->get('\Magento\Checkout\Model\Cart'); $itemsQty = $cart->getQuote()->getItemsQty();
Vishal Sanwar's user avatar
0 votes

How to display programmatically created custom options in admin order details

It will append option into the column(product_options) of table (sales_order_item) and it will show in admin,email and pdf. $orderItems = $order->getAllItems(); $serialNo = 123456; foreach($orderIte …
Vishal Sanwar's user avatar
0 votes

How to revert the applied patches in magento 2

Thankfully it’s not that difficult. The easiest way is to follow the steps you used to originally apply the patch, but this time using ‘ -R’ at the end of the command. sh patch-file-name.sh -R
Vishal Sanwar's user avatar
0 votes
1 answer
322 views

multi-language feature not working automatically

I have a question. If any body help me on this. that would be good for me. I have multiple store view (Like: English, French, Spanish etc). I created those store view with currencies in backend and al …
Vishal Sanwar's user avatar