All Questions

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

Results from search in Magento 2 relevance not correct

I've the problem that the results from an search query on frontend are in the wrong relevance. It is on an live webshop. For example, when i search 'Philips' or 'Grohe', the first product is in both ...
0
votes
0answers
6 views

Override Magento_UI field and add custom js

I'm trying to override vendor/magento/module-ui/view/frontend/web/templates/form/field.html and apply a custom function from a custom js file. But the problem is I don't know how to link that custom ...
0
votes
0answers
28 views

i moved magento1 store from one server to another server, it is displaying only half page except for homepage and admin

i moved magento1 store from one server to another server, it is displaying only half page except for homepage and admin, phtml files and cms pages are not loading.
0
votes
0answers
12 views

actionDelete not apears on my dynamicRow Ui component

i have written the below xml in my ui component <fieldset name="properties"> <argument name="data" xsi:type="array"> <item name=&...
0
votes
3answers
43 views

CSS is not coming on Magento 2 Frontend

Now my CSS Link are https://www.vdcprojects.xyz/otabazzar/version1596944524/frontend/Sm/topmart/en_US/css/styles-m.css Actually CSS are in : https://www.vdcprojects.xyz/otabazzar/pub/static/frontend/...
0
votes
0answers
27 views

Magento 2.3 - Access customer section from admin panel getting 500 (Internal Server Error)

Error while access customer information backend and return 500 error, Exception #0 (Magento\Framework\Exception\LocalizedException): The "formElement" configuration parameter is required for ...
-1
votes
1answer
31 views

How to get SKU from Configure Product Custom Option?

