Questions tagged [magento2.3.1]

General questions related to the Magento 2.3.1 such as its features, bugs, modifications & enhancement than the old version.

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

Remove huge Buy Now button from all product pages

been struggling with finding a solution for this, seems like it should be an easy configuration change. All the products on my site have a huge BUY NOW button under the Add To Cart that is for the ...
user avatar
0 votes
0 answers
29 views

How to call controller's predispatch event for specific controller action?

Magento Version : 2.3.1 I want to call predispatch method for specific frontend controller. Can you please suggest me how can I achieve it?
user avatar
1 vote
1 answer
259 views

magento 2 Session size of 26991656 exceeded allowed session max size of 756000

I was unable to log in for admin after upgrading Magento 2.3.1 to Magento 2.4.4. So i tried to set value of system/security/max_session_size_admin to 256000. Which was working fine for me for some ...
user avatar
0 votes
0 answers
44 views

Magento 2 copy SKU value to custom attribute value

I have approx 50000 product in my store. I would like to copy the SKU value to the Custom attribute(custom_sku_field) value for all products. I think going for SQL query might be risky. so can anyone ...
user avatar
  • 5,876
0 votes
1 answer
156 views

Add on click event instead of hover on magento menu

I want to add an on-click event on the menu instead of hover in Magento Luma Theme. I have checked a lot of solutions but nothing is properly understandable. Can someone help me out on the same? ...
user avatar
0 votes
0 answers
55 views

Script to Enable RMA Magento 2

I want to enable RMA for all products in one go. How can I obtain that? Please specify. Thanks, Rashi
user avatar
0 votes
0 answers
45 views

Add Increment & Decrement of the Quantity Buttons on PLP Magento 2 B2B

I want to add Increment & Decrement buttons on PLP Page. Moreover, I want to show the available quantity as well. I followed the tutorial - https://vrajeshpatel.in/2021/05/23/how-to-add-quantity-...
user avatar
0 votes
0 answers
34 views

Add custom field on Magento Company Registration Form

I want to add a custom field i.e. pwd/confirm PWD in the Magento company register form i.e. B2B Register form. I will not send an email to the customer for a password. Can anyone give me an idea to do ...
user avatar
0 votes
3 answers
48 views

Adding custom column in order grid, removes toolbar from page

In administration Orders Grid, I added a custom column containing telephone. I used a custom extension for this and it causes order toolbar to disappear somehow Here's the module code: etc/adminhtml/...
user avatar
  • 591
0 votes
0 answers
63 views

Magento 2 : Create duplicate cart price rule using existing cart price rule id

I want to duplicate the cart price rule in magento 2 by using cart price rule id. is there any way?
user avatar
0 votes
2 answers
89 views

Customer Name Length Validation Not Working

We've recently had some issue with spammers using the registration page to send spam emails. We've enabled the magento captcha but are still seeing the spam emails being sent. I've seen others online ...
user avatar
0 votes
0 answers
49 views

How to add multiselect filterable to Custom product attribute magento 2.3?

public function addTestCustomAttributes(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); ...
user avatar
  • 1
1 vote
4 answers
415 views

How to resolve the Unable save the extension attributes

I followed this link for creating the custom address field. I'm getting this error PHP Fatal error: Uncaught Error: Call to undefined method Magento\Sales\Api\Data\OrderExtension::setCustomerAddrId() ...
user avatar
-1 votes
3 answers
408 views

Magento2: Invoice and shipment emails are not going to the customer

I am using Magento2.3.1. I have installed mageplaza SMTP extension and configured it with Send Grid details. I have completed all configuration and able to sent test email successfully. After that I ...
user avatar
0 votes
1 answer
989 views

How To create Custom Cart Price rule In magento 2.3.1

I want to create a custom cart price rule with below conditions 1. If Subtotal Should be greater than xyz amount then abc product will be free. I am able to add condition for greater than xyz but not ...
user avatar
0 votes
1 answer
23 views

Magento 2.3.1 Add configurable products - all product pages show the same attributes

Add configurable products, the size and color will appear on the new page of each product, which makes me very distressed.
user avatar
  • 1
0 votes
1 answer
276 views

How to handle if curl request throws error in magento 2

