All Questions
111,873
questions
0
votes
2
answers
25
views
How to double extend Magento_Checkout/js/view/summary/item/details in Magento 2
is it possible to extend a new checkout_index_index.xml on top of already existing one
I created a
projectA/app/design/frontend/MageBig/martfury/projecta/Magento_Checkout/layout/checkout_index_index....
0
votes
1
answer
28
views
Magento 2 setup upgrade throwing error . After version upgraded from 2.3.6-p1 to 2.4.5-p1
I got following error while running upgrade command
Warning: Undefined array key "inventory_source" in /var/www/html/vendor/magento/framework/Setup/Declaration/Schema/Db/SchemaBuilder.php on ...
0
votes
0
answers
23
views
magento-cloud CLI ssl cert error
I just installed magento-cloud cli on my local environment however after install I am getting an error that says
cURL error 60: SSL certificate problem: certificate has expired
I have seen another ...
0
votes
0
answers
18
views
Magento 2.4.5 after place order success page with customization
Hello I have created one observer after the order is placed (sales_model_service_quote_submit_success) order data need to synch with some third-party system it is working fine order is synched to the ...
0
votes
1
answer
8
views
How to obtain Fastly keys on Magento Cloud?
I have a Magento Cloud installation and Fastly is configured out-of-the-box. Although, I need to use the Fastly API to trigger a Curl command using the API key.
How is it possible to get the API key ...
0
votes
0
answers
23
views
switch store view with select country in checkout / cart
I would like to trigger the store view to change according to the selected country in cart and checkout in Magento 2.4.3
Does anyone do have a clue if or how this is possible?
Thanks
0
votes
1
answer
44
views
Magento 2, Undefined variable: secureRenderer
After install extension I receive error. If I go to Sales -> Order => shipped order.
If I go to new order it is ok.
Exception #0 (Exception): Notice: Undefined variable: secureRenderer in .........
0
votes
1
answer
15
views
Admin panel sidebar links doesn't work in production mode
I have an issue while i switch my magento website in production mode,
The website is finally ready to be set but now i face a problem after i've installed many modules and packages, i don't know why ...
0
votes
1
answer
13
views
How to prevent your custom .gitignore file to be overridden?
Running composer install I have my .editorconfig and .gitignore overriding.
Is there any way to avoid it?
1
vote
2
answers
24
views
Error while run reindex "405 Method Not Allowed"
I have one major error in reindex magento 2, i have try all things about Elasticsearch and I have find solution for that last one week but I didn't get any solution for that anyone help me into that.
...
0
votes
0
answers
14
views
How to add custom admin form with store switcher in magento 2?
I want to add a form with store switcher facility. So when we change the store the fields value will be change according to the store view.
How to save the field values in the database?
And How to ...
0
votes
1
answer
11
views
Interceptor not exists issue when running setup:upgrade command in magento 2
When i run setup upgrade command i got the following error
Class "Vendor_Name\Subscription\Test\Command\DispatchEventOOSProduct\Interceptor" does not exist
I tried to remove the ...
0
votes
1
answer
27
views
How to display custom database table in admin grid using Ui component M2.4.5 PHP8.1
I have created a custom module with custom database table with 3 columns.
I have setup an admin page with menu etc. and can load the data from the database using the ResourceModel Collection and ...
0
votes
1
answer
28
views
Deprecated Functionality: rawurlencode(): Passing null to parameter #1 ($string) of type string is deprecated s
I upgraded the magento version from 2.3.6-p1 to 2.4.5-p1 enterprise edition.
When I run bin/magento setup:upgrade command throws following error.
Deprecated Functionality: rawurlencode(): Passing null ...
0
votes
2
answers
20
views
Easy way to show content in lightbox on CMS page?
Just wondering if there is an easy way to display content in a lightbox on CMS pages using some inbuilt Magento 2 functionality rather than call an external JS script?
So for example:
<div class=&...
0
votes
0
answers
11
views
UI component condition bases visiblitty
in Magneto 2.4.1 Admin ui component form, I've following code
'type' => [
'arguments' => [
'data' => [
'config' => [
'label' => __('Test'),
...
0
votes
2
answers
39
views
How to programmatically add roles to product images?
I need to insert Small, thumbnail and swatch roles to all existing product images, any solution? Thanks
0
votes
0
answers
9
views
Magento 2.4 move cart page shipping rates on top of the page
Hi I need to remove the cart page shipping rates list under the "Estimate Shipping and Tax" and move that block on the top of cart page. Can you give me some support to do that. SO far I ...
0
votes
0
answers
17
views
How to create Image uploader with multiple fieldset Magento2
<fieldset name="dealz_info" sortOrder="11">
<argument name="data" xsi:type="array">
<item name="config" xsi:type=&...
0
votes
1
answer
35
views
Product showing out of stock but In stock in backend
We have some products in our inventory that are in-stock in the backend but showing out-of-stock in frontend.
If I make a product out-stock and then back to in-stock then it works fine( in-stock in ...
0
votes
2
answers
25
views
How do I use Magento2's Payment Module
What does the Magento Payment Module do in Magento 2.4? I want to create a payment method. How do I use this module
0
votes
3
answers
20
views
¿ How to automate the visibility of a product for a specific date?
I'm trying to configure the visibility of some products for a specific date, but I can't find what configuration I should select for this action to take place.
0
votes
0
answers
10
views
conditions at cart rule mage2
I have problems creating cart rules, I don't quite understand how it works, I need to programmatically create a rule that fulfills the following:
3% automatic discount if you have between 7 and 13 ...
0
votes
1
answer
9
views
Partial invoicing in Magento 2 - how to update order line items with which items to invoice via csv?
Partial invoicing in Magento 2 - how to update order line items with which items to invoice via csv?
For example, let's say I have an order that has 4 items on it. 2 of those items are on back order. ...
0
votes
3
answers
30
views
Magento 2.3.5 load main product image to preload it
i created a phtml file, called in the catalog_product_view.xml file (inside the head.additional reference block), where i want to preload the main product image, for Core Vitals purpose, for example:
&...
0
votes
1
answer
37
views
Magento 2.4.3-p3 security scan failed XS Vulnerability (APPSEC-1539)
Our Magento 2.4.3-p3 site failed the XS Vulnerability check. Does anyone know how this can be fixed?
0
votes
1
answer
25
views
Magento 2: Add discount based on individual qty and item to cart
I need to set cart discount based on individual qty and individual item for cart.
For example if cart have 2 item then lowest price item to give higher percentage discount, like need to add 10% and 20%...
0
votes
0
answers
33
views
Magento 2 - Add custom form to admin sales order create
I'm trying to add a form to the admin sales order create page.
When I create a new order i cannot see my form but if i refresh the page the form is available.
i added code to sales_order_create_index....
0
votes
0
answers
35
views
Gallery widget / fotorama / breakpoints thumbsize
Question is for Magento ver. 2.4.3 with custom Theme.
I try to do two things with the fotorama gallery:
Set the nav to thumbs and navdir to horizontal ("max-width":"1024px")
The ...
0
votes
0
answers
11
views
What is the list of EU countries used for?
In the Admin Panel under Stores > (Settings) Configuration > (General) General > Country Options within the global scope, admins can configure the list of member countries of the European ...
0
votes
1
answer
47
views
How to override page builder upload.php in magento 2.4.5?
I want to override vendor/magento/module-page-builder/Controller/Adminhtml/ContentType/Image/Upload.php. please help me.
I want to allow webp extension in code using the override method.
0
votes
0
answers
11
views
Magento 2 Update Cart Redirects To Homepage in magento 2.3.5
Update Shopping Cart button redirects to homepage when pressed. The quantity is updated but the customer is forced to go to the homepage instead of staying in the shopping cart.
0
votes
0
answers
17
views
How to add an product chooser to a Magento 2 widget
I want to add product chooser field like this
I am using this code but its not working anyone please help me.
helper = $helper;
$this->_allProducts = $allProducts;
$this->...
0
votes
1
answer
16
views
Can we add the bundle product in bundle product items for bundle product?
Is this possible to add the bundle product in bundle product items for bundle product?
0
votes
1
answer
18
views
How can i install and configure google map on E-commerce Website in Magento 2.4.5?
I have freshly installed magento 2.4.5 on windows, I'm creating Pizza store, now I have to add google map for checkout process and to track the address, can anyone help me out? It will mean a lot to ...
0
votes
0
answers
10
views
Special Price Changed after Uploading a Missing Image
I am facing an issue when adding a new image to a product that does not have one uploaded, the special price would change to a random one. I am trying to do this as an user of the admin page, not as a ...
0
votes
1
answer
31
views
Error in Postman and show that Invalid type for value: \"%productId%\
I have developed a module in my magento 2.2.6 for to create an API that can update the product price and quantity via product id . Please see my code below
/var/www/html/app/code/AdmNetsuitePQ/...
0
votes
0
answers
11
views
Is it possible to move the qty input field into the product options div
I would like to move the qty input to the right of the last product option (which in my case is a select element) I've defined a new block and template for the quantity to separate it from the add to ...
0
votes
1
answer
42
views
How to Create Bulk Product Attributes in magento 2?
I want to add more than 50 Product Attributes in the bulk. Please let me know the best way to do it in Magento 2.
0
votes
0
answers
27
views
Can work same database with magento old version and upgrade version?
Here, the old code means Magento2.3.4, and the new code means magento upgraded v2.4.4-p2.
Recently, I upgraded a site from Magento 2.3.4 to v2.4.4-p2, and I have much customization.
Does Magento work ...
4
votes
0
answers
38
views
Discount Calculation Issue Magento 2
I am facing an issue with the discount calculation.
There are three coupon which are applied automatically without coupon code (coupon 3, coupon 4, coupon 5) and one more coupon code which i have ...
0
votes
0
answers
9
views
How to display Grouped Product Name in cart page under its sub-items?
I have a requirement on cart page to display grouped product name and to list its child-items below it in cart page. Kindly help me with the solution.
0
votes
3
answers
96
views
Store view category description
We want to check or load the category description from the store view itself, instead of the general.
By default it is loaded as <?= $category->getCurrentCategory()->getDescription() ?>
...
0
votes
0
answers
14
views
how to redirect all urls taking to default login and create account page to social login popup of create account and login
as a guest user when i click on notify me when product in stock its taking me to default login ,instead of this page now i want to open mageplaza social login option..
im trying by changing the url if ...
0
votes
0
answers
24
views
Magento 2: How to use custom options in action apply field in cart price rule frontend
I have added two new option in admin cart price rule action apply section for give tier price discount based on apply rule in cart.
Percent Discount: Buy Min N Products, Get Tiered Promotions
Fixed ...
1
vote
1
answer
50
views
Returning configurable_options and variants are null for configurable products in custom product collection graphql query
I have sellerProducts Query and SellerProducts type has product interface. When i call SellerProducts query it returns configurable_options and variants are null for configurable products in custom ...
0
votes
0
answers
19
views
Code Sniffer Fails
I am trying to run code sniffing for one of my module and it is giving the below error.
**Class 'ArrayObject' is restricted in /usr/share/eqp/PhpCodeSnifferTool/tmp/work/DataObject.php. Suggested ...
0
votes
0
answers
7
views
How to add custom attribute to newrelic on pageview action in magento2?
We are using magento cloud, On pageview action need to add custom attribute called "B2bCustomer" to NewRelic.
I have found
https://docs.newrelic.com/docs/apm/agents/php-agent/php-agent-api/...
0
votes
1
answer
40
views
Translate dynamic text in magento 2 javascript
i have a text like within %1 days %1 is dynamic how to translate using data-bind:i18n in html template magento 2.4
<span data-bind="text:methoddata[key].delivery_days_text"></span&...
0
votes
1
answer
14
views
Uncaught Error: Interface 'League\Flysystem\FilesystemAdapter' not found in magento2
when
php bin/magento setup:di:compile
display
PHP Fatal error: Uncaught Error: Interface 'League\Flysystem\FilesystemAdapter' not found in /home/magento2-dev/public_html/app/code/Magento/...