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

Quick local setup of existing project

I have been developing web apps for the last 2 years. A friend of mine owns a website built with Magento with which he needs some help. I've no experience with Magento as of yet, but I've been trying ...
  • 1
0 votes
0 answers
15 views

Get Purchase Order Rule Data via repository Magento 2

How to get Purchase order Rules data via repository. Further, from the result I want to fetch the data of the column 'conditions_serialized' Anyone who can guide ?
0 votes
1 answer
63 views

Create a new Magento Status

I want to create a new Magento Status in the backend using Data Patch. Anyone having any idea on how to process that? Thanks, Rashi
0 votes
1 answer
41 views

How to learn knockout js. Please help to learn about js,

**How to learn knockout js. Please help to learn about js.
0 votes
2 answers
60 views

Create a data patch to update telephone field saved in the table company Magento 2

In Company & company_address table , data across the telephone field is saved as (234)-378-4949. I want to refine the old data using data patch so that it will saved in numbers only i.e. ...
0 votes
1 answer
12 views

head_option.phtml, i commented google.api call fonts, but there is script file in that . is it okey to remove the script

var ThemeOptions = { box_wide: getConfig('general_section/layout/box_wide') ?>, rtl_layout: getConfig('general_section/layout/enable_rtl') ?>, sticky_header: getConfig('...
1 vote
0 answers
23 views

Instead of update cart button, qty should get update on click of Increment And Decrement button

I want to implement Ajax Cart Page : Qty should get changes on click of +/- button instead of update cart button I didn't find any article or any module to achieve this. as qty increment(+) and ...
0 votes
1 answer
39 views

Refused to connect error in trustpilot for other website in magento 2

I have two websites in my magento admin and I need to add trust boxes in the pages using trust pilot - trust boxes. It is working fine for one website, but when load other website url in the ...
  • 131
0 votes
0 answers
64 views

Magento2.3.5: How to get Customer Grid custom columns values in CSV?

I want to to add custom columns values in export option in customer grid, but only heading are showing in csv file not values. here is my customer grid custom columns. Vendor\Module/view/adminhtml/...
  • 395
0 votes
2 answers
46 views

How to overide the thrid party module Helper class in Magento 2

i want change the third party module helper class. thrid party module helper class <?php namespace Amasty\Blog\Helper; /** * Class */ class Date extends \Magento\Framework\App\Helper\...
  • 131
0 votes
1 answer
23 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 ...
0 votes
0 answers
61 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?
1 vote
2 answers
780 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 ...
0 votes
0 answers
86 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 ...
  • 6,016
0 votes
1 answer
508 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? ...
0 votes
0 answers
81 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
0 votes
3 answers
119 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/...
  • 610
0 votes
0 answers
132 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?
0 votes
2 answers
150 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 ...
1 vote
4 answers
708 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() ...
-1 votes
3 answers
852 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 ...
0 votes
1 answer
1k 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 ...
  • 368
0 votes
1 answer
24 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.
  • 1
0 votes
1 answer
447 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 ...
  • 2,490
0 votes
1 answer
514 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 ?
  • 2,490
2 votes
0 answers
235 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 ...
  • 21
1 vote
0 answers
44 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->...
1 vote
1 answer
769 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/...
0 votes
1 answer
482 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....
1 vote
1 answer
747 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 ...
1 vote
2 answers
287 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=...
0 votes
3 answers
940 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 ...
1 vote
1 answer
394 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 ...
  • 11
0 votes
1 answer
212 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&...
2 votes
1 answer
36 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 ...
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 ...
  • 1,417
0 votes
1 answer
69 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.
0 votes
1 answer
24 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....
0 votes
1 answer
121 views

Move custom product in More Information Tab

I want to move product attributes inside the more Information tab. Can someone help?
  • 319
1 vote
0 answers
16 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 ...
  • 2,490
0 votes
1 answer
419 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'; $...
  • 2,490
1 vote
2 answers
508 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 ...
0 votes
2 answers
40 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 ...
  • 2,490
0 votes
0 answers
41 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 ...
0 votes
1 answer
137 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 ...
  • 11
0 votes
1 answer
22 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.
0 votes
1 answer
679 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
  • 2,490
3 votes
5 answers
5k 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?
  • 2,490
3 votes
1 answer
1k 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:...
  • 2,490
0 votes
1 answer
404 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.
  • 2,490

1
2 3 4 5
10