Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
3k views

Magento 2 error "No such entity with cartid =xxxx"

I'm frequently getting this" No such entity with cartId =xxxxx " When I try to edit order by set order status to another status or assign order to customer. I've taken a look at the database ...
0 votes
1 answer
1k views

Error 400 and error 503 by /customer/section/load/? and ?sections=messages

I have upgraded my stage site from Magento 2.2.9 to 2.3.3, but now it's getting long loading time by the /customer/section/load/?sections=gtm&force_new_section_timestamp=false&_=... and ...
0 votes
1 answer
2k views

Magento Custom button add Custom Controller URL

I added a button in the Admin under Catalog->Category. Now I would like this button to have the URL or click function that redirects to my custom controller in the admin. But I can't seem to generate ...
2 votes
1 answer
2k views

How to translate Magento validate.js error

I have a website with 2 stores (English and Spanish). Now I need to translate validation messages in Spanish. Like for example: Please enter a valid email address. Please suggest how I can ...
1 vote
1 answer
2k views

Magento Custom Attribute Sorting - By Sort Order

I would like to get the catalog to sort by the custom attribute sort_order position. However, when using custom attributes to sort product collections, in MYSQL it sorts by attribtute value name, when ...
4 votes
4 answers
7k views

Create custom grid in admin using ui component in magento 2

I have done all necessary changes to create a grid in admin but I can not see the grid in my menu. I can see only title of a page in the menu but after that its showing blank. Module — Demo/Offers/ ...
0 votes
2 answers
2k views

Magento 2 - how to connect/use Mongo DB

I want to connect MongoDB to my magento 2.x website and store some custom entries in same. So basically I will require connection details and how i can insert and update the records in mongo db. ...
0 votes
2 answers
2k views

Add block below short description on product page

I am developing a module and would like to put a block on the product page, immediately underneath the short description and above the dropdown selection. I have looked at every single answered ...
1 vote
1 answer
1k views

Magento2.3 adding the products automatically to the parent category and to the subcategories which are on higher level

I am using Magneto2.3.0 I need this adding the products automatically to the parent category and to the subcategories which are on higher level If anyone idea reply me how to achieve this requirement....
3 votes
2 answers
2k views

Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setFormat() must be of the type string, null given

When i trying to install data migration tool then getting this error in SSH PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setFormat() ...
1 vote
2 answers
1k views

Magento 2 check if product already in compare list

I want to check if products is already in compare list on product listing page and show remove compare button there below is come of my list.phtml Add to compare <a id="compareclick-<?php ...
3 votes
2 answers
2k views

Configurable product still out of stock even after child product is back in stock

I have Magento 2.3.0 installed on server with MSI package upgraded to v1.1. I have configurable products with their child products initially in stock. Once all the child products goes out of stock, ...
0 votes
1 answer
1k views

Get specific columns from Left Join

I am trying to join two tables like below $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $collection = $objectManager->get('Advance\Module\Model\Method') ->...
0 votes
1 answer
2k views

Magento 2 Change default store view in admin

Can Anyone know how to set a default store view in admin? Please let me know if anyone have any idea about this.
0 votes
1 answer
2k views

Assigning Multiple Customer Groups to Customers

I'm working on a Magento 2 Commerce project at the moment that has data ready to be imported that has thousands of price rules. The issue I have currently is that there are customer groups in their ...
0 votes
1 answer
2k views

Magento Css and Js are not loading

I have upgraded to Magento 2.4.3. Upgrade was successful but the layout is not proper. Css and Js are not loading. I have tried every solution but none work. It show 404 not found for images and js ...
3 votes
1 answer
2k views

Magento 2 - Is it possible to enable "Customizable Options" feature in Bundle products?

I want custom option feature in bundle products in Magento 2. So anyone can help here. How I can enable this feature in admin for bundle product creation. Thanks
0 votes
0 answers
16 views

Magento2.4: How to show custom dropdown of configurable product size swatch?

