All Questions

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

Some Credit Cards not Working

I have a magento2 website, and it has a problem when I try to pay with credit. It has an error saying "An error occurred while parsing the XML request". The funny thing is some credit cards ...
user avatar
1 vote
2 answers
24 views

Observer that runs when an order is attempted to be created in the Admin

I need to create an observer or plugin or something else that will run when an order is attempted to be created through the admin. I added a custom attribute for customers (offline/online). If the ...
user avatar
  • 11
0 votes
0 answers
11 views

Magento 2 PWA setup multi website

Magento 2 how to setup Multi Website in PWA. I have total 3 website and one admin panel.So can you help me how to setup it. Thanks.
user avatar
  • 3,187
0 votes
2 answers
35 views

Magento 2: How can we prevent HTML from being shown in the text that comes from en_US.csv file?

In en-US.csv file in our custom theme, I got a translation as below. "We'll email you an order confirmation with details and tracking info.","Within 10 minutes we'll send an email to ...
user avatar
0 votes
1 answer
15 views

Magento 2.4.2 Order Status stuck on processing

When an order comes in an invoice is created automatically and gets send out. I can also find that invoice when i click on the order. If I ship the order then, the shipment email goes out to the ...
user avatar
  • 1
0 votes
1 answer
25 views

Where is the Barcode Attribute Stored in the Database

I want to run some queries for reporting purposes and need to display the barcode of each product, but I cannot find it. I have followed the answer on the following post but I still cannot get the ...
user avatar
0 votes
0 answers
19 views

Magento 2 invoice pdf shows shipment method without vat

In Invoice section Shipping Method Amount display without VAT. How can I display shipping Amount Including VAT please suggest me
user avatar
  • 1
0 votes
1 answer
15 views

Magento checkout payment page add custom field

I need to add custom fields in the payment step of the checkout page in Magento 2 and also data should be saved in needed tables. I want to add a payment comment note before-place-order. how to do it ...
user avatar
0 votes
2 answers
25 views

How can I get if is in this table 'catalog_product_entity_text' Use Default value on product Magento 2

In database, I find data like this SELECT * FROM catalog_product_entity_text where entity_id = 70430 AND attribute_id = 76 AND store_id = 5; How can I do it programmatically? I need info if it is ...
user avatar
0 votes
1 answer
19 views

Magento 2 How to Upload Image For Category Using Rest API?

I want to upload a Webp image for category using Rest API. i did the same thing for product with reference of product image upload API (that support image with jpg or png extension) that's provided by ...
user avatar
0 votes
0 answers
14 views

Why dropdown items are displayed in the wrong order?

I created a module with a custom dropdown attribute, but the numbers are not displayed in the right order on the product page. How do I fix this? InstallData.php <?php namespace Test\RingSizes\...
user avatar
0 votes
3 answers
13 views

How to configure and setup Xdebug in phpstorm for Magento?

I want to use the debugger to debug my module but I don't know how to configure and set up debugger in phpstorm, any hints or solutions?
user avatar
0 votes
0 answers
19 views

Page Builder not working after composer installation on Magento 2.4.2

