Questions tagged [magento-community]

Denotes question related to the Magento Community versions.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 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 ...
hari prabhu's user avatar
1 vote
1 answer
21 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/...
Shiv Om Mishra's user avatar
1 vote
2 answers
106 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/...
Shiv Om Mishra's user avatar
0 votes
0 answers
19 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 ...
Jack's user avatar
  • 440
0 votes
1 answer
56 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(...
Jack's user avatar
  • 440
2 votes
2 answers
145 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 ...
Beendeluxe's user avatar
0 votes
0 answers
46 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.
Abhi_Singh's user avatar
1 vote
1 answer
162 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?
Masud Shaikh's user avatar
  • 1,189
0 votes
0 answers
37 views

compare sidebar data-bind is not getting data of comapre product

i want to add product from dropdown to compare list but somehow product data is not showing like picture and name (i have already added pluging for product image), might be data-bind="scope: '...
user111416's user avatar
3 votes
1 answer
843 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 ...
Raul Baričević's user avatar
0 votes
1 answer
631 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 ...
Hafiz Muzamal's user avatar
-1 votes
2 answers
422 views

Magento 2.4 Order Place Error

Errors: Something went wrong with your request. Please try again later. No such entity with cartId = 5
Akshay's user avatar
  • 3
0 votes
1 answer
542 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. ...
Hafiz Muzamal's user avatar
1 vote
1 answer
597 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 ...
Mohammad Bharmal's user avatar
0 votes
2 answers
109 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": "...
Akshay's user avatar
  • 3
2 votes
1 answer
332 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 ...
Parbat Singh's user avatar
0 votes
1 answer
302 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 ...
Parbat Singh's user avatar
0 votes
1 answer
195 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 ...
Emil Sturer's user avatar
0 votes
2 answers
226 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 ...
alok tiwari's user avatar
1 vote
2 answers
30 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 ...
jvb8's user avatar
  • 23
0 votes
0 answers
147 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 ...
Rohit Kaushik's user avatar
0 votes
2 answers
378 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 ...
CodeForGood's user avatar
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#...
Ivan's user avatar
  • 103
0 votes
2 answers
342 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 ...
nihal malik's user avatar
0 votes
2 answers
888 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/...
Bushra's user avatar
  • 62
0 votes
0 answers
78 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 ...
Parbat Singh's user avatar
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!
mephala's user avatar
  • 13
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 ...
brettstix's user avatar
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 ...
Basheer Kharoti's user avatar
0 votes
1 answer
51 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 ...
jacob-scoot's user avatar
2 votes
2 answers
519 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 ?
Parbat Singh's user avatar
0 votes
1 answer
899 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, ...
P Walker's user avatar
0 votes
0 answers
142 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 ...
Andy's user avatar
  • 57
2 votes
1 answer
357 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 ...
mcpacific's user avatar
0 votes
1 answer
86 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 ...
MediEle's user avatar
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->...
Birjitsinh Zala's user avatar
0 votes
1 answer
142 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 ...
Said's user avatar
  • 21
0 votes
1 answer
754 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") ...
bluedarter's user avatar
0 votes
1 answer
313 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
Shailesh's user avatar
  • 133
0 votes
1 answer
126 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 . &...
Mitul Vadalia's user avatar
0 votes
1 answer
196 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 ...
Parbat Singh's user avatar
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 ...
Shailesh's user avatar
  • 133
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\...
Monsur Ahmed's user avatar
0 votes
1 answer
690 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 ...
Shailesh's user avatar
  • 133
0 votes
0 answers
231 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/...
user2921909's user avatar
0 votes
1 answer
380 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 ...
Jon Grey Davies's user avatar
1 vote
0 answers
492 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 ...
Roshan Rakesh Yadav's user avatar
2 votes
2 answers
696 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 ...
Suresh Prajapati's user avatar
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 ??
Akshay Kamble's user avatar
0 votes
0 answers
382 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 ...
mani_harish's user avatar

1
2 3 4 5
13