I'm trying to create a custom dropdown for the size swatch of configurable products. I was getting an error on my iPhone which doesn't show the size attribute on mobile so I was converting the size ...
0 votes
1 answer
1k views

How to move add to wishlist button next to add to cart button [blank theme]

How can I go about moving the Add to Wish List Button next to the add to cart button? I can get the wishlist button to dissapear which I definitely don't want, but I can not get it to move next to ...
0 votes
1 answer
37 views

How to Disable This is a required field email in checkout page

How to Disable This is a required field email in checkut page
3 votes
4 answers
2k views

WYSIWYG editor inserting &quot; instead of correct " in 2.3.0 when we use any anchor tags

I am facing an issue with Magento 2.3.0+ WYSIWYG editor inserting " instead of correct " and also when we write like <a href="{{store_url}}sales/guest/form/">Orders and Returns</a> ...
0 votes
2 answers
5k views

Magento 2.3. How to create image upload field in an admin form

I want to discribe How I have created image upload field in an admin form. My module's name is Paracrab\Banners Firstly You should add field in Paracrab/Banners/view/adminhtml/ui_component/...
0 votes
3 answers
4k views

How to Print Raw SQL query of Magento 2 format?

I am trying to print the raw SQL query of the below statement in Magento2 but am not able to do it. please find the statement $connection = $this->getConnection(); // I am getting the connection $...
1 vote
1 answer
1k views

Klarna Module not working Magento2 2.3