I installed PageBuilder on my Magento 2.4.2 application using composer: composer require magento/module-page-builder However, the pagebuilder is not working. I can see this in the logs: [2022-06-22 ...
user avatar
  • 2,749
0 votes
1 answer
14 views

Get region and set region from quote not working in magento 2

I'm using getRegion() and setRegion() but in my quote isn't saving values from setRegion(). How can I solve this problem?
user avatar
  • 43
0 votes
1 answer
10 views

How to set meta title dynamically for specific category in magento 2

I want to set meta title dynamically for specific category only and i getting meta title information based on url id(?id=1). events.xml <?xml version="1.0" ?> <config xmlns:xsi=&...
user avatar
  • 33
0 votes
1 answer
9 views

After migration magento 2 width, height and length does not take decimal values

decimal values not visible after save in magento 2 after migration and also not able to import attribute with decimal values
user avatar
1 vote
0 answers
17 views

Magento 2 strip_tags equivalent or custom function to strip html from pagebuilder content?

I am using PHP native strip_tags to remove all HTML from content that is coming from Magento's page builder. It does strip some but not all markup. See below. Is there a Magento native solution for ...
user avatar
  • 1,279
0 votes
0 answers
19 views

Add custom creditmemo attribute to sales_creditmemo_grid table

I have added a custom attribute custom_status to the sales_creditmemo and the sales_creditmemo_grid tables via a InstallData script in a custom module, and added the custom field to the creditmemo ...
user avatar
0 votes
0 answers
21 views

Add Filter in Layered Navigation

i created an extra field in elasticsearch via an CustomDataProvider. Now i want to have those new fields from elasticsearch in the Layered Navigation. I found old examples for magento 1.x, but no new ...
user avatar
  • 1
0 votes
2 answers
26 views

How to add a newsletter popup only on first visit?

In Magento2, using alpine & tailwind.css, I want to add a newsletter popup as the customer reaches the homepage on the first visit. How can I achieve that?
user avatar
  • 3
0 votes
0 answers
11 views

Customer Session Reload in Checkout

I want do reload customer session to get updated shipping address from table 'customer_address_entity' , Tried => customerData.reload(['customer'], true); => getting non updated values entities ...
user avatar
0 votes
1 answer
12 views

Magento 2 MSI error "There are no source items with the in stock status"

I am trying to enable the MSI module after being disabled for a lot of months. Now MSI related tables are empty and it is throwing the error "There are no source items with the in stock status&...
user avatar
  • 1
0 votes
1 answer
17 views

change jsLayout html template

How can i change the jslayout html template to be phtml so i can call other blocks in it? first i have requirejs-config.js below code var config = { "map": { "*": { ...
user avatar
0 votes
0 answers
8 views

How to add a dependency (if there is no data in the field) to a widget parameter?

I know how to make a dependency in a widget for another field if there is data there. Example: <depends> <group_type> <value>leadership_trait</value> </...
user avatar
0 votes
0 answers
4 views

Getting the Admin Token from database

I am building an API service in laravel and i need to authorize the request against the magento 2 admin token. Point is i can't find the admin token in the database. I know about the integration "...
user avatar
0 votes
1 answer
17 views

Creating configurable product attribute with magento > 2.4

I wrote an extension to import products from an XML-file. It is working (for now), but I am using a ->save() method on the Class Magento\ConfigurableProduct\Model\Product\Type\Configurable\...
user avatar
  • 383
0 votes
0 answers
7 views

Load custom less in a particular phtml file

I know that I can load a custom css in a particular phtml file using <link rel="stylesheet" type="text/css" href="<?= $this->getViewFileUrl('Custom_Module::css/source/...
user avatar
0 votes
0 answers
11 views

magento 2.4.3 Request validation failed for action "\Controller\Adminhtml\Import\Save\

4.3 admin custom controller redirecting to dashboard <form enctype="multipart/form-data" method="post" action="<?php echo $block->getFormAction(); ?>" id=&...
user avatar
0 votes
0 answers
23 views

Did I set up configurable products wrong? Or is this intended functionality?

Magento can link to a configurable product with options already specified by adding the attribute id and option to the query string, like this: www.example.com/product-link.html?size=large If we have ...
user avatar
0 votes
1 answer
9 views

Split Configurable Products' options onto two pages

A particular Product has eight configurable attributes. The logical flow from a user perspective would be to select the first four attributes on one page, click "Next", then select the last ...
user avatar
0 votes
0 answers
17 views

How can I fix this export problem in Open Mage?

we are facing the following error when we try to export products in CSV format. The panel is unable to export our products... do you know why? Is there anyone able to help us, also as a freelance ...
user avatar
0 votes
1 answer
20 views

How to set Dynamic meta title for cms page in magento 2

How to set different meta title for the same page. I am getting meta title data based on the page url (?id=1)
user avatar
  • 33
1 vote
0 answers
10 views

Magento 2 How to override image.xml file in our custom extension

We want to override the below XML file in my custom extension. vendor/magento/module-page-builder/view/adminhtml/pagebuilder/content_type/image.xml We want to override this XML file because we want to ...
user avatar
0 votes
0 answers
7 views

DDL statements are not allowed in transactions while reindexing programmatically

I am uploading a csv file and reading the content of the file and updating the table to update product Stock, also I need to update the stock to sync in to elastic search and for that I need to run ...
user avatar
0 votes
1 answer
27 views

How to load the cms page inside custom phtml file in magento2

Is this possible to load the cms page/ category inside custom phtml file, if it is possible how we can load cms page/ category inside custom phtml file. Thanks.
user avatar
  • 33
0 votes
1 answer
19 views

Difference Between $block and $this with Example in magento 2.4.4?

I want to know what is the main difference between $block and $this with example. And also wants to know what are the classes of $this and $block.
user avatar
1 vote
0 answers
11 views

How to deal with Cookie Consent (GDPR) in Magento 2

I am trying to implement a Cookie Consent feature in Magento 2. I would like to show to the customers a pop-up, where I have the cookies split in groups and the customer can choose what he want to ...
user avatar
  • 2,602
0 votes
0 answers
8 views

Magento CE 2.4.3 | Google Universal Analytics not receiving hits occasionally | Big click-users-sessions discrepancy for traffic from Google Ads

We set up website tracking using Welt Pixel extension for Google Tag Manager - set everything up as per documentation - exported JSON file and configured Tag Manager - but for some reason tracking ...
user avatar
0 votes
1 answer
32 views

Magento 2.4: How to change text "Order #" to "Confirmation #" in printed page that appears post order placement?

It happens too often that customers call or email, worried that there were two orders created when they only placed on order. The reason this happens is that Magento issues an order number such as ...
user avatar
0 votes
2 answers
26 views

How to create module in Magento Open Source 2.4.4?

How to create Backend module form in magento 2. How to save data in database how to create menu.xml How to Create Module,view and Controller Layers How to create Magento 2.4.4 custom grid Why we ...
user avatar
0 votes
0 answers
11 views

Magento - Integration (Empty Secret)

I've been using Magento over years and recently completed updating the Magento to 2.4.4. Since then, the integration failed. When I checked the integration, the secrets are either broken language or ...
user avatar
  • 1
0 votes
0 answers
10 views

MSI(inventory_stock_sales_channel,inventory_source_item) tables does not exist error after enabling MSI module

I am trying to enable the MSI module after being disabled for a lot of months. got a lot of MSI tables missing errors while setup upgrade and reindex like SQLSTATE[42S02]: Base table or view not found:...
user avatar
  • 1
0 votes
1 answer
14 views

Include shipping on quote item not quote

What I'm trying to achieve During the checkout, if the customer has a Bike item in their basket, we want the shipping cost to be added as a product option to the cart item as opposed to being added to ...
user avatar
0 votes
1 answer
19 views

How to Get all Order using GraphQL in Magento 2?

I want to get all Pending order Status Orders using GraphQL, Anyone can share a complete example or module. How to I'll do that ? I have create Custom module Admin Grid, Now i want to display Only ...
user avatar
0 votes
1 answer
15 views

How to move attributes above product tabs

With this code: <move element="product.attributes" destination="content" after="-" /> Attributes moved under product tabs. https://prnt.sc/_6gXFtYisOXC Can anyone ...
user avatar
  • 2,076
0 votes
0 answers
4 views

Export correct URL in product feed with XSL

I try to export product URL:s for my Magento 2.3 website using this line of code in an XSL template: <xsl:element name="link"><xsl:value-of select="product_url"/></...
user avatar
0 votes
0 answers
12 views

How to override custom checkout less variables?

In Magento2 I've created a new theme for the checkout, with Magento/blank as parent. I want to start editing the style for that page, so I've created a _theme.less file in app/design/frontend/<...
user avatar
  • 3
0 votes
0 answers
5 views

Magento 2 - Programmaticaly add current store view code to body class

I need to add the store view code of the current store view to the body class. How can I do it?
user avatar
  • 2,403
0 votes
1 answer
15 views

What is webapi "self" resource in magento 2

I understand the difference between anonymous and token authentication but can't really understand what is "self" resource and how is it used. Thank's)
user avatar
  • 28
1 vote
1 answer
44 views

Magento 2.3 admin configurations saving in database but not reflecting on admin UI

Recently we updated magento version from 2.2 to 2.3.x , All the catalog , orders , customers working fine but when we save data from Store-->Configuration , Data is saving finely in database but ...
user avatar
  • 492

15 30 50 per page