Questions tagged [magento2]

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

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

How to create klaviyo email checkbox to checkout

I want to create an email checkbox outside of kalaviyyo's checkout. Is there any way to do that?
hau's user avatar
  • 41
0 votes
0 answers
17 views

Translation not working for StripeIntegration_Payments

I tried to translate Card •••• %1 has been deleted. from StripeIntegration_Payments, but it's not working. I assume it's because of those bullets that should be escaped maybe, but I'm not sure. My ...
iupaem's user avatar
  • 41
0 votes
0 answers
17 views

Adding more than one custom options programmatically

tried different solutions here which I found, but none of them is working for me. I want to add two custom options to a product with the code below. Problem is, that there is always only the second ...
Chequille's user avatar
1 vote
0 answers
63 views

Magento 2.4 How to implement BfCache

I want to implement BFCache into Magento but did not find the proper resources for implementing it using a custom module. BFCache Reference link : https://web.dev/articles/bfcache Can anyone guide me ...
Msquare's user avatar
  • 9,023
1 vote
0 answers
13 views

Product Main price should not update on custom option selection

I am using Mageworx advance custom option module. Right now everything working fine. Current Workflow: My custom options are basically have radio/checkbox options. If i select any option then product ...
Sunny Rahevar's user avatar
0 votes
0 answers
25 views

How to validate coupon code is valid for old customer in magento 2.4

How to validate coupon code is valid for old customer in magento 2.4. I used observer but unable to do
shad khan's user avatar
1 vote
1 answer
51 views

Magento2 postcode / zipcode length validation and remove waring complete guide

I am explaining total process in answer section
khasru's user avatar
  • 86
0 votes
0 answers
14 views

SQL for getting promos applied to an order

I require an SQL query to retrieve information about the promotions applied to an order from the sales order table. The field "applied_rule_ids" is utilized to obtain all rule IDs. However, ...
Shiffin Thomas's user avatar
1 vote
1 answer
67 views

How to get all the customer email using graphQl in magento2

I need all the customer email using graphQl in magento2. Who ever registered in magento those customers email addresses. I need to get from Api. Please help for this
venkata prasad's user avatar
2 votes
0 answers
37 views

Magento2: Incorrect CAPTCHA Issue

I am getting incorrect captcha error, I am using by default captcha of magento version 2.4.6-p3. As I removed all the custom modules(even which is not related to captcha) and design theme changes. Not ...
Ankit's user avatar
  • 352
0 votes
0 answers
38 views

Add to Cart Not Working After Upgrade to 2.4.6.-p3

after upgrading to Magento version 2.4.6-p3 , Add to cart not working, it just shows adding and then nothing happens. also when I go from category page with options products , it does not shows any ...
Jantar Mantar's user avatar
0 votes
0 answers
4 views

Adding related products with a reciprocal link

I am looking for a plugin that will automatically add a reciprocal link to a product that is manually added as a related or associated product. I.e. Add product B to product A, product A is ...
Gavin Hardy's user avatar
0 votes
2 answers
38 views

error messages disappear quickly when updating quantities on product detail page

error messages disappear quickly when updating quantities on the product detail page I am using Magento 2.4.5 I have changed the code in the below files but there is no effect /Magento_Ui/web/js/view/...
Ishu Kakria's user avatar
1 vote
1 answer
66 views

What new features or enhancements can we expect in the upcoming Magento versions in 2024?

As we anticipate the upcoming Magento versions in 2024, several exciting features and enhancements are expected to shape the platform's evolution. While specific details may depend on official ...
Roshan Choudhary's user avatar
0 votes
1 answer
49 views

Invalid entity_type specified: customer

sudo php bin/magento setup:install --base-url=http://vstar.local --db-host=localhost --db-name=vstar --db-user=root --db-password=Root@123 --admin-firstname=alan --admin-lastname=wac --admin-email=...
Alan Biju's user avatar
0 votes
2 answers
61 views

500 (Internal Server Error) when add cart

i try to add product to cart but it's refresh to same page and show this error how to fix it. thank you.
Bu By's user avatar
  • 21
0 votes
0 answers
47 views

Magento 2.4.6 p3 error after install m

After implementing the security patch P3 on Magento 2.4.6, issues are being encountered where functionalities such as 'Add to Cart', 'Login', 'Register', and 'Admin Login' are not functioning ...
Zuby's user avatar
  • 348
