Skip to main content

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
1 answer
54 views

Best way to handle store switch redirects in Magento 2

Let's assume we have the following situation: 1 Magento website with 2 stores (EN - default, IT) and 1 product. A user is accessing the website and the default store view is loaded (EN). The user ...
user avatar
0 votes
1 answer
42 views

Magento 2 : How can I get simple product id on category page for configurable product

We have a configurable product on the front end How can I get the final simple product ID on the product list page? Does anyone have any idea how to get it?
Urmi Kothari's user avatar
0 votes
1 answer
25 views

Magento 2 : How To Find Magento Tax Setting

How to find the order is inclusive of tax or exclusive of tax through REST API?
Manisha G's user avatar
0 votes
1 answer
28 views

How to upgrade Magento2 community version to Adobe commerce cloud

I have one website in Magento2 Community edition 2.4.3 ,i want to migrate the website from Magento2 community edition to Adobe commerce cloud 2.4.3 which steps i need to follow, can someone guide me.
Vardhman Kamani's user avatar
0 votes
0 answers
14 views

Magento 2 : Widget and Components Created for a PDP page

I have created a widget which is intended to be used for add information as a best seller, this is a category with this name, which has subcategories and products added to these. To display the data I ...
Samuel Espinoza's user avatar
0 votes
1 answer
25 views

Magento2 How to get Customizable dropdown Options of a simple product in phtml file

How to get this https://prnt.sc/HE4LFsRji9fs Customizable option data in a phtml file. I want to data in like in this format... <div class="field required"> <label ...
Keval Chauhan's user avatar
0 votes
0 answers
32 views

"quantity_and_stock_status" attribute is not functioning as expected on the product list page in Magento 2.4.6-p3, Enabled usage in product listing

I recently encountered an issue with the Magento default "quantity_and_stock_status" attribute. While this attribute is functioning properly on the product view page, it's not working on the ...
Mohammad Bharmal's user avatar
0 votes
1 answer
67 views

Magento 2 custom field not saving it's value in page builder

I am following below link to add custom field in page builder image element only. How to use custom field in the HTML of Magento 2 pagebuilder? But it's not saving the value. When I click on the save ...
Krishna's user avatar
  • 11
1 vote
2 answers
163 views

M2.4.7 Csp - what trigger generation of new hash values for csp_whitelist.xml

We have upgraded to M2.4.7 and have had some issues on the checkout page caused by csp blocking scripts loading from Cloudflare. Failed to find a valid digest in the 'integrity' attribute for resource ...
Jesper Brejning's user avatar
0 votes
0 answers
44 views

Magento 2 : I can't run any command in CLI

When I try to run setup:upgrade or any other command in the terminal it says: Class "Swissup\ Core\Helper\Component" not found#0 C:\xampp\htdocs\magento2\vendor\magento\framework\...
Xerobin's user avatar
  • 15
0 votes
1 answer
87 views

Magento 2 Your payment could not be taken. Please try again or use a different payment method. Declined Trace:

Preconditions and environment Upgrade Magento version from 2.4.5-p1 to 2.4.6-p3 Magento version 2.4.6-p3 Steps to reproduce 1 - In production environment Place order with braintree creditcard or ...
sumeet bajaj's user avatar
  • 1,316
0 votes
1 answer
16 views

Bulk assign products to new Magento Website -> Copy from Specific Storeview

