All Questions
109,990
questions
0
votes
0
answers
4
views
How to save data into table that pull from an API in Magento 2.4.4?
i have a problem how can i save the data that I pull form an API on website
Here is my website I wanna get data from API: https://blog.api.rakuten.net/api-tutorial-rakuten-marketplace-api/
I really do ...
0
votes
0
answers
8
views
Custom page builder with React
There is page builder for admin magento cloud. I want to customize it with React and how can I do it ?
0
votes
0
answers
21
views
Add a product attribute to a custom button on product pages, Magento 2.4.2
I am trying to add a product attribute to a custom button on product pages.
I created a custom attribute called ebay_url. In custombutton.phtml I want to use the ebay_url product attribute to replace '...
0
votes
0
answers
12
views
Load shipping rates on click instead of page load on cart page
One of my website's cart page is slow and after some digging up I found that the shipping-rates.html is taking up time to load. Is there any way, through which instead of implicitly loading I can load ...
0
votes
1
answer
9
views
Magento2.4 Order shipping address is not in well format
Shipping address showing some code and some data.
0
votes
1
answer
12
views
Magento 2.4.3 + Redis(7?)
In my test environment (Ubuntu 20.04, PHP7.4, Percona 8.0, Varnish 6.5) I've just installed redis (backend, page cache and sessions) without thinking much about its version. And of course it's of ...
0
votes
1
answer
17
views
Trying to override 3rd party vendor file
I've read over this page ( Magento2 - override 3rd party module layout file in custom theme ) and I am still having an issue.
What I am trying to do is override the 2 files that vendor offers for the ...
0
votes
0
answers
9
views
CSP - Host whitelists can frequently be bypassed. Usage of nonce or hash: strict-dynamic
As per https://csp-evaluator.withgoogle.com/ whitelisted hosts can frequently be bypassed, i.e. google and adobe. Is there any way to use strict-dynamic (either with hash or nonce) for script-src ...
0
votes
0
answers
12
views
Magento 2 - How to extend another theme?
I have a normal theme for our onlineshop named "Company Fresh".
I created another theme which I named "Company Fresh Green".
It is based on "Company Fresh" but has only ...
0
votes
0
answers
13
views
Magento 2 Payment Gateway Method Approach
Overview:
I'm creating my own payment method, this method redirects to an external page where customer needs to place credit card details. This page has SuccessURL (on Success payment action), BackURL ...
0
votes
0
answers
12
views
Pagination not working fine after filter product collection
We are using Magento 2.4.3-p2 and filter collection on advance search page and quick search page using custom attribute.
Our collection is properly filter using our observer but tool bar count and ...
0
votes
0
answers
13
views
Multiple select attribute to choose which blocks should be loaded on frontend (product page)
I want to create multiple select attribute to choose which blocks should be loaded on frontend (product page). For example if i choose 'red block' and 'green block' in the admin panel (product edit ...
0
votes
0
answers
7
views
In Model Edit, display filtered grid of another Model
Consider two models, Foo and Bar. The Bar model has a non-nullable field foo_id which is associated with a Foo object.
<?xml version="1.0" ?>
<schema xmlns:xsi="..." xsi:...
0
votes
1
answer
6
views
how to set the weekday in order email template magento 2.4
how to set the weekday Monday, Tuesday, Wednesday, Thursday etc in created_at_formatted
example: Placed on 23.06.2022, 12:00:19
to set
Placed on: Friday, 24.06.2022
{{trans 'Placed on %created_at'
...
1
vote
1
answer
22
views
Upload csv file from a custom admin form issue
This is my fieldset from the uicomponent form:
<fieldset name="image_form_fieldset">
<argument name="data" xsi:type="array">
<item name="...
0
votes
0
answers
4
views
magento 2.4 difference between input argument and option in console commands
on magento 2 when we create a console command, we can add arguments and/or option. But what is the difference between the two? In which cases should we use one or the other?
0
votes
0
answers
2
views
magento 2.4 programmatically assign simple products to grouped product
I'm facing a weird error. I'm trying to create a grouped product with its own children. The children simple products have already been created so I only need to create the grouped product and assign ...
0
votes
0
answers
3
views
Magento 2 Get only items data for which creating Invoice or Credit memo
I have added custom product charge with the order and showing it in order totals.
When I'm going to create the Invoice which has no extra charge for then it should not show extra charge in order ...
0
votes
1
answer
11
views
Update Magento ver. 2.2.4 to Magento ver. 2.3
If we update Magento ver. 2.2.4 (php 7.1) to Magento ver. 2.3 (php 7.3,8.0) we again need to buy plugins? Or plugin are system dependent.
extensions (plugins) are
ALGOLIA SEARCH.
WEBKUL
MAGEPLAZA
and ...
0
votes
0
answers
5
views
How to render CMS page builder product list or element through Magento 2 CMS REST API
I want to pass CMS Page Builder Product List or element using CMS REST API to WEB & APP.
FYI I am using Backend as Magento & Frontend as React.
You can check below CMS REST API response, How ...
0
votes
1
answer
10
views
How to Get Product Id And Value in Custom Log
I am tired, please help me, to get product id and value when i add product to cart. through event or any other method in custom log magento 2
thanks
0
votes
1
answer
16
views
Magento 2 how add product select to the widget xml?
I want to add a sku product selection to the widget, but I can't find how to do it
Please tell me how can this be done
0
votes
1
answer
10
views
How to add link in shopping method in frontend side in magento 2?
how to can add link in frontend side in Shipping Methods
,and that link can show in only one method not for all
0
votes
0
answers
14
views
If we move from Magento 2 to custom coding (Laravel) does it effect SEO
I have a website from 2018 and right now having many issues because didnt update Magento now company want to change to custom coding (laravel) need to know its affect the SEO or not as much i know we ...
0
votes
0
answers
3
views
Product Custom option in date value set in cron running date
In front-end, product in custom option add for date,
Now i want to run cron on this date which set in custom value,
on this date cron run and email sent.
0
votes
0
answers
4
views
Want to set tax rate as per customer group
I want to set custom tax rate as per Customer group like Business to Business,and those customer who belong to country US. Is it possible through events & observer? how?
0
votes
1
answer
8
views
Can any one help me to create admin payment method in Magento 2?
If any can help me to create extension for admin payment method while creating a order from admin and which should have all default payment methods in magento 2
0
votes
1
answer
14
views
move shipping field to below shipping methods
I have a block that display in shipping-address-fieldset and i have try to move it using layout but i'm failing. i want it to be displayed below Shipping Methods. please help
Below is the layout file
&...
0
votes
0
answers
7
views
Adding to cart from external site (for non existing customers)
I have heard that you can use the Magento 2 REST API to add to cart:
https://devdocs.magento.com/guides/v2.4/rest/tutorials/orders/order-add-items.html
But is it possible for a brand new customer that ...
0
votes
0
answers
7
views
How to add blur() to page when Searchbar is open
So basically, when the Searchbar/Suggestionsbox from elasticsuite is open i want to have the website underneath with a blur() effect. So my approach would be like adding a ::after pseudo element. but ...
0
votes
3
answers
18
views
How i can Create CustomLog File When I Add Product to Cart
How i can Create CustomLog File When I Add Product to Cart
in magento 2 how i can create customlog when i add product into cart and create all the available product custom log
i have no solution ...
0
votes
2
answers
13
views
How to fix Referenced sniff "PHPCompatibility.FunctionUse.RemovedFunctions" does not exist with PHP8.1
For php8.1 and with the latest Magento coding standards we are facing below error while running the static test from CLI and PHPStorm
ERROR: Referenced sniff "PHPCompatibility.FunctionUse....
0
votes
0
answers
13
views
Magento 2.4.0 = How to I can apply Cart Price Rule Condition in this coupon Code?
I want to Add Cart price rule condition in my custom auto generated Coupon Code. If email is equal to test@gmail.com. How to i'll do this. Please check my code. This code is working Perfectly i just ...
0
votes
2
answers
18
views
Magento 2: how to specify the module name in custom theme?
I need to override success.phtml file from module vendor/magento/module-inventory-in-store-pickup-frontend/view/frontend/templates/success.phtml
I'm not sure how to get the module name from module-...
0
votes
0
answers
17
views
Magento 2.4 - Offer special shipping method for products which matches manufacturer
I want to display a special shipping method (pick up at warehouse) but only for products which matches a specific manufacturer.
How can I realize this?
0
votes
0
answers
6
views
Remove Cart Price Rules with type No Coupon
I create a cart price rule with coupon type is No Coupon. I don't wanna change its condition in admin, how can I remove this rule by code? I override function applyRules in module Magento_SalesRule (...
0
votes
0
answers
7
views
Hreflang Tags Attributes in Magento 2: What Are They?
The concern I have to give you today is what are the attributes of the Magento 2 hreflang tag? If multiple languages are available, you should use the Magento 2 hreflang extension. You also need to ...
0
votes
2
answers
15
views
Is there any way to hide columns controls button in Magento2 admin UI component for specific user role
I have to hide "Columns" control button for specific user roles in admin UI grid. Looks like it's managed through xml <columnsControls name="columns_controls">. I tried to ...
0
votes
0
answers
9
views
pagebulider error on backed
Working on magento 2.4.4 instance.I created a block from backend and call that block in the homepage with help of pagebuilder.After saving the page,
Error filtering template:Invalid block type:Magento\...
0
votes
2
answers
12
views
Can not add2cart grouped product when 1 input field is diabled
I need to disable the input field when customergroup = 0 or 1 and quantity is < 0 but when I add the argument 'disabled' to the input, the add2cart button does not put the other available items in ...
0
votes
0
answers
14
views
Asymmetric transaction rollback
I have one major issue that i do not know how to solve.
I am trying to create or update any product and i am getting Asymmetric transaction rollback. error.
It was working ok, but suddenly it stopped. ...
0
votes
1
answer
18
views
Unable to retrieve the qty updated product value in the cart using Observer
I am trying to get the cart item value once the qty updated in the Cart page for the specific Item. Have used the below code to get the value, But the event triggered still its showing the old value.
...
1
vote
2
answers
24
views
How filter dropdown options based on another dropdown selection in Magento2 UI grid filters
I am struck in finding the solution for the below requirements
Assume drop down#1 and drop down#2 selection box in the Magento2 admin UI grid filters. If we select option in one drop down#1 then we ...
0
votes
0
answers
8
views
Pagination not updated after product attribute filtration
I have done following plugin to filter the products by a custom attribute 'promotion_on', it works, but pagination does not reflect filtration (it shows full product lists' (without filtration) ...
0
votes
0
answers
8
views
ftp_connect function not working to connect with localhost in MAC
I have tried so many things but ftp_connect and ftp_ssl_connect are not working in my development instance.
I am using MAC and PHP8.1, I am trying to connect to localhost with the below simple script:
...
0
votes
0
answers
16
views
Error: Call to a member function getCode() - Magento 2
I am having the following error message in Magento 2
Error: Call to a member function getCode() on null in /vendor/magento/module-store/App/Action/Plugin/Context.php:148 Stack trace:
#0 /vendor/...
0
votes
1
answer
21
views
Overriding a .phtml file in custom theme doesn't work
I've been trying to override D:\Projects\PMM-M2\public_html\vendor\magento\module-checkout\view\frontend\templates\success.phtml by placing the file in my custom theme at location D:\Projects\PMM-M2\...
0
votes
0
answers
12
views
Custom tracking link attribute in shipment track is not getting update from the shipment creation rest api magento 2
i have created custom column tracking_link in sales_shipment_track table in magento 2
i want to update tracking link to the track details which i am pushing through create shipment of an order with ...
0
votes
0
answers
12
views
+50
GET Products API call with paging takes increasingly longer with each page number
On behalf of an integration with a client using Magento 2, we are fetching products from their Magento system using the /v1/products GET REST API call for version 2.4.4.
They have a large number of ...
0
votes
0
answers
10
views
shipping method auto select
Below is the picture of click n collect shipping method. if store view selected how to auto select in this drop down.