0 votes
2 answers
51 views

i am fetching the data from database and display in magento admin grid, and the grid display blank

I have tried all of my thinking, I don't understand why the grid displays a blank Controller namespace StateDrives\RequestQuote\Controller\Adminhtml\Bulkquote; use Magento\Backend\App\Action; use ...
abbas fakhruddin's user avatar
0 votes
0 answers
14 views

table rates- specific shipping method?

I have my products with table rates, but for some products I would like to select a specific shipping method, can I do that?
tricksi's user avatar
  • 45
0 votes
0 answers
14 views

Adobe Live Search Compatibility Custom Extension

Can we make custom extension compatible with Adobe Live Search which not contains any specific entity data like Catalog, i.e.?
Yash's user avatar
  • 1
0 votes
0 answers
22 views

Product Config option works like Amazon

I have enabled the display out of stock products from the admin configuration. Now those config option are displaying on the front-end and it works fine also. If any product is out of stock then that ...
Sunny Rahevar's user avatar
0 votes
0 answers
41 views

Magento 2: The newly added column does not appear in the product export csv file

When we export Magento products, in the CSV there is one column related_skus. I have added one column with the same name, accessories_skus. But when I export to the staging server on the live server, &...
Nikhil Ajani's user avatar
0 votes
0 answers
65 views

How to get CMS page content in JS in Magento 2?

I am using page builder to create cms pages. I require to have a preview button on the cms page. after clicking preview, we store the cms page form data in a separate table. I added one template file ...
Devidas's user avatar
  • 3,328
1 vote
0 answers
40 views

how to add a new field on Manage Swatch in magento2.4

how to add a new field on Manage Swatch in magento2.4
conn ares's user avatar
1 vote
1 answer
58 views

Magento 2.4.6-p3 wont save configs in backend after installing module

I installed goeasyship/shipping by running composer require goeasyship/shipping After the installation, I try to add new configuration settings in the backend and they won't save. I thought it was ...
climbah's user avatar
  • 33
2 votes
2 answers
98 views

How do I permanently remove a checkout and shopping cart module Magento 2?

How do I permanently remove a checkout and shopping cart module Magneto 2? give me solution............
raghav's user avatar
  • 38
1 vote
0 answers
27 views

Magento2 Products List Page taking much time too load products

I have setup Magento 2.4.6-p2 Version in my local system I enabled the profiler to see the loading time of the site and I found the below file is taking too much time if I visit the list page the ...
Sanjay Shiyal's user avatar
0 votes
0 answers
14 views

How to add history when cron runs to order in the backend

I am writing a module when cron runs to do its job but I want to print out what cron does in the oder
hau's user avatar
  • 41
0 votes
0 answers
19 views

Magento 2 Email set as Optional on Create Customer Account API

I have created one module that overrides Magento's default create customer account API. Now, I want to set the email parameter as Optional. Magento uses the Below API to create a Customer Account. {{...
Keval Chauhan's user avatar
1 vote
3 answers
360 views

Magento 2 Google language translate script not working

The script was functional on our Magento 2 website until last week. However, for the past four days, we've been encountering JavaScript and Knockout.js errors in the console when this script is active....
Keval Chauhan's user avatar
0 votes
2 answers
38 views

Can't create product with stock

I'm trying to create a product with stock (quantity), so I can do an example purchase. But whenever I try to create a product, I get the following error: "The stock item was unable to be saved. ...
Agustín Escobar's user avatar
0 votes
0 answers
83 views

Configuring RabbitMQ with Magento 2: Bulk Queue Pending

I am trying to integrate RabbitMQ with Magento 2 to access bulk endpoints Bitnami Magento ver. 2.4.6-p2 I have successfully set up RabbitMQ with my Magento 2 instance, and now bulk requests are being ...
Ikram Khan's user avatar
0 votes
0 answers
24 views

Club buttons in a drop down - m2 admin

I have created buttons for a page in m2 admin. Please see below screenshot. I've used following xml code at /view/adminhtml/ui_component/buttons.xml: <listing xmlns:xsi="http://www.w3.org/...
smit kandiya's user avatar
0 votes
0 answers
23 views

function returns quantity in magento2

I'm writing a function that returns quantity when an order is canceled by cron but I don't know how it works. Can anyone help me? Thank you.
hau's user avatar
  • 41
0 votes
0 answers
36 views

