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
8 views

How product prices are stored in magento 2.4?

I have 2 store views So, how the price will be stored & shown in frontend if i put prices different in all store views ?
0
votes
1answer
9 views

Is there any extension Order Exchange with same product option or different products in Magento 2?

Is there any Magento 2 extension available for Customer order exchange with same item different Size/color And also Order Exchange with different Products. reference link Myntra
0
votes
0answers
15 views

Not able to send mails in magento 2

I am using SMTP on my website and all the mails are working fine. I am receiving all the emails. Now I am developing a custom script on magento root to send mails but it is not working. This is the ...
0
votes
0answers
9 views

Magento 2 - How to get product attribute in order api

I added two new product attributes to a product called netsuite_internal_id & ava_tax_code if I do a GET to /rest/V1/products/{sku}, I can see them in custom_attributes.attribute_code. When a ...
0
votes
1answer
20 views

Backend error - Magento 2.4.2p1

we finished migration and we got an issue after loging to backend. I see dashboard, but I cannot handle anything (icons on the left side in admin look like inactive) This is screen of the issue: https:...
0
votes
0answers
6 views

Magneto2: Customer login in magento by Rest API token

I would like to use the Rest API to get a client token first. And then use this token to login as magneto2 client. E.g. domain.com? customerToken = xyz Are there any ready-made methods / modules for ...
0
votes
0answers
3 views

Change product price precision to 3

I need to change the product price precision to 3. Is this configurable in the magento admin panel or how can I achive this with custom code_ Thank you for your help ! I tryed this solution but when I ...
0
votes
1answer
18 views

Magento 2 how to disable Page Cache programmatically?

I need to disable Page Cache so it does not keep old data on the page. When I dIsable it from admin panel it works, but then it gets backs to enabled by no reason. Is there a way I can keep it ...
2
votes
1answer
12 views

Show custom brand attribute in sidebar wishlist - magento 2

Can we show or display custom attribute like brand in sidebar wishlist? If yes then how?
0
votes
2answers
18 views

How to add custom product attribute?

I want to add custom attribute in product that have dropdown and can be sorted and filtered? thanks in advance
0
votes
1answer
11 views

Magento 2 how to change label for firsname field in checkout page?

Magento 2 how to change label for firsname field in checkout page. need to change in code level don't want to translation sheet
0
votes
0answers
10 views

How to re-validate the coupons in magento2 before place an order

at the time of place order re-validate the coupon-code used in the checkout. If code has already been used, the customer should not be able to place an order. Error message should say "Valid ...
0
votes
1answer
22 views

Display Product Reviews by default

