Questions tagged [magento2.3]

Denotes questions related to Magento CE 2.3.x and EE 2.3.x

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

Tons of sleep processes in mysql from magento causing "connection refused"

On a Magento 2.3.3 site, a couple of times a month our site will go down (or run slowly to the point that it is unusable due to timeouts) for a seemingly unknown reason. The first thing I look at is ...
user avatar
0 votes
0 answers
10 views

My language dropdown doesn't work when searching with apostrophe in magento 2

Please see the screenshot: First 1:https://i.stack.imgur.com/d1SNR.png Second 2:https://i.stack.imgur.com/MKcci.png
user avatar
0 votes
2 answers
29 views

How to pass .phtml file variable to another module .phtml file in magento2

I am new in the magento. If anyone have idea how to do this then please let me know. I have two files in different module in in that two .phtml file will be there. From First .phtml file to another ....
user avatar
  • 1
0 votes
1 answer
16 views

magento 2 - first order dicount

Is there any way to give a customer coupon code for first order only ? ( in cause second order for customer can't use the coupon even if Its not use it in first order)
user avatar
  • 29
0 votes
1 answer
24 views

GET /favicon.ico HTTP/1.1" 404 41657 while running container

I need some help here, After building the containers successfully On hitting the host, we are getting these logs GET /favicon.ico HTTP/1.1" 404 41657 while running container Thanks
user avatar
0 votes
3 answers
32 views

How to install 2 different magento2 instance with same server and same database

I want to install 2 magento2.4.4 on my server and connect with single database .
user avatar
  • 11
0 votes
1 answer
37 views

Magento 2.4.2: The following modules are outdated: Perfectmakeupmirrors_PmmHead schema: current version - none, required version - 0.0.1

I just created a custom module to add a metatag in a category page of our Magento site by making use of event and observer. When reloading the category page, below is the error I see. I re-ran the ...
user avatar
0 votes
3 answers
29 views

Shipment Created but not showing under order Information Magento 2.4.2 p-2

I added a shipment information against that particular order. after added message i will check in shipment section. no shipment found on that Tab. Last week its working fine but still not able to see.
user avatar
  • 101
0 votes
1 answer
14 views

Magento Optimization -> 1- Upgrade Magento jquery version to 3.6 | 2 - use varnish cache , install and configure varnish cache on your demo stores

Can anyone know how to do these tasks, or any hint?
user avatar
0 votes
1 answer
42 views

How to attach pdf in mail in Magento 2.4

I have custom form with add file button. Once user submit the form i need to sent form details with pdf in mail. I tried different solutions. and i follow this - Magento 2.4.2 How to attched PDF in ...
user avatar
  • 33
1 vote
0 answers
30 views

Magento 2.4 Custom logger , log admin activity of product edit with code?

How do you log admin activity of the product edit page with code? create a logger which logs admin activity.
user avatar
0 votes
0 answers
31 views

Magento 2.3 - Thumbnail images not display while swatches selected for configurable product

Magento - 2.3.* Logged in customer Add configurable product to wishlist with swatches Go to wishlist page and click on the product The product page is open with selected swatches but thumbnail images ...
user avatar
0 votes
0 answers
13 views

Magento 2: How To Override Mass action js For Current Module(works only for the current module)?

Magento 2: How To Override Mass action js For Current Module(works only for the current module)? Using the mixin I'm able to override core massactions.js but its working with other modules too. How ...
user avatar
  • 3
0 votes
1 answer
28 views

How to add category dynamic field with textbox in admin form magento 2

Add Field in ui Form category selected in check box then display textbox for that category
user avatar
0 votes
0 answers
35 views

Magento 2 CSS not found for store view

In our deployment of magento 2.3 I've followed the docs to create a new store && store view. The store view url is a path in the same domain as the default view and I've chosen to add the ...
user avatar
0 votes
2 answers
31 views

Magento 2 show custom option price in order email

I have tried to set custom option price when order is placed the price should be stored in sales_order_item table in custom_option column and tried to create plugin for this but the plugin is not ...
user avatar
  • 1,039
0 votes
1 answer
37 views

How to override the Search.php using preference in magento 2?

I am not able to override the Search.php file by using preference in magento 2.3.4. Below is the my di.xml file. Please anybody can check the below code. <config xmlns:xsi="http://www.w3.org/...
user avatar
  • 696
0 votes
2 answers
22 views

How we show customer group name in magento 2 email template

As of now, I created a customer from the backend, while creating a customer, it will send the welcome email template to that corresponding customer. In that, how I will add the customer group in the ...
user avatar
0 votes
0 answers
14 views

How to stop the background from moving top of the page when popup model opens in Magento 2

I created a Popup modal. when user click on button i showing the popup form. But the Background is moving top of the page when the popup modal is opened. How to stop the background from moving top ...
user avatar
  • 33
0 votes
1 answer
30 views

How can I limit discount coupons amount

I created a cart price rule 5% whole cart. but I want to limit maximum dicount amount to 30$. for example if The customer buy with 1500$ still can Apply the discount with maximum discount amount 30$. ...
user avatar
  • 29
0 votes
0 answers
23 views

When upload Image Ajax Request return 502 Bad Gateway - Nginx

when we try to upload image in magento Admin panel we got 502 Bad Gateway Error Nginx host configuration file: # Define the PHP-FPM socket file for nginx to proxy-pass to upstream examplecombackend { ...
user avatar
  • 101
0 votes
0 answers
47 views

Mysql query to get product details in magento 2

I need a MySQL query to get product SKU, price, description, and discount for all enabled products, where the discount is the custom attribute and the attribute-id for that custom-attribute is 1168. ...
user avatar
0 votes
1 answer
38 views

How to change the custom controller url to fancy url in magento 2

I created a page using conroller with the URL - "mani.magento.com/demo/action/index" but in the live site that page URL looks like this "mani.magento.com/our-service/hospital-meals/...
user avatar
  • 33
0 votes
0 answers
22 views

Set region id null on checkout

I'm trying to save region id as a null value after clicking next from shipping tab to the payment tab on the checkout page. I have used the below file to setRegionId() which is working fine if I add ...
user avatar
  • 828
1 vote
0 answers
11 views

how to automatically send markdowns into the sale sections?

when I make some markdowns for the sale items they don't go in the right categories. Is there a way to do this?
user avatar
  • 11
0 votes
0 answers
31 views

Magento 2 Upgrade 2.2.8 to 2.3.5 region name and city name is empty on checkout payment page for guest users

After upgrade Magento 2 (2.2.8 to 2.3.5) i am getting some errors and bugs, one of those is on checkout payment page, the region name and city name is empty for guest users, for example: URL /checkout/...
user avatar
0 votes
1 answer
56 views

Find all duplicate product name

Looking to find all duplicate product names, Tried to find out with group by but it not giving duplicate values,its eliminate duplicates values, $collection = $this->productFactory->create()->...
user avatar
  • 461
0 votes
1 answer
26 views

magento 2 add span tag in price

I am facing an issue with Magento 2 checkout success page. I have added API for SMS to receive final SMS about the order and when SMS is received its showing the "span" stage around the ...
user avatar
0 votes
2 answers
54 views

When i disable an observer found this type of error "This observer does not exist to be disabled."

Does any one have any idea about this type of issue?
user avatar
  • 15
0 votes
0 answers
24 views

Multi source inventory: Move inventory/stock from non-MSI to newly added MSI source/stock?

We have an existing store, where we have just one warehouse. Let's call it Warehouse 1. Because we have only this one warehouse, the MSI related extensions have been disabled before. This is how we ...
user avatar
  • 1,053
0 votes
0 answers
24 views

fotorama gallery on product detail page

How to disable the on-click event on the fotorama gallery on product detail page, I'm trying to implement the gallery image pop-up only a click event occurs on a particular icon.
user avatar
  • 1
0 votes
0 answers
31 views

Handlebars is not defined error in Magento 2

How can we load handlebars Js library in Magento 2. I have tried Require JS XML Direct Script in html file. But none of these methods worked. Error in console Handlebars is not defined
user avatar
0 votes
0 answers
37 views

How to show thanku popup only, if user alredy submitted the form in magento 2 untill user leaves page

I have custom popup form, when the user click on 'get in touch' button i am showing popup to fill the form, once user submitted the form i am showing thanku popup.So if the user again click on 'get in ...
user avatar
  • 33
0 votes
0 answers
10 views

pending payment to complete

It's possible to change order status from pending payment to complete ? sometimes online payment failed and order status still pending payment I need to change complete.
user avatar
  • 29
0 votes
0 answers
19 views

After open the sales -> order listing page face this issue

**After open the sales -> order listing page face this issue in admin panel** Something went wrong with processing the default view and we have restored the filter to its original state. and find ...
user avatar
0 votes
1 answer
21 views

After login the admin panel we find this error

After login the admin panel we find this error . A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later. How to fix ...
user avatar
0 votes
2 answers
330 views

Elasticsearch issue after run [ curl http://localhost:9200 ] curl: (52) Empty reply from server. guide me on this please

Can you please guide me on this issue please. After install elasticsearch install successfully But while try this url [ http://localhost:9200 ] Geeting this issue after run [ curl http://localhost:...
user avatar
  • 145
0 votes
0 answers
14 views

Defult js and css file not working how to fix this issue in phtml file using custom module in magento2

Find this issue again... Refused to apply style from http://localhost/magentohello/pub/static/version1649996273/frontend/_view/en_US/mage/calendar.css because its MIME type ('text/plain') is not a ...
user avatar
0 votes
1 answer
43 views

create a mysql table view in Magento 2

Anybody know , how we create a MySQL table view in magento 2 programmaticallt
user avatar
1 vote
2 answers
219 views

Form validation is not working in my custom form in Magento 2

<div id="popup-modal"> <div class="contact-form-popup" style="display:none;"> <form class="form contact" action="<?= $...
user avatar
  • 33
0 votes
0 answers
145 views

How to show success message in popup modal after submitting the form in magento 2

here i did this to show popup modal <div id="popup-modal" style="display:none;"> <form class="form contact" action="<?= $block->getUrl(...
user avatar
  • 33
0 votes
1 answer
30 views

What is interface in magento 2 and why use?

What is interface in Magento2 ? Why use this ? I want to know more detail about interface ?
user avatar
0 votes
0 answers
15 views

Customer session is not working when i login for first time due to cacheable= true

I have created a ViewModel with below code: <?php namespace {ClassNameSpace}; class {ClassName} implements \Magento\Framework\View\Element\Block\ArgumentInterface { private $context; ...
user avatar
0 votes
1 answer
49 views

Set programmatically image roles

I have that in my backoffice : and I need that: This solution does not work for me : if($key == 1){ $prod->addImageToMediaGallery($imgPath, array('image', 'small_image','thumbnail'), ...
user avatar
0 votes
0 answers
34 views

Some paypal express orders have first name missing in address

With paypal express orders I have noticed sometimes the customer first name is blank and their first name and 2nd name is in the surname field. I think these might be old paypal accounts that have ...
user avatar
  • 369
0 votes
0 answers
13 views

Errors during compilation

Errors during compilation: Custom\Grid\Model\ResourceModel\Grid\Grid\Collection Incompatible argument type: Required type: \Magento\Framework\DB\Adapter\AdapterInterface. Actual type: \Custom\Grid\...
user avatar
  • 35
0 votes
0 answers
9 views

Ho we create a view table with product

Does anyone have the idea of, how we create a view table with product details(Name, SKU, Id, Price)? Note: If we update any details of the product, then it will be reflected in my new table also. How ...
user avatar
0 votes
1 answer
20 views

Need to join two tables

Need to join two tables sales_order TO JOIN sales_order_item ON entity_id = order_id Below is what is existing and would like to join sales_order to this. Collection.php <?php namespace Magecar\...
user avatar
  • 35
0 votes
2 answers
96 views

Customer login Session is not working on homepage due to magento block cacheable=true

Use codes: 1: $ObjectManager= \Magento\Framework\App\ObjectManager::getInstance(); $context = $ObjectManager->get('Magento\Framework\App\Http\Context'); $isLoggedIn = $context->getValue(\Magento\...
user avatar
0 votes
0 answers
35 views

Magento 2 change product attributes before saving

I have used the catalog_product_save_before event like below. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
user avatar
  • 828

1
2
3 4 5
93