Questions tagged [magento2]

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Negotiable Quote steps like checkout

Is there any way to make the Negotiable Quote in Enterprise edtion to have steps like that of checkout. Final Step will submit the negotiable quote instead of orders.
0
votes
0answers
5 views

how to display the Salable Quantity section in Magento2

I encountered this after reinstalling something in the admin of magento2. How can the Salable Quantity section be displayed, please help me to solve it. thank you.
0
votes
0answers
10 views

Magento 2.3.4 redirect from HTTP to HTTPS+SID but SID version is blocked by robots.txt

Quick questions. My website redirects with a 301 redirect from http to https. From there a 301 redirect is used to redirect to https+SID. the https+SID is blocked by robots which seems good since ...
0
votes
0answers
7 views

Can I uninstall unnecessary themes installed with a theme suite (Sahara-Plazathemes)?

I installed a theme pack from Plaza Themes containing several themes on version 2.1.3. Among the collection, the three are installed, the others not. They are just listed in Content / Design / Themes. ...
0
votes
0answers
9 views

How to apply null value filter for magento admin grid

I have added an additional column to sales grid in admin by adding the following to sales_order_grid.xml <column name="email_sent" > <argument name="data" xsi:...
0
votes
1answer
9 views

How To Add Pop Form For Submit Review In Magento2 Product Detail Page?

How Can I Add Button For Submit Reviews On Click On This Button Submit Reviews Pop up form Open And User Can Easily Submit The Reviews .
0
votes
0answers
3 views

Move Paypal Express Checkout button to top of the checkout page in magento 2

I want to move Paypal express checkout button from the payment section to the top of the checkout page in Magento 2.
0
votes
2answers
10 views

magento/composer-root-update-plugin is locked to version 1.0.0 and an update of this package was not requested

i am trying to install the extension through composer but i am getting below error. Your requirements could not be resolved to an installable set of packages. Problem 1 - magento/composer-root-update-...
0
votes
0answers
16 views

How to apply Filters on custom Product Collection. Magento 2

I've created a custom phtml file where I'm showing specific Products.. Now I want to apply filters on that so for that in my Layout I've applied <?xml version="1.0" encoding="UTF-8&...
0
votes
0answers
11 views

Is this hack script?

I get this script in my site: <script type="text/javascript" xml="space">// <![CDATA[ (function(){var po=document.createElement("script");po.type="text/...
0
votes
0answers
14 views

Shipping Region ID is missing in checkout after upgrading from Magento 2.3.4 to Magento 2.4.1

After i upgrade from Magento 2.3.4 to Magento 2.4.1 after choosing the shipping address in the checkout page, i got this error: Please specify regionId in shipping address then i see the region is ...
0
votes
1answer
11 views

magento 2 Admin Change grid data based on the selected options via ajax

I have an admin form inside which I have added a dropdown and one grid with UI component I want to change the grid data or need to apply filers to grid collection based on the selected value inside ...
0
votes
0answers
14 views

how to put billing address in the desired position in checkout_index_index

This is my checkout_index_index. How to get the form part of this billing address to the correct place in the red area <referenceBlock name="checkout.root"> <arguments> ...
0
votes
0answers
9 views

Show admin order comments in sales order grid

I am trying to show admin order comments in a new column I created in sales order grid. Anyone know how I would do this?
0
votes
0answers
7 views

Magento 2: Hide “Sources” section on Add/Edit product page (for some users)