Magento 2 Update Shipping Rates when remove Products from Mini cart in Checkout Page via JS

I have created a shipping rule with certain products so that such products have free shipping, but for example when I delete the product in the checkout cart from the mini cart, the shipping cost is ...
Diego Castro's user avatar
0 votes
1 answer
33 views

Get Child Item In Shipment Email Template

I am trying to retrieve the Child Item of a Configurable Details in the Shipment email. I have overwritten the default template file in my theme at: app/code/design/MyTheme/theme/Magento_Sales/...
Chris Oliver's user avatar
0 votes
1 answer
27 views

Reindex catalog_product_attribute Deadlock found when trying to get lock

For some reason we fetch the following deadlock, when we run php bin/magento indexer:reindex catalog_product_attribute Already tried reindex:reset and also performing a full reindex, but that does not ...
JGeer's user avatar
  • 1,416
1 vote
0 answers
34 views

Magento 2 simple products: How to show lowest price first on category and product page?

we have staggered prices for simple products for different products. We would like to show the lowest price first on the category page as well as on the product page. That is the lowest price which we ...
Ben's user avatar
  • 141
0 votes
1 answer
23 views

Can I virtual try of clothes in magento 2?

I want that option in our website where customer can try colthes virtualy.Is there any possibility or any extension please suggest.
zargam husayn's user avatar
0 votes
2 answers
182 views

Varnish Cache won't clear on Magento 2.4.2

I'm running Magento 2.4.2 and have recently added Varnish to it. The site also has Cloudflare in front of it. The server is running Plesk (Ubuntu) and Varnish is running in Docker within Plesk. I've ...
wjp_bill's user avatar
  • 330
0 votes
0 answers
18 views

Upgrading Old Installation and Server. Magento 2.3.4 to 2.4.6

I have an old Ubuntu server that I need to update along with everything else as its been neglected for many years. Some Server Details are: Ubuntu 16.04.4 LTS PHP is 7.2.24 Magento version is 2.3.4 I'...
07lodgeT's user avatar
0 votes
2 answers
56 views

How to override checkout_index_index.xml

this is the file present in my app/design dir. i need to disply shipping address section on right side bar and move the product overview section from right side bar to the place of currenct shipping ...
Harris's user avatar
  • 1
0 votes
0 answers
17 views

How can I return quantity when I run and update order status?

How come when I run cron and update order status to cancel, quantity is returned?
hau's user avatar
  • 41
0 votes
0 answers
20 views

Magento 2: Override theme conditionally fails

I have a certain route in my store for which I want to switch to magento's luma theme. I used the layout_load_before event and created an oberserver to do that: namespace My\Module\Observer; class ...
omsta's user avatar
  • 698
1 vote
1 answer
139 views

Magento 2 How to unlock the consumer

We are using Magento 2.4.5-p5 EE and RabbitMQ message broker. The exportProcessor consumer is not consuming messages from the queue automatically (cron job consumers_runner is running every minute), ...
Vishwanath Kharabe's user avatar
1 vote
1 answer
73 views

How to remove block and block arguments in other XML layout magento 2

<?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/...
Keval Chauhan's user avatar
1 vote
1 answer
95 views

Magento 2.4: How to add fixed tier pricing for bundle products?

I can see Magento 2 doesn't offer native support for fixed-tier pricing for bundle products. I want to know 2 things: Why this fixed pricing option is not there in the core module? How can we achieve ...
MagentoDev's user avatar
1 vote
0 answers
24 views

Magento 2 Guidelines - Values passed to observers must not be modified?

Just learned about this entry in the magento coding standards: https://developer.adobe.com/commerce/php/coding-standards/technical-guidelines/#14-events . All values (including objects) passed to an ...
astragt's user avatar
  • 139
1 vote
1 answer
36 views

Magento 2 stripe module upgrade deployment on Production environment throw in Stripe error

I am deploying my new stripe module upgrade changes in a Magento production environment. In the development environment, it is deployed successfully and running well. But in a production environment ...
Sanaullah Ahmad's user avatar
1 vote
1 answer
35 views

How can i fix the display data

It's show the same row data but database it not duplicate where should code i fix it? <?xml version="1.0" encoding="UTF-8"?><listing xmlns:xsi="http://www.w3.org/2001/...
Bu By's user avatar
  • 21

1
3 4
5
6 7
956