On Product Page I want to display the reviews related to product. Right now they are displayed on click function. This are the functions through which reviews are displayed. define([ 'jquery' ], ...
0
votes
0answers
7 views

Addthis.com - Alternative Share products button - Purchased theme uses addthis.com (Blocked by adblockers)

Question Is there an alternative module that is not blacklisted by adblockers? The theme we use are using implemented s7.addthis.com in some templates, so the i-frame is grayed out (gray element shown)...
1
vote
1answer
23 views

Magento 2: how can I remove columns in exported XML from order grid?

I want to remove columns such as shipping address and billing address from order export xml file.
0
votes
0answers
10 views

How can I create a custom widget with custom form types and restrictive layout update?

I want to add a new kind of widget. It is supposed to be a message bar (like an alert) which should be displayed on the top of selected page types for a certain period of time. But to do so I have to ...
0
votes
0answers
11 views

Magento 2 : Understanding Scope for Product

i am using magento 2.4 EE I have created an gift card product. In amount section, there is a dropdown right after price amount field Can anybody please explain me the use of it ?
0
votes
0answers
13 views

Uncaught Error: Script error for: bootstrap

guys I'm getting the following error "Error not detected: Script error for: bootstrap ", and my dropdown doesn't work. How can I fix this? I'm trying to use a bootstrap.js class but it doesn'...
0
votes
1answer
32 views

How to filter product collection in such way where I can use having and addfiledtofilter with AND condition?

I am having product collection where I am getting one custom product attribute called "keep_disabled" and another column which was added on runtime which is sum of quantities 'sum_qty'. I ...
0
votes
0answers
6 views

Magento 2 pwa override talons

can we override talons, if so, can you please give me an example. we get the data(query) for the category page by using talons only. I need to add some more data along with the query.
1
vote
0answers
13 views

Magento 2 : Issue with Gift card price

When i choose the UK store from UI Dropdown, i notice the gift cards display US currency rather that GBP. I’m facing an strange issue on adding price amount base of store selection (US,UK,EU), on ...
0
votes
0answers
10 views

How to show additional options that I already selected when reorder?

When I reorder the product it not show the additional options that I already selected.How to show additional options that I already selected when reorder. Kindly help to solve.
0
votes
0answers
8 views

Magento showing backend/query code on search field rather than showing results

Hello I am new to Magento and I got a task to fix a Magento website which showing query as search results.... I don't have much knowledge so I don't know what file to attach here.. Please any help is ...
0
votes
1answer
17 views

error during setup:di:compile

I am getting always error Incompatible argument type: Required type: \Magento\Framework\Registry. Actual type: array below is my code, please check below code help me where I gone wrong, <?php /** ...
0
votes
0answers
9 views

Store with only Downloadable Products. What would you change in order to give a better User Experience?

In my Magento store there are only downloadable products. I'm thinking to change some things in order to make my store more "Downloadable oriented". E.g. I was thinking: to replace the Add ...
0
votes
1answer
17 views

How do we know which factories class need to use in Magento2?

This is the code I copied from MagePlaza. class Index extends \Magento\Framework\App\Action\Action { protected $_pageFactory; public function __construct( \Magento\Framework\App\...
0
votes
1answer
24 views

Products Search Criteria

I am building catalog of my site. I have medicines with generic and brand names like below Generic Name is an attribute name and it's searchable. when I search Sildenafil it shows all products having ...
0
votes
2answers
18 views

magento 2 - class error on backend after remover facebook-for-magento

I'm Newbie, after remove facebook for magento now encounter error. magento backend catalog-products unable to load. There has been an error processing your request Class Facebook\BusinessExtension\...
0
votes
0answers
15 views

How to convert Password field to required in checkout of Magento 2

I want to convert password field to required from optional. I didn't found any settings to do that. Is any code available to do that? Please help.
0
votes
2answers
13 views

Magento 2 Dies When Creating a Configurable Product with 2000 Configurations

I need to add configurable products with lots of configurations like 2000 and even more. I want to do this through Admin Panel but Magento virtually dies when I click Save. Then I need to reboot the ...
0
votes
0answers
5 views

Magento2: urgent issue with Paypal

Always I used one website and Paypal checkout. Now I Created mulitwebsite store and disable Paypal. In this first default website everithing is correct. Paypal is disabled and checkout work correct. ...
0
votes
1answer
16 views

How to make user register but not login in magento 2.4

I want to make user register and redirect to login page in Magento 2.4. User not automatic login. I have created a plugin for that and created a file ( app/code/Registration/Redirect/Plugin/Customer/...
0
votes
0answers
12 views

magento 2 PWA setup issue

while install Yarn under Pwa-studio directory in magento 2 it shows below YN0002: │ react-aria@npm:3.4.0 doesn't provide react (p3bde2), requested by @react-aria/checkbox ➤ YN0002: │ react-aria@npm:3....
0
votes
0answers
12 views

I want to add additional Options to addtocart product when reorder in magento 2?

public function aroundAddOrderItem(CheckoutCart $subject, \Closure $proceed, $item, $qtyFlag = null, $data = [] ) { // Get Order Item $orderItem = $proceed($item, $data); ...
0
votes
0answers
14 views

How to setup multiple websites, stores and store views in magneto 2?

Create a root category - Catalog-> Categories-> Add Root Category Create a website, store and store view - Stores-> All Stores 2.1 Create Website -> Create Website (Ex- Berlin Website)...
0
votes
0answers
7 views

How to filter admin order grid collection on click of anchor link

How to filter on hold orders on sales order admin grid. I have a requirement to display count of on hold orders, when they click on message, user should see filtered collection. I have attached the ...
0
votes
1answer
7 views

Getting List / Deleting the Unused Option values using API in Magento 2

Need to get all the unused attribute value and delete it via API. How to get the Unused attribute list using SQL Query.
0
votes
0answers
15 views

customize single Magento 2 category page to display ALL new products from root category

I use Magento 2.4.1 and I need to set up a single menu link [eg. men] which is linked to a category that will show ALL the new products in the entire website and also any product with an attribute '...
0
votes
0answers
9 views

B2B quick order not working with Gift Card product type

B2B quick order add to cart throws error when gift card is added. Preconditions (*) Magento 2.4.2 EE installed B2B modules are installed Steps to reproduce (*) Enable Quick order in B2B ...
0
votes
0answers
4 views

Magento 2 checkout page Error on checkbox My billing and shipping address are the same function () { return Math.max.apply(null, this); } error

On checkout page while checkbox is checked I am getting error function () {return Math.max.apply(null, this);} this error is coming after the Street Address value and displayed after street address. ...
0
votes
0answers
10 views

Magento 2 How to implement UI Component XML Infinite Scroll data

I am working on One custom Module and loading all the Old orders items on the frontend page by using the UI component form. Currently data is coming in pagination but we have required it to load with ...
2
votes
1answer
26 views

In which situation the entity_id and row_id are different in “catalog_product_entity” table?

The row_at represents "Version ID" & also its "auto_increment" of type for the entity. That concludes that one record/entity can have multiple rows with the same value for ...
0
votes
0answers
10 views

In my Magento store have 400000 above product. It is taking time to reindexing any solution

I have Magento 2.4.2-p1 store. where have 400,000 above products it uploaded by Magmi extension. Reindexing taking too much time. Have any solution for fast reindexing. can i increase the values of ...
0
votes
0answers
10 views

magento2: custom search api using elastic search

How to create custom auto search API using elastic search to get intelligence search data. I have created a rest API but it's calling MySQL not elastic search. any help will be appreciated.
0
votes
0answers
9 views

How to add checkbox renderer in dynamic rows?

I am able to add multi select options in admin grid using below approach. My class extends Magento\Config\Block\System\Config\Form\Field\FieldArray\AbstractFieldArray protected function ...
0
votes
1answer
27 views

Magento 2 : rowid and entity id not same in catalog_product_entity table

Executed query - SELECT GROUP_CONCAT(parent_id SEPARATOR ',') AS parent_id FROM catalog_product_super_link AS super_link WHERE super_link.product_id = 914066 The issue is there are records where &...
0
votes
0answers
21 views

Problem when install any thing using composer in magento 2.4.1

am trying to install any module using composer v.1 and v.2 but I get this error all the time Problem 1 - The requested package laminas/laminas-servicemanager (locked at 2.7.11, required as ^3.6) ...
0
votes
1answer
15 views

Controller does not work

this is my controller <?php namespace Prevaj\Orderswatches\Controller\Index; class Index extends \Magento\Framework\App\Action\Action { protected $_pageFactory; /** * Undocumented ...
0
votes
0answers
9 views

Shipping By DHL in Magento2.4.1

I installed Magento 2.4.1 and have an account on DHL I inserted all required information and enabled the module default but not working on my site (the DHL shipping method not display when checkout) ...
0
votes
0answers
15 views

custom customer attribute in customer welcome email template in magento 2.3.5-p2

How to get account_id custom customer attribute in customer welcome email template in magento 2.3.5-p2 This link already try but not working access custom customer attribute in email template The ...

1
2 3 4 5
874