I am receiving a response from using a curl request. But how do I check whether my curl request throws an error or not? because it takes 15 minutes to give a response from API.(but it works fine while ...
user avatar
  • 2,418
0 votes
1 answer
254 views

How to get customer group id by giving customer group name in magento 2

I need some functionality based on the response given by ERP. I need to get the customer group id by using the customer group code? How do I get customer group id by group name ?
user avatar
  • 2,418
1 vote
0 answers
141 views

Display specified variations of a configurable product in category display page, all linking to configurable PDP

This is less of a coding question and more of community knowledge. We would like to include product filters on our site, specifically for size and width. However, at the moment, for products with ...
user avatar
  • 11
1 vote
0 answers
28 views

How to use source model reuse in custom module custom field Email Sender in Magento 2.3.1

How to use source model reuse in custom module custom field Email Sender in Magento 2.3.1 Magento\Config\Model\Config\Source\Email\Identity Our custom module custom field like this $fieldset->...
user avatar
1 vote
1 answer
572 views

Magento2: how to call login popup on place order button and remove from proceed to checkout button

Magento2.3.1: How to call login popup on place order button and remove from proceed to checkout button. I am trying to get solution with these files:- vendor/magento/module-customer/view/frontend/web/...
user avatar
0 votes
1 answer
259 views

Fatal error: Allowed memory size of 1258291200 bytes exhausted (tried to allocate 262144 bytes) and My site down in Magento 2.3

Fatal error: Allowed memory size of 1258291200 bytes exhausted (tried to allocate 262144 bytes) in /var/www/html/vendor/magento/module-configurable-product/Pricing/Price/Configurable Price Resolver....
user avatar
0 votes
1 answer
523 views

Wrong Product URL when found via category on M2

I am using Magento version 2.3.1 EE and I observed that some of the product page URL's are coming wrong when found via category even if the URL rewrites are created in the Magento admin. It is ...
user avatar
1 vote
2 answers
129 views

how to add custom phtml file in magento 2.3.1

how to add product.info referenceBlock add custom phtml in magento 2.3.1 but not added app/design/frontend/{Theme}/{name}/Magento_Catalog/layout/catalog_product_view.xml <referenceBlock name=...
user avatar
0 votes
3 answers
627 views

how to add custom container inside product.info.main container in magento 2.3.1

how to add custom container in class="product-info-main" referenceContainer="content" and inside catalog.product.view.xml file catalog.product.view.xml <referenceContainer ...
user avatar
1 vote
1 answer
286 views

Can't close accordion after update from 2.3.1 to 2.3.5-p1

tl;dr After upgrading from Magento 2.3.1 to Magento 2.3.5-p1 our custom JavaScript, part of our custom theme, stopped working. I'm receiving the following error when trying to close the accordion ...
user avatar
  • 11
0 votes
1 answer
162 views

Magento 2 - Error processing your request

anyone can help me why I am getting this error ? This error coming again and again on my website. The configuration file has changed. Run the "app:config:import" or the "setup:upgrade&...
user avatar
2 votes
1 answer
34 views

Magento2.3.1 - After install theme :can't use bin/magento CLI

Try to install theme name:"UB Trex" for Magento 2.3.1 so I have followed the instruction to download the zip, and extract it to localhost,copy app and pub folder to serve magento root by ...
user avatar
0 votes
3 answers
1k views

Magento 2.4 installation issue on windows machine

I have downloaded magento 2.4 and trying to install on windows machine but while hitting "localhost/magento-24/" it is not showing install button. I don't know the reason can some help me in ...
user avatar
  • 1,367
0 votes
1 answer
49 views

Need to change customer account side tabs layout Vertical Layout to horizontal on top.Magento 2.3

I need to change the My Account section side tabs layout (Vertical to Horizontal) and wanted to add on top before the My Videos Label. Please Help me to change this layout.
user avatar
0 votes
1 answer
20 views

How to move page mail title after category description in magento 2.3.1

app/design/frontend/vendorname/modulename/Magento_Catalog/layout/catalog_category_view.xml <move element="page.main.title" destination="main.category.col.1" after="category....
user avatar
0 votes
1 answer
74 views

Move custom product in More Information Tab

I want to move product attributes inside the more Information tab. Can someone help?
user avatar
  • 309
1 vote
0 answers
15 views

Magento 2 :How to write ategory URL rewrite

How to write 301 redirections to the category page Category URL key is "ballasts" request path : ballasts.html target path : catalog/category/view/id/10 When the user hit this URL directly ...
user avatar
  • 2,418
0 votes
1 answer
256 views

How to disable all categories via programatically in magento 2

I have tried to disable categories in Magento 2 I have tried to achieve this via PHP script like below <?php use \Magento\Framework\App\Bootstrap; require __DIR__ . '/../app/bootstrap.php'; $...
user avatar
  • 2,418
1 vote
2 answers
422 views

Magento 2.3.1 product detail page is very slow

The TTFB is on 29 seconds and its taking 55+ seconds to load the product detail page. We have varnish cache enabled, product mode enabled, JS and CSS minified already and expiry headers and other ...
user avatar
0 votes
2 answers
19 views

Why the product attribute input type is uneditable via admin panel once it created in magento 2

Why the product attribute input type is uneditable via admin panel once it created in Magento 2. Can anyone explain? My understanding is once the attribute values are entered and saved, the type of ...
user avatar
  • 2,418
0 votes
0 answers
30 views

Not able to extend Luma theme

I needed to add an attribute brand to Luma theme. For this, I will have to create a new theme. I created one by extending Luma theme. I followed all the steps to extend Luma theme as described here ...
user avatar
0 votes
1 answer
105 views

Can't cancel order in pending status

I created an order payment with Redsys. The status of the order is Pending. However I can't cancel the order. Appears a message saying that "the order can't be canceled" Why? In theory, I could cancel ...
user avatar
  • 11
0 votes
1 answer
21 views

inicio de sesion emergente magento2

How do I get the login form to pop up on the same page when I click on login? In the image is graphically what I need to do.
user avatar
0 votes
1 answer
353 views

How many price types available in magento 2

How many price types available in Magento 2.x.x How it can be loaded on the checkout page? What is the difference between group price and tier price in Magento 2
user avatar
  • 2,418
3 votes
5 answers
4k views

How to update the attribute scope programmatically in Magento 2

I have 20 product attributes. I need to change those attributes' saving scope to "Global". How can I achieve this?
user avatar
  • 2,418
3 votes
1 answer
736 views

How to remove the attribute element in the layout in magento 2

I wish to remove the attribute element in the catalog_product_view.xml file I have tried below <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
user avatar
  • 2,418
0 votes
1 answer
298 views

How to add cms page URL in sitemap.xml

How to created sitemap.xml last week in my production site. Today I have created a new CMS page. How do I add this page's URL to sitemap.xml? Please provide me a solution.
user avatar
  • 2,418
1 vote
2 answers
2k views

Magento2 : stop order confirmation email for specific payment method

How can we stop new order confirmation email. We have 3 payment methods which are EFT(Cash on Delivery), Paypal express checkout & Credit card payment. So when we place an order we get invoice and ...
user avatar
0 votes
1 answer
687 views

Magento 2 How to Catalog Price rule apply on product special price

i want to catalog price rule apply on special price product but i see in magento default apply only on product final price but i want to catalog rule apply on product special price how can achieve ...
user avatar
  • 5,144
0 votes
2 answers
206 views

How to add custom html class to "Sign Out" button in magento 2

How to add custom HTML class to "Sign Out" button in magento2
user avatar
  • 2,418
0 votes
1 answer
206 views

How to show custom popup when customer click sign out button(want to show this popup for the customer once in a day) in magento 2

I have displayed a custom message in a popup for the logged out customer in Magento 2. For example what I have done so far. Once they click the "sign out" button, I have shown the popup to them. But ...
user avatar
  • 2,418
0 votes
0 answers
3k views

How to detect the browser tab close event in jquery

How do i detect the browser event when customer closing the browser tab by clicking X in jquey? I just want to show popup to the customer while they closing the browser tab. I have used below code. ...
user avatar
  • 2,418
1 vote
2 answers
212 views

Magento 2: Coupon code makes an order free

I have a Magento 2.3.1 that makes this problem: I have a coupon code that makes 90 EUR discount defined as: Add a product to cart of 70 EUR (below 90 EUR) Goto to cart, apply the coupon code Total ...
user avatar
  • 13
0 votes
2 answers
492 views

Source class "\Magento\Framework\Mail\EmailMessageInterface" for "Magento\Framework\Mail\EmailMessageInterfaceFactory" generation does not exist

On my test-server im running magento 2.3.1 after doing composer upgrade the system updated my addons but now when i want to php bin/magento setup:upgrade i recieve the following error: Source class "\...
user avatar

1
2 3 4 5
10