Questions tagged [magento-community]
Denotes question related to the Magento Community versions.
610
questions
0
votes
1
answer
69
views
how to solve "lock file but not in remote repositories, make sure you avoid updating this package to keep the one from the lock file."?
Problem 1
- Root composer.json requires stripe/stripe-payments ^3.3.0, found stripe/stripe-payments[3.3.0] in the lock file but not in remote repositories, make sure you avoid updating this package to ...
1
vote
1
answer
29
views
How to change of the packingslip pdf file name (Shipment) with the shipping ID generated from admin?
Use di.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/...
1
vote
2
answers
112
views
How to change of the invoice pdf file name with the invoice ID generated from admin?
add in di.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/...
0
votes
0
answers
20
views
Unit Test Case Error For Observer Class Sales Order
Hi
Can anyone help me on this. I have created the unit test for the observer class sales order . When I am running the Unit test I am getting below error I tried but didn't get any solution.
There ...
0
votes
1
answer
68
views
Create Unit Test for Observer Class
I wants to create the unit test for this observer class. I tried diff-2 ways but didn't get any help. Can anyone create the unit test for this it would be helpful
<?php
declare(...
2
votes
2
answers
155
views
Magento 2 create customer account on frontend takes too long
we are facing an issue with Magento 2 and hopes that someone here could help.
First of all some Details;
We are running our Magento on 2.4.5-p2 and PHP8.1.
Now we are facing an issue on frontend. If a ...
1
vote
0
answers
48
views
How to Migrate data from EE 2.4.5-p1 To CE 2.4.6
I installed magento CE 2.4.6 in our local server and i have another database which is on magento EE 2.4.5-p1 and now i want to migrate all data from EE 2.4.5 p-1 to CE 2.4.6.
1
vote
1
answer
178
views
Magento2 B2B Website
I want to develop the B2B website in Magento Community Addition.
Is it possible in Magento2? How can we create B2B website in Magento 2?
Any one can help in this?
3
votes
1
answer
869
views
Magento 2.4.6 update - extension problem - zendframework replaced with laminas
l just updated Magento to version 2.4.6. Everything works fine but i have problem with one extension, it is very important to me and there is no substitute for it. Problem is that zendframework is ...
0
votes
1
answer
656
views
Adding an Extension Attribute to Sales Order Items - Magento 2
I have created some custom attributes for products and using these attributes in order view in customer account orders section. I have deleted few products. When I view the customer orders, it gives ...
-1
votes
2
answers
424
views
Magento 2.4 Order Place Error
Errors:
Something went wrong with your request. Please try again later.
No such entity with cartId = 5
0
votes
1
answer
565
views
What is the best way to override constructor of a class - Magento 2.4.3
I want to make a single line change in the constructor of a core class. What would be the best recommended practice to achieve it.
Here is what my existing constructor
/**
* Download constructor.
...
1
vote
1
answer
642
views
Magento 2.4.5 Duplicate key name 'WISHLIST_CUSTOMER_ID'
I am facing strange issue on the Magento 2.4
I have upgraded my Magento store to the latest version, and after the upgrade, I am facing one strange issue while running upgrade command.
It's looks like ...
0
votes
2
answers
116
views
I have added products to the guest cart programmatically & I want the cart page to open with the cart products on clicking the cart url
Output
{
"response_code": "success",
"response_message": "unique cart url created successfully",
"response_data": {
"cart_url": "...
2
votes
1
answer
355
views
Paypal not working for the logged in customer console error showing "Uncaught TypeError: Cannot read properties of undefined (reading 'done') "
I am facing a strange issue, when a logged customer wants to place an order with Paypal then it is showing an error in the console but with guest checkout, it is working perfectly.
I have checked the ...
0
votes
1
answer
325
views
Magento 2 controller cached
I have created a redirect controller for the payment gateway for redirection to the payment method host but that controller is being cached when I enable the full page cache of Magento. If I remove ...
0
votes
1
answer
200
views
Save data to table without model
So i want to save slider_id and banner_id on muffin_bannerslider table with the purpose of tracking which slider belong to which banner and the position of the banner in a particular slider. But that ...
0
votes
2
answers
228
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 ...
1
vote
2
answers
31
views
Can EE Extensions be used for CE?
I've seen a lot of discussion about whether or not CE extensions can be used for EE, but there isn't much in terms of clarification for the reverse scenario.
We're currently on EE and starting a ...
0
votes
0
answers
154
views
Magento 2 how can I retrive order_uid?
I am using Magento 2.4.2 version. for order return I found graphql here
https://devdocs.magento.com/guides/v2.4/graphql/mutations/request-return.html
I got 'order_item_uid' by using Customer Order ...
0
votes
2
answers
384
views
Magento 2.4: What is the alternative to storing order object in custom code as 'registry' is deprecated.?
Our Magento store is running community version 2.4.2. I noticed 'registry' is deprecated.intelephense(1007) notice at several lines in many files. Below is a screenshot of a part of a file that has ...
0
votes
2
answers
1k
views
Magenot 2.4 custom routes does not working. All time i get 404 error
Am crazy or what? Can somebody inspect my code and tell me what I do wrong?
I try examples from the official documentation:
https://devdocs.magento.com/guides/v2.4/extension-dev-guide/routing.html#...
0
votes
2
answers
358
views
Proper way to add Bootstrap and font-awesome CDNs to Theme (Magento 2.3.5)
I am trying to add these CDNs to my custom theme: app\design\frontend\Magento\test\Magento_Theme\layout\default_head_blocks.xml file but it's not working, error : failed to load resource.
<script ...
0
votes
2
answers
906
views
Magento 2: Unable to write file into directory
After installing Magento 2.4.1 I am getting this error:
Exception #0 (DomainException): Unable to write file into directory /var/www/html/magento2/pub/media/catalog/product/cache/...
0
votes
0
answers
115
views
Size of product collection using getSize() method and using foreach loop is different-different Magento 2
I am using Magento version 2.4.2
We have total 278 configurable products showing in admin panel.
I want to get all configurable product collection in root using below code.
When I try to get total ...
1
vote
2
answers
1k
views
Change SKU dynamically in configurable product for Magento 2.4
Does anybody know how to implement changing of the SKU on configurable product page according to variation selection, for Magento 2.4.3?
Thanks!
3
votes
3
answers
4k
views
Upgrade from 2.4.2 to 2.4.3 - I don't know how to resolve these dependencies
I am looking to upgrade my Magento Store from 2.4.2 to 2.4.3. When I enter the command "composer update" I get the below response.
Updating dependencies
Your requirements could not be ...
0
votes
1
answer
27
views
Object manager taking too long to create/inject a dependency
I am trying to inject a model via Object Manager in an integration test. The injection/creation of object takes forever and never ends. However, when I try print_r before calling get/create on object ...
0
votes
1
answer
56
views
Additional Data is not being imported into produces (full imports and focus additional data imports)
FIRSTLY I should note that all product data is importing correctly except the additional_attributes column.
I've been struggling for the past few hours with getting additional data imported into my ...
2
votes
2
answers
536
views
What is javascript minification and bundling of files in Magento?
What is javascript minification and bundling of files in Magento? Should I enable javascript minfication and bundling for my Magento 2 website ?
0
votes
1
answer
920
views
Unable to edit integration
We recently cleaned up our Magento 2.4.2 store so we had no generic users. Since we did this we noticed one of our integrations shows as inactive and we are unable to Activate or edit the integration, ...
0
votes
0
answers
146
views
Magento 2.3.2 CE Inconsistent stock status. "In Stock" when OOS and vice versa
I am having some odd inconsistencies with Magento 2.3.2 when it comes to "Quantity_and_Stock_Status".
I would like to add this to my layered navigation so customers can filter out the OOS ...
2
votes
1
answer
362
views
Unable to preview email templates
From the list of email templates, when I click on the Preview link for an HTML email template the pop-up appears but only an iframe shows with "Please click here if you are not redirected within ...
0
votes
1
answer
89
views
How to show the registration and login form in a popup in Magento 1.9
Hello I am trying to place the registration and login in different popup, but I don't know why when the registry modal opens it does not bring all the information that corresponds to the phtml ...
1
vote
1
answer
1k
views
Getting error while publish message to RabbitMQ
I am getting an error while publishing a message to RabbitMQ :The connection timed out after 3 sec while awaiting for incoming data.
use Magento\Framework\MessageQueue\PublisherInterface;
$this->...
1
vote
1
answer
148
views
What are the differences between magento cloud extension and open source extension?
I am searching about cloud extension and open-source extension in Magento. I didn't find any differences between them.
I checked the Magento Extension page, some Extensions have Commerce Cloud and ...
0
votes
1
answer
765
views
Credit memo "Return to Stock" not working properly, Configurable Product
Here is my setup:
Magento 2.4.1
Stores->Configuration->Sales->Payment Methods->Braintree (sandbox)->Payment Action = "Intent Sale" (same as "Authorize and Capture")
...
0
votes
1
answer
324
views
How can Customer make payment for Admin Created Order
How can a Customer make Payment if Admin has created Order on Behalf of Customer?
https://docs.magento.com/user-guide/v2.3/customers/customer-account-create-order.html
0
votes
1
answer
128
views
Error occurs during magento version upgrade from 2.3.4 to 2.3.6
I have a codazon theme installed in my magento website , it works well in magento 2.3.4 , eversince i am upgraded to magento 2.3.6 , i am getting following error in my home page slider of codazon .
&...
0
votes
1
answer
197
views
Order confirmation email not sending to guest user's email address Magento 2.3.5 -p1 community?
Order confirmation email to the guest user not sending but sending to logged-in customer. I am using the Magaplaza SMTP module for sending emails. Can anyone tell me Why this is happening?. I am ...
0
votes
1
answer
114
views
Magento Command for bulk Optimizing existing Product images
How to optimize existing Product images via commandline, similar to resize command.
php bin/magento catalog:images:resize
https://docs.magento.com/user-guide/catalog/product-image-resizing.html
This ...
0
votes
1
answer
1k
views
How to delete data in magento 2 custom table?
I want to delete id 5 data from my table.
I used some code but show:
1 exception(s):
Exception #0 (Magento\Framework\Exception\RuntimeException): Type Error occurred when creating object: Sparsh\CRUD\...
0
votes
1
answer
728
views
How to resolve Exception of Admin User installation issue while Theme Updating
I'm getting error during executing site/themesetup (via browser).
The updation regarding modules happened properly & quickly, but it is encountering error While installing a new admin user(unsure ...
0
votes
0
answers
233
views
Magento 2.3.3 - Image URLs are getting double slashes added
wondering if anyone might be able to point me in the right direction, magento is generating image urls with two slashes for me, for example promobanners//m/o/modern.jpg or //.thumbswysiwyg/social/...
0
votes
1
answer
386
views
BUG? Product new from date
I'm running Magento ver. 2.3.5-p1. I have three stores running on one website
When I set a new from date in a specific store scope for a product, on save Magento updates all store scopes.
Bug or by ...
1
vote
0
answers
504
views
How to get enabled configurable products which has associate products without inventory? [Magento 2]
My Query is: I want to get enabled configurable products which has associate products without inventory OR child products of enabled config products have inventory zero.
Use below code for filter out ...
2
votes
2
answers
711
views
Magento 2.3.5 Estimate Shipping should be apply on Subtotal (Incl.tax)
We're in trouble for a few days.
After upgrade to the latest Magento 2.3.5, we got an issue in estimate shipping calculation on the cart page.
Actually shipping takes value Subtotal (Excl. Tax) for ...
1
vote
1
answer
2k
views
Magento 2 Partial Order shipping
I want to ship partial orders. As user has order some product which is currently not available in stack how can I achieve this ??
0
votes
0
answers
392
views
Connection of magento 2 site with akeneo pim installed in localhost using akeneo connector
Environment:
Magento: 2.3.4.
Akeneo PIM: Vr 4 (community )
Hi!
I have downloaded akeneo community pim using docker. It's installed in my mac and can be accessed at localhost:8080.
I have also ...
0
votes
1
answer
414
views
Not able to update(single or bulk) product attributes after doing a bulk import in M2.3.4
I had uploaded some products using import option in my M2.3.4 site hosted on web-server. Now when i need to change/update some attributes - i cannot do that as i can't save my changes. I have been ...