I have a multi-website setup in my Magento. Here i want assign all products from a not-default storeview (german) to my new website (austria) When assigning one products (Products -> Choose product ...
Sma's user avatar
  • 1
0 votes
0 answers
23 views

Magento 2: How to create dynamic fields with multiple fields in the admin system configuration?

I am currently developing an extension for Magento 2 but am facing an issue when I add an editor in the dynamic field. Reference: https://developer.adobe.com/commerce/php/tutorials/admin/create-...
Rahul Prajapati's user avatar
1 vote
0 answers
54 views

Display SKU and Categories in live search popover

I have installed Adobe live search and it works fine. But i want to do some customization on the search popup. By default it gives the product image, Name and price only. I want to display the product ...
Sunny Rahevar's user avatar
0 votes
0 answers
23 views

Magento 2: How to sort the attribute based on attribute label?

I have created a custom product attribute with drop-down option and added that attribute in schema.graphqls file but when checking the sorting is happening based on attribute option value not based on ...
MagentoDev's user avatar
0 votes
2 answers
26 views

Magento order notification

I want to retrieve order details whenever an order is placed or updated in Magento. Currently, I am working on integrating orders with CRM. Therefore, whenever an order is created or updated in ...
Manisha G's user avatar
1 vote
1 answer
131 views

Error related to recaptcha in console in magento checkout

I am getting an error in the console of the checkout page and also not getting the recaptcha box on the checkout page. I am having the Magento 2.4.6 p5 version. I can place an order if the ...
Aman Mamdani's user avatar
-1 votes
1 answer
45 views

Magento 2 : Create event observer when order placed and updated [duplicate]

In Magento 2, How to create event and observer for the REST API when an order is placed or updated. Is this possible to create event and observer for REST API?. If not, could anyone provide me with ...
Manisha G's user avatar
0 votes
1 answer
41 views

Magento 2 : Admin Panel “An error has happened during application run. See exception log for details”

yesterday I was in Admin Painel of Magento, but today when I tried to access it again, it says “An error has happened during application run. See exception log for details.” I tried to setup:upgrade ...
Xerobin's user avatar
  • 15
0 votes
0 answers
21 views

Magento 2 : Convert billing address dropdown to radio list with add new address in payment section checkout page

I want to change the billing address drop down to radio button on checkout page. Please help me, I tried but its not working I am not good in ko js as well. Thank you
Ajay Tiwari's user avatar
0 votes
2 answers
50 views

Magento 2 : Prevent Child product discounts from applying to bundle products

Is there a way to prevent child product discounts from applying to bundle products? I have a bundle product with its own discount, but both the bundle discount and the child product discount are being ...
Anass Hl's user avatar
0 votes
0 answers
24 views

Magento 2 : Trigger Not Fire After Create Cart Rule

I use magento 2.4.6-p5. I try to install rabbitmq for my server but my store not run trigger when I create cart rule but when I deleted it auto run the trigger, and not sent email after that, then I ...
Bbaodenx3's user avatar
0 votes
1 answer
14 views

getStatusHistoryCollection missing latest comments in plugin/interceptor

I have a plugin/interceptor hooking into a Vendor webhook function. This vendor webhook handler has an Magento\Sales\Model\Order model where they add comments through the addStatusHistoryComment ...
Gerhard's user avatar
  • 65
0 votes
1 answer
57 views

Magento 2 : Display Custom Reports on Sales Orders Page

I'm working on a Magento 2 project where I need to display custom reports under the order grid on the Sales Orders page. Specifically, I want to show the following fields: Total (totals sum) Subtotal ...
Nika Kiria's user avatar
0 votes
1 answer
28 views

Magento 2 : Dynamic XML entity attribute value

I am setting up a module to run on Magento 2.4.6-p5 multi-website instances. The module requires that a dropdown category attribute be setup with a default value and n other options (1 initially). I ...
James Baker's user avatar
0 votes
0 answers
22 views

Magento 2 : Punchout Store - Purchase Button Click GTM Tracking Not Working

I have setup button click Purchase event with data-layer in Magento 2 Punchout store. But when I click the button "Transfer Cart to Ariba" (Purchase button) event is not triggering in GTM. ...
Hiral's user avatar
  • 1
0 votes
0 answers
30 views

Magento 2 : Programmatically Assigning images to product taking too much time

I have around ~10k of products to create programmatically. I also have around 20 custom attributes to each product. Saving the stock, the price, special price, those 20 custom attributes it takes ...
Attila Naghi's user avatar
  • 4,033
0 votes
1 answer
24 views

How to fix duplicate id's in multiselect options

Via the api, multi select options were accidentally inserted as duplicates. So instead of 11111,22222 being stored in catalog_product_entity_text.value it was submitted as 11111,22222,11111,22222 and ...
Tschallacka's user avatar
0 votes
1 answer
37 views

Magento 2 : when i am trying to use GetSalableQuantityDataBySku it will give me an error

I am new in magento. When I am trying to use GetSalableQuantityDataBySku" does not exist magento throw me an error below error i am use event which i use : <event name="...
RAJDIP JALONDHARA's user avatar
0 votes
1 answer
60 views

Magento 2.4.7 Customer Custom Attribute Value no Change

When I created one Customer Custom Attribute and changed its value website-wise from Admin-> Edit Customer Information so did not change it. <?php namespace Vendor\Extension\Setup\Patch\...
Magecomp Product Team's user avatar
0 votes
3 answers
43 views

disable products without images via SQL

Any idea how to disable products without images via SQL ? Magento ver. 2.4.3-p1 Thank you
Alku's user avatar
  • 1
0 votes
1 answer
266 views

How to install Install APSB24-18 Patch in Magento 2?

My hosting provider send me mail regarding patch installation on my store, but I want to know how I can install this patch on my store. Adobe does not provide any kind of documentation regarding this: ...
Mark Philips's user avatar
0 votes
2 answers
26 views

Magento 2 : Meta Tag in Dashboard

I have an issue with the meta tag in Magento 2. Where in admin I can add Facebook or any social media meta tag or key?
Albert's user avatar
  • 1
0 votes
0 answers
24 views

Magento 2 : Change Billing Address drop-down to radio button on checkout page

I want to change the billing address drop down to radio button on checkout page. Please help me, I tried but its not working. I am not good in ko js as well.
Amit Kumar's user avatar
0 votes
1 answer
48 views

Is it possible to rename the session cookie (PHPSESSID) to another value on the application level?

I know it is possible to change it in php.ini or .user.ini and such, but is it possible to rename the default session cookie name PHPSESSID to something else on the application level? EDIT: If yes, ...
Akif's user avatar
  • 1,551
0 votes
1 answer
29 views

Create cutom router for redirecting to homepage || Magento 2

In Magento 2, I want to set custom route, like after baseurl/custom-route/any url it should be redirected to homepage or base url. Here, I had tried to create type of RouterList and extend ...
Aayushi Doshi's user avatar
0 votes
1 answer
36 views

Magento 2.3 Add captcha on CMS page using default captcha that we use in Contact us page

I'm trying to add a captcha to a custom form that I created in a CMS page in Magento. The captcha is working correctly on the default Contact Us page, but it's not refreshing every time on my custom ...
Galib's user avatar
  • 37
0 votes
0 answers
37 views

Magento 2 : Fail to override interface module

I face problem with extension interface in website. My extension_attributes.xml: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
Matias's user avatar
  • 1
0 votes
0 answers
16 views

Ability to have Configurable Product have same SKU as child?

Currently as it looks, when creating a Configurable product, it needs its own SKU, and then the SKUs of its children all different; Configurable SKU: XX-SHIRT Child 1: XX-SHIRT-BLACK Child 2: ...
ne0nlight's user avatar
  • 209
0 votes
1 answer
53 views

How i can get Hyva for development and learning purpose without buying subscription

How i can get Hyva for learning purpose without buying subscription as a Magento developer just for exploring. I know they have subscription fee but is their any way i can get it for learning purpose.
Anees's user avatar
  • 634
0 votes
0 answers
19 views

Magento 2 : JS Errors when dealing with Checkout

I use magento 2.2.5. When I imported files from an existing website to another server on plesk. Problem is, after deploying, upgrading and compiling correctly, on checkout I get a message that says &...
Pietro Mancini's user avatar
0 votes
1 answer
63 views

Magento 2 : Existing "category_ids" missing on product edit page

We have recently updated our magento version from 2.2.11 to 2.4.6-p5 and bumped into the issue below. After the new version is installed on our production website, "category_ids" can not be ...
Makoto's user avatar
  • 11
0 votes
0 answers
28 views

Magento 2.4.4p4 EE - GTM Session Regeneration on Every Page Load

I'm encountering a discrepancy between user/session activity and transaction count in Google Analytics (GA) for a Magento 2.4.4p4 Enterprise Edition project. The culprit seems to be frequent GTM ...
Mohd Farhan Bin Ramli's user avatar
0 votes
1 answer
44 views

Possible to use Advanced Pricing with Swatches/Configurable Product?

I work within a B2B environment and would love to use swatches for colors/sizes of things (so I don't need to have 4 separate product pages for 4 skus, but they can all be accessed on one page), but ...
ne0nlight's user avatar
  • 209
0 votes
3 answers
367 views

after upgrade magnento 2 version 2.3.4 to 2.4.6-p6

recently i was upgrade magento 2.4.3 to 2.4.6-p6 for upgrade i fired below cmd composer require magento/product-community-edition 2.4.6-p5 --no-update composer update --ignore-platform-reqs after ...
Bhagyesh Bhalodiya's user avatar
0 votes
1 answer
29 views

Upgrading from Magento 2.3.7-pt to Magento 2.4.0

I've been trying to upgrade my magento version from 2.3.7-p2 to 2.4.0 I've double checked all system requirements and everything is good. When I run composer update I get this error: Your requirements ...
Christian's user avatar
0 votes
1 answer
74 views

How to add "Add to Cart" button on live search listing page in Adobe commerce Cloud

Any idea how we can add the "add to cart" and wishlist button on the live search listing page? I am using Live search in Adobe commerce, Cloud version 2.4.6 version. On Default live search ...
Mahendra's user avatar
  • 716
0 votes
0 answers
28 views

Magento 2 skip quantity item validator when placing order

Stock quantity of the product in my cart is not sufficient. And when we validate the order we get the error "The requested qty is not available", how can I ensure that my order goes through ...
Hervé's user avatar
  • 1
1 vote
1 answer
29 views

Magento 2 Hosting and Domain

Please suggest me the service provider where I can get the domain and hosting for the Magento site. The customers will be on the site maximum 1k per month. Suggest me cheap and good service.
Rana Zain's user avatar
  • 678
0 votes
1 answer
56 views

Magento 2 - Varnish - Cloudways - Hit Rate below 50%

I have a multistore Magento 2.4.6 app hosted on Cloudways. They have a built in Varnish solution (which is convenient). But I have noticed that my Varnish hit rate is always below 55%. I asked the ...
loginid's user avatar
  • 394

1
3 4
5
6 7
958