I am trying to get custom option value (SKU) from Configure product custom option $customOptions = $objectManager->get('Magento\Catalog\Model\Product\Option')->getProductOptionCollection($...
0
votes
0answers
22 views

Magento Deprecated code confusion

On Magento 2.4 i found this class extends (extends \Magento\Framework\App\Action\Action) show deprecated. Ref : Screenshot at end of the question But Magento core use this code. I mean in core code ...
0
votes
1answer
17 views

email logo is the same for self emails

I am using magento 2.3.3. I configured the new logo. When I create a new customer account the email sent to the customer contains the new logo, but the email copy sent to me has always the luma logo. ...
0
votes
0answers
14 views

Magento 2.3 Product image label

How I can print product image labels that I imported with product csv by default it's showing product name or alt tag. I just want to display labels of product images like "Big image label", ...
0
votes
0answers
9 views

Magento 1 - Mage::getModel('catalog/product_website')->addProducts() not working in all cases

we are using a script to identify products missing from a website and programmatically adding them by using Mage::getModel('catalog/product_website')->addProducts(). This works in most cases, but ...
0
votes
1answer
25 views

How to get orders based on custom attribute value of product?

I have a Custom attribute name ( product string ) on Product in which i have save a string i want to get those orders which will have that product string of same value. I will get the product by : $...
0
votes
3answers
47 views

Magento 2 how to get order id on admin order invoice save?

How to get order id in invoice using plugin ? di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=&...
0
votes
1answer
25 views

Reg. Magento site deployment in AWS

I am new to magento stack, I have a requirement of deploying a magento based e-commerce in AWS. This site is expected to have 100,000 hits in first couple of months and within an year expected to get ...
0
votes
0answers
10 views

How to send custom email with email template from root Magento2.3?

I have created a script on the Root directory to disabled the products which having price below $50 which is working fine. Now I want to send the disabled product information like ID, SKU, Product ...
0
votes
0answers
13 views

how to set payment method selection required alert on checkout page in magento 2

Is there any solution for this? Without selecting any payment method there is nothing showing alert or required warning, how can I set there?
0
votes
0answers
19 views

How to override checkout on module enable/disable in Magento 2?

I want to override this by enabling/disable the module from admin. <item name="progressBar" xsi:type="array"> <item name="sortOrder" xsi:type="string"...
0
votes
0answers
17 views

Uncaught SyntaxError: Unexpected token < in JSON at position 1 - Magento 2.3.5

I upgrade from magento 2.2 to 2.3.5 today, and is encounter the following error, also the checkout page shows nothing but the store header/logo area. ( the shopping cart page is ok), i think the ...
0
votes
0answers
13 views

Pass Variable to Child Block

Once again, a best practice question I have. I need to pass some variable to a child block in a template. In particular, the child block is a Default Rendered block I specified in a custom RenderList ...
0
votes
0answers
9 views

Get product list in custom admin grid form magento 2

I have a custom admin grid form, I want to select product like this when add or edit form How can i do that? Any help? Thank in advance.
0
votes
0answers
15 views

How to limit 5 maximum images each product in Magento2.3?

I want to limit 5 images per product. Admin can't able to upload more than 5 images. How can I achieve this?
0
votes
0answers
9 views

magento 1 links with error

Good night my friends. Shaking the customer's store for a while and suddenly the magento 1 links stopped being redirected. I was currently working on css. This occurs in the products and categories of ...
0
votes
0answers
18 views

Save all shipping quotes into a order information

I want to save all shipping quotes with their shipping methods names and prices and put it with order information in magento 2. It will be visible only to admins, inside order informations. I'm using ...
0
votes
2answers
32 views

How to validate Size and color in Product details page in Magento 2

On click of "Click here and check" which is in the image. validate Size and color. If not select show validation message like [required this field.] please find .phtml file <a href="...
0
votes
0answers
47 views

Dynamic canonical link for search page in magento2.3

I'm attempting to improve SEO for search page https://googleexample.com/en/search?q=Google&page=2/ by implementing the <link rel='next' href='..'> and <link rel='prev' href='..'> head ...
0
votes
0answers
10 views

Use custom js in Checkout Input field

I added my custom js in my module js file. But I need to use the functionality in the checkout input field. But I don't know how I can let my .html file use that custom js function. Below are my code ...
0
votes
0answers
13 views

Magento 2 checkout - move Shipping methods block to Payment step

can anyone help me in moving shipping methods block to payment step ? I dont have any idea,kindly help me
0
votes
0answers
20 views

Check if product is virtual

Is there a way to find if the Cart is virtual or not? I have a certain condition that if the Cart contains all virtual product then a certain field should not be displayed. How do I achieve this? ...
0
votes
1answer
24 views

How to get custom attribute value of ordered product?

I have a Custom attribute name ( product string ) on Product in which i have save a string i want to get that custom attribute value for ordered product. I have getting the ordered product by this ...
0
votes
0answers
15 views

The requested Payment Method is not available. When using a saved credit card

I have Magento 2.3.5 and been using braintree's payment method but when users save a credit card to their account and try to use it an error shows up saying "The requested Payment Method is not ...
0
votes
0answers
10 views

Disable particular modules when using the API route

Is it possible to disable particular modules when using the API route? For example, when ordering trough the regular website, people need to select a delivery date, we have a module for that. We are ...
0
votes
1answer
19 views

Custom Product attribute issue magento 2

Hi i have a custom prodcuct attribute i want to show the same attribute in category also under the same group is it possible below is my code please suggest me how to achieve this <?php namespace ...
0
votes
0answers
15 views

Magento2 add color & size filter in top navigation menu

How can I add Color, Size filter in top navigation menu of Magento2. As per my requirement when user hovers on top menu category there needs to be option of selecting sub category based on color & ...
0
votes
1answer
18 views

Cant access Magento 2.4.0 backend Could not create an acl object: Invalid Document

I'm testing Upgrade to Magento 2.4 but getting the error below. I've read that this error can relate to a missing title attribute in a custom extension. To try and isolate teh issue I have remove all ...
0
votes
1answer
30 views

Magento 2.3 migration error : After migration missing most of the files from vendor/magento/ folder

Most of the files missing after migration, how to update vendor/magento folder.
0
votes
1answer
20 views

magento 1.9 admin is disabled . How to enable backend again?

today is magento 1.9.3 admin showing a blank page. I suppose that it is because magento 1 is not supported anylonger. However for some personal reasons, I can't go to magento 2 ! How can I enable ...
0
votes
1answer
16 views

Magento2: How to remove Paypal Credit button from product detail page?

I have enabled the "Display on Product Details Page" to "Yes" from admin section in paypal payment method, but I need only PayPal icon, not required PayPal Credit Icon on product ...
0
votes
0answers
19 views

Magento 2.4 CSP

I've got a whitelist csp_whitelist.xml with the following - <?xml version="1.0"?> <csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
2answers
59 views

Magento 2, How to make users to install the plugin via composer

In my module, I have created a composer.json file with this code and pushed it to git { "name": "lovat/magento2-api", "description": "Lovat Api Sales Module ...
0
votes
0answers
23 views

Magento 2.3.5p-1 and Elasticsearch 6.8.11 fielddata error

After update Magento version to 2.3.5-p1 and Elasticsearch to the 6.8.11 vesrions I got error message on the product catalog page [{"type":"illegal_argument_exception","reason&...
0
votes
0answers
4 views

Magento2: Could not save product “104877” with position 0 to category 346

I have seen a lot of topics related to this problem but I have not found any solution. I deleted url rewrites in the database and regenerated etc. The problem persists. Issue is related to "...
0
votes
0answers
6 views

How to allow HTML Message On Magento\Framework\Exception\StateException?

HTML Print Issue $citySuggetion = "ABC,XYZ"; throw new StateException( __('<b>Please enter valid city/suburb for this address. Relative suggesstion are </b>: '.$...
0
votes
1answer
12 views

how to update email template from backend for custom module in magento 2

My custom module file is showing in the drop down (marketing -> email template) but when i add and update the code it is not showing up in email
0
votes
0answers
17 views

Magento 2 How to update custom order attribute after save invoice

i am using this - di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:...
3
votes
2answers
28 views

Magento 2 How to remove footer by website Id?

Hi I am having multi website, I want to remove entire footer from website id 3. here is my xml file Ubertheme/shop/Magento_Theme/layout/default.xml here added the code. <referenceContainer name=&...
0
votes
0answers
5 views

Magento 2 disabled authorizenet via composer depending on also disabled Magento\QuoteGraphQl

We are seeing this (new) error on M2 2.3.5-p1 GraphQl was disabled Question: how can we prevent this, or configure properly Repositories code generation... 1/8 [===>------------------------] 12% 1 ...
1
vote
1answer
37 views

Is it possible to Upgrade from Magento 2.3.5-p1 to Magento 2.4?

I am trying to upgrade from Magento 2.3.5-p1 to Magento 2.4. I have server with PHP 7.4 and MariaDB 10.2 and when i am trying to upgrade via composer than i am facing below error Please let us know ...
0
votes
0answers
4 views

Create a webhook accessible from an ERP system and not only

A Magento instance is integrated with an ERP platform. Invoices, payments, and various details are pulled in from that ERP system. However, I need also to push some details back or at least make some ...
0
votes
0answers
15 views

How to make order summary block in checkout as sticky in magento 2.3.3?

I want to make that order summary as sticky. How to do that?
0
votes
0answers
21 views

SQLSTATE[42S02]: inventory_stock_sales_channel doesn't exist - Magento 2.3.1

I have disabled the MSI (inventory) and some products work for me but other products do not and I get this error: 2 exception(s): Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[42S02]: Base ...

15 30 50 per page