I have a user role that's allowed to edit products, but shouldn't be able to manipulate inventory for the product (e.g. the "Sources" section of the add/edit product page, the catalog is ...
0
votes
0answers
17 views

Magento2 error message not showing in admin

I'm validating max sale qty when admin create order, I want to throw the error, it's redirecting back to order index page but error message not showing there? what's wrong here? <?php ...
0
votes
0answers
9 views

How to add simple product ID to swatch data on category page

How can I add simple product ID of the swatch on category page?
0
votes
0answers
4 views

Using --no-tablespace option when backing up Magento 2 databases

I run a nightly cron job to back-up to backup my SQL databases using mysqldump. This has started to display the following error on all my databases: Error: 'Access denied; you need (at least one of) ...
0
votes
0answers
12 views

How to call gallery.phtml file in my custom phtml?

I have created a custom widget and now, I am trying to display product images Something like in the Product view page. On catalog_product_view.xml it calls /vagrant/www/vendor/magento/module-catalog/...
0
votes
1answer
11 views

How to filter customer by custom attribute using SQL query?

zd_user_id our customer custom attribute. $customerCollection = $this->customerFactory->create(); $customers = $customerCollection->addAttributeToFilter( [ ['attribute' => '...
0
votes
2answers
9 views

Product load by entity_id or row_id if both are different?

In my magento 2.3.0 My product catalog has 100k products. In this 10k Products are having different entity_id and row_id for same sku. I have below questions. If I load product collection using id it ...
0
votes
2answers
12 views

How to use Admin created email template used in magento2

I have created custom module in my code with email_templates.xml its working fine but i need created template in admin then how to use that email template in code.
0
votes
0answers
7 views

Permanent redirection when there are parameters in the url

I'm on magento Magento 2.2.11 and Magento automatically redirects my product listing to a url without the parameters. example: mywebsite.com/product-listing/?price=10 to mywebsite.com/product-listing/ ...
0
votes
0answers
13 views

Magento 2.4.1 Compile Problem

After fresh install magento 2.4.1, running the command setup:di:compile gives the error currently working on windows i tried all this on developer mode chmod -R -v 777 generated 1) php bin/magento ...
0
votes
1answer
20 views

After making ajax query controller redirects back to product page

I’m making an ajax query from a product page (code below). If I run it directly in browser, it works but if I run it inside a code (javascript) it redirects me back to the product page with a status ...
2
votes
1answer
22 views

Magento 2 : Image is not showing on product detail page after few seconds

Product image is not showing after few seconds on product detail page. When page loads it showing the image but after few seconds it's vanishing. Please provide any solution you have. Thanks in ...
0
votes
0answers
12 views

Magento2 Zoom icon top right of hero image clicks to display a popup with larger zoomed image

Magento2 How can I add Zoom icon top right of hero image clicks to display a popup with a larger zoomed image. Is this possible via Default Magento2?
0
votes
0answers
12 views

Display tax calculation on Cart Index page Magento 2

How do I go about adding the tax calculation on the summary page? Currently it only shows the tax when you enter a full address but is there anyway I can calculate at least an estimate tax based on ...
-1
votes
0answers
8 views

Transfer data between Magento 2 site

I want to transfer (order with invoice and shipment, products, categories, and customer ), from the site has Magento 2.2.5 to new Magento 2.2.5 Edtion. I found a data migration tool but doesn't work ...
0
votes
1answer
9 views

How to Add Product Specification Section Under Product Info in Magento 2?

How to Add Product Specification Section Under Product Info in Magento 2
0
votes
0answers
5 views

Category Image with Category Id in Magento 2 Api

I want to show category id with category image in magento 2 rest api http://domainname/rest/all/V1/categories?rootCategory=2 this is my api response and here not show category image { "id": ...
0
votes
0answers
9 views

How can i get SKU in API response: M2

GET /rest/V1/guest-carts/".$quote_id."/totals RESULT: [items] => Array ( [0] => Array ( [item_id] => 2275060 ...
0
votes
0answers
4 views

main.WARNING: Memory size allocated for the temporary table is more > than 20% of innodb_buffer_pool_size. Strange values

I'm receiving the following alert from Magento2: main.WARNING: Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. Please update innodb_buffer_pool_size or ...
0
votes
1answer
17 views

Magento 2 - Filter through non anchor categories throws “The bucket doesn't exist.” exception

I am facing this issue on M2.3.5-p2 when filter through non anchored subcategory on the main category(anchored) page. Steps to reproduce From the admin set parent category anchor to Yes. For one of ...
0
votes
0answers
7 views

Magento 2.3: How can I change the language of the tiny editor?

I am currently trying to type with a Spanish keyboard and it does not allow me to type accents. As I show in the image, when I try to write an accent, it adds the character without first writing the ...
0
votes
0answers
10 views

Find reason for 'main.ERROR: Cannot decode binary [] []'

We have a very general error in the system.log file.It is main.ERROR: Cannot decode binary [] [] It happens very frequent. However we do not know the cause or how to debug. If anybody could tell us ...
0
votes
0answers
11 views

MAC OS Magento 2.4.1. PWA Studio 8.0.0 Local Setup Steps and Bugfix

MAC OS Magento 2 setup NVM INSTALLTION curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash vim .zshrc export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh&...
0
votes
1answer
23 views

How to Get block 'head' description in Magento 2?

In magento 1.9 i can get the page head description like this in phtml: $this->getLayout()->getBlock('head')->getDescription() How can i achieve this in Magento 2 ?
0
votes
0answers
21 views

Compiling failed

I am trying to compile Magento 2.3.1 and it says Fatal error: Interface 'Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\SearchResultApplierInterface' not found in /home/customer/www/...
0
votes
0answers
24 views

How to call .phtml file in my CMS page? [duplicate]

In my CMS page, I want to call a few phtml files that are similar to product view page. Basically, I want to create something like this: After enabling template hint, I was able to see the .phtml ...
0
votes
0answers
26 views

How to call phtml file to in CMS page?

I am really new to Magento, I need advise on how to recreate product view page (see picture) and include it in my CMS page. I have created a CMS page that will list multiple products. I want to reuse ...
3
votes
1answer
106 views

Is it okay to use $this->helper(…) in phtml files?

A question on using $this->helper(...) in phtml files: It returns something like this: ObjectManager->get(...) (Singleton) I'm aware it's bad practice to use Object Manager phtml, but ...
0
votes
1answer
15 views

Magenot 2 SQLSTATE[42S02]: Base table or view not found: 1146 Table 'databasename.sales_order' doesn't exist

I'm getting an error when I navigate to the order grid section of the magento 2.3.4 under Sales -> Orders in the admin panel. It appears to be referencing the wrong table because table '...
1
vote
1answer
17 views

Can't save custom address attribute

I've created a new customer address attribute called 'landline' (required). I've used the code generated by https://mage2gen.com/ which seems 'correct' to me: Attribute is correctly created and ...
0
votes
0answers
4 views

Is there a way to Create Product using Magento 2 Api and assign the product to a source with stock Quantity?

I am trying to create a product using the Api provided by Magento. So for that I would use this endpoint : POST <host>/rest/default/V1/products source : https://devdocs.magento.com/guides/v2.4/...
1
vote
3answers
42 views

How can overwrite an event from JS file in custom theme or module without overwriting the whole file?

How can overwrite an event from sidebar.js in my custom theme or custom module without effecting anything else that is located in the file? What is the best approach? I need to make the following ...
0
votes
2answers
23 views

Cannot load external module through require js

I'm trying to load highcharts in a custom admin form, but it comes out as undefined in my module. My requirejs-config.js var config = { paths: { 'highcharts': 'http://code.highcharts.com/...
0
votes
0answers
17 views

Login/Registration pages error/success messages don't show

i have migrated a magento 1.9 server to a magento 2.3 server. everything went fine and i am really happy with that. my only problem is that the page messages on the login and registration page don't ...
0
votes
0answers
34 views

Missing required argument $adapters of Magento\Search\Model\AdapterFactory

This error is showing up on a clean installation of Magento 2. I've tried to re-install a clean Magento 2 version on another domain and it's giving me the same problems. To replicate: Get a domain. ...
0
votes
0answers
16 views

Magento2 Checkout Page Spinner keeps Loading

I am using Magento 2.3.5 .My checkout page keeps loading and i am unable to do the further process. I have run all commands like flushing cache or setup upgrade but nothing is working. In Console i am ...

1
2 3 4 5
837