When I activate the integrated Klarna module and try to buy items in the shop I get the following error message in the console: Error: [object Object] customer-data.js:91:23 return $.getJSON(options....
1 vote
2 answers
2k views

How to change default search placeholder text in Magento 2.3.5

I want to change the default search box placeholder text by using a translation file - it's the text that says "Search entire store here...". I want to change it to "Search website"...
0 votes
1 answer
2k views

Should pub/media directories be included in the gitignore?

I've inherited a Magento 2 codebase and the .gitignore file matches the one in the Magento 2.3 repo. I downloaded the latest copy of the database and the /pub/media folder from the live site for my ...
0 votes
0 answers
41 views

Iframe not loading on a CMS page

We are trying to embed a Magento 2 website's page on another Magento CMS page using iframe, but the iframe is not working. When I checked the browser console I found an error. This is my csp_whilist....
0 votes
1 answer
1k views

Magento 2.3 Varnish 503 Backend fetch failed

varnish server gives back error message: Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 131307 varnish log info: Varnish cache server # varnishlog -q 'RespStatus == ...
2 votes
1 answer
2k views

The invoice can't be saved at this time. Please try again later

I have 2 problems with orders: 1st, I can't change my orders status: 2nd, I can't generate invoice from my orders:
2 votes
2 answers
2k views

magento 2.3 get cart item related to applied cart rule

Situation: There are 4 products in the cart One of these products causes a cart rule to apply By getting the cart items via code, I need to be able to identify the one item that is causing the rule ...
1 vote
2 answers
3k views

How to override the magento 2 createpost controller?

I overridden the \Magento\Customer\Controller\Account\CreatePost controller using preference in di.xml and want to add a collection using factory method but always I get Type Error occurred when ...
1 vote
2 answers
2k views

Magento 2 Set Default Zip/Postal Code in cart page

I have overridden the vendor/magento/module-checkout/Block/Cart/LayoutProcessor.php in my module and added below code to set the default value of postcode class LayoutProcessorPlugin { public ...
1 vote
2 answers
2k views

SQLSTATE[hy000] [2002] No such file or directory

error when command php bin/magento indexer:reindex php version : 7.3.14 magento : 2.3.4
0 votes
1 answer
37 views

How to apply multiple coupons in Magento 2.4.7

As per magento 2.4.7 multiple coupon codes feature available for REST Api, GraphQL. If we want to make it work for storefont, how can we achieve this? Thank you.
1 vote
1 answer
2k views

Uncaught TypeError: Cannot read property 'innerHTML' of null

We have tried to do a checkout on our website but its not working. When looking into the console, it says the below error Uncaught TypeError: Cannot read property 'innerHTML' of null and its ...
3 votes
2 answers
2k views

Magento 2 : How to override translation file module wise?

I need to update translation file only for checkout page , so how can I do that . I don't want to use translation file which is use in theme folder.
0 votes
2 answers
2k views

Magento 2.3.6 Add Custom Sort For Product Graphql

I want to sort the products graphql with backorder and is_in_stock attribute. Please let me know if anyone has any solution for it. I tried with quantity_and_stock_status it is applied only on qty.
1 vote
3 answers
3k views

Magento 2.3 - php 7.2.10 - Reindex error - bin/magento is not opening -

MacOS High Sierra MAMP php webserver - 7.2.10 /Applications/MAMP/bin/php/php7.2.10/bin//php- 7.2.10 -- usr/bin/php - 7.1.16 Nittns-MacBook-Air:~ baanallc$ cd /applications/MAMP/htdocs/23/ Nittns-...
1 vote
1 answer
1k views

Unable to change the customer group in magento2

I created the customer at time group is assigned correctly. but after login into admin I try to change the group, it is not changing but message is coming like 'You saved the customer'. Customer ...
0 votes
1 answer
1k views

Magento 2 Knockout Js Checkbox Checked

I want to preselect the checkbox based on the data but checkbox are not getting preselected not sure why. Below is the code. Knockout salesPerson: ko.observableArray([ { itemName: '...
1 vote
2 answers
2k views

How to add custom field (textbox) in CMS page Magento 2.3?

I want to add a custom field (textbox) on the cms page admin side. Can anyone please guide me? Like this: https://prnt.sc/1qfe0cf
0 votes
2 answers
2k views

magento 2 sales order grid add payment transaction column

How to add Payment transaction column to sales order grid in admin? Can you please help me step by step? Regards Hiren Shah
2 votes
3 answers
6k views

We can't find products matching the selection in magento 2.3

On every listing page, I'm getting We can't find products matching the selection. I followed this also but dint helped We can't find products matching the selection. I'm attaching a screenshot for ...
0 votes
2 answers
3k views

How to add Store View Filter in Custom Listing Grid In Magento 2.X?

I have created a custom module in my Magento 2.3.1 site. The module has Admin Listing Grid and Add/Edit view. My site is multi-store site, Now I want to display "Store View" filter in listing grid at ...
0 votes
2 answers
3k views

Magento 2.3.5 - API error The "array" class doesn't exist and the namespace must be specified

We get the following API error on our Magento 2.3.5 store; The "array" class doesn't exist and the namespace must be specified. Verify and try again. More info; <![CDATA[#0 /vendor/...
1 vote
2 answers
2k views

Magento 2 how to check serialized conditions against product in frontend?

I have created an admin form which contains name and catalog price rule conditions. I have saved these values in a custom table. The conditions are saved as serialized. Now I want to check these ...
0 votes
1 answer
2k views

Magento 2 - Custom REST api POST method not working

I have created a custom rest api module. When i am using GET method it's working fine. But when i am trying to use POST method it giving below error Request does not match any route. Does anyone ...
0 votes
1 answer
2k views

Method which triggers after change in shipping address

Is there any knockout method which is triggering after update/edit shipping address on checkout ? to be in details what I want to achieve is based on city enter, I want to show custom content. All ...
0 votes
1 answer
2k views

remove BOM byte ("" /ufeff"") from response

so im using m2e pro extension on magento 2.3 suddenly the synchronizing stopped from working. thats because that m2e pro uses their own cron job and they sends curl calls to the server, but my server ...
0 votes
0 answers
16 views

Template Admin page magento override using preferences for adding a button and added a js code seprate but the layout is not working for js

Template Admin page magento override using preferences for adding a button and added a js code seperate but the layout is not working for js (the layout name is error)

1
2 3 4 5
104