All Questions
112,178
questions
3
votes
2
answers
58
views
The Store View selected for sending Welcome email from is not related to the customer's associated website : Magento 2
I have Magento 2.4.4 and multi website is setup in the store. If i create the customer from the front-end then it works fine and correct website assigned to customer also works fine.
Issue is when i ...
1
vote
1
answer
23
views
How to get Pickup location code for an Order
An order is placed with the instore_pickup Shipping method, but I cannot find the store code from where the order is supposed to be picked up. There is no information for this in sales_order or ...
0
votes
0
answers
34
views
Magento 2 Country and Region/state not showing values on checkout address form randomly
I am facing an issue with magento 2.2.11 this happens ramdonly, Country field and region/state field do not load select values on checkout address form
I've checked that in stores->configuration-&...
0
votes
1
answer
29
views
Prevent XML file in media directory to be cached
We are generating a custom XML and stored in the media directory to be accessed by URL. La full URL of the XML have this structure:
https://[maindomain.com]/media/googleshopping/googleshopping4-1.xml
...
0
votes
1
answer
39
views
Strip index.php from rest urls
I am having this issue with an external platform which trying to get rest urls from my magento 2.4.5.
Issue is that the urls they hit contain
index.php
inside. They are like this:
https://example....
0
votes
0
answers
22
views
Magento 2 Customer Data Requisition List Empty List After Login
During my testing of the requisition list button on my orders view. I noticed that the existing requisition list I have created does not show after I log in and only shows after I add an additional ...
0
votes
0
answers
21
views
What file and cron file run when content scheduling content goes live?
I am understand the schedule update files work on save and delete, but i am not understand when schedule product goes live which file or event triggered for the showing schedule content on frontend.
I ...
0
votes
3
answers
47
views
magento 2.4.3 api "the consumer isn't authorized to access %resources" error"
I'm trying to call magento api from an external chat bot for customer service.
For testing purposes, I'm using default magento get call on order (/V1/orders/{id} ).
If I create an admin (or customer) ...
1
vote
2
answers
46
views
Insert a custom block into the $block->getChildHtml('customer.form.register.extra') placeholder in register.phtml
I want to insert a custom block into the $block->getChildHtml('customer.form.register.extra') placeholder in the customer registration form - called in the Magento_Customer::form/register.phtml ...
0
votes
0
answers
40
views
Magento 2.4.6 building custom admin grid filter issue
I built my own custom admin grid. It renders the data correctly, however when I tried to filter on an input, I am receiving the following error from the ajax request:
Status code 500
Error:
TypeError:...
0
votes
1
answer
31
views
How magento schedule update for magento product programmatically?
How i magento perform schedule update programmatically.
which module i check, how magento perform schedule update ?
please narrate which file work ?
0
votes
1
answer
29
views
Tracking and items ordered missing from shipment email in Magento 2.4
I've created a module to notify the customer when a custom carrier has been added. I've used an observer on the sales_order_shipment_save_after event but the tracking info and items ordered are empty ...
0
votes
0
answers
21
views
How can I move the checkout window.checkoutConfig javascript code above all the payment methods on the checkout page?
I've installed the SquareUp payment method, but there's an issue with the theme I'm using where the form code is injected before the window.checkoutConfig code (which is required for the checkout) and ...
0
votes
1
answer
65
views
Different header/footer for guest users
I want to show different header and footer for the guest users and default one for the logged-in users.
What is the right way to do so ?
AND using the custom module to achieve this.
0
votes
1
answer
28
views
add custom order status to orders grid bulk actions in Magento 2.4.5
How to add more order statuses to orders grid bulk actions drop down to update one or more orders status at a time by selecting the check box of orders.
0
votes
2
answers
41
views
Email already exist in db validation
I need help on to correct my implementation on validating the email if it's already exists.
Anyone knows what's wrong with my code? It is not validating this part. It will save even if the email ...
2
votes
2
answers
51
views
How to switch stores directly without the store switcher's redirect chain?
For SEO reasons we would like to switch stores directly without the default store switchers redirect chain.
The normal Magento store switcher creates a redirect chain when switching store. For example ...
0
votes
1
answer
32
views
TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, first array member is not a valid class name or object
I upgraded my website from magento 2.3.6-p1 to 2.4.5-p1,
When i run php unit test case for my custom module(This module overides the CreatePassword.php file from Customer module) throws error from ...
0
votes
0
answers
32
views
Directory \"/var/www/html/pub/media\" cannot be created Warning!mkdir()
I'm new to Magento 2 and have successfully deployed magento 2.4.1 with apache on Kubernetes. However, I'm facing issues with product images not being displayed when I mount pub/media using cosfs. The ...
0
votes
2
answers
38
views
Magento2 : what does db->connection->indexer means in env.php?
what does db->connection->indexer means in env.php
'db' => [
'connection' => [
'indexer' => [
'host' => '127.0.0.1',
'dbname' => 'magento',
...
0
votes
1
answer
19
views
How magento 2 default content scheduling work programmatically
what is the logic behind the content scheduling in magento 2.
Using cron ?
using event observer ?
1
vote
2
answers
36
views
Magento 2.4.3-p1 email show duplicate images?
i am using Magento 2.4.3-p1. i am facing issue block images duplicate show on email templates.
Steps to reproduce issue.
Add one custom block.and take image uploader control and add images on that ...
0
votes
1
answer
40
views
Navigation links disappear after upgrade to Magento CE 2.4.5
I'm somewhat of a Magento noob and inherited this site. I upgraded to 2.4.5 from 2.4.0 and basically, the top links and footer links disappeared. For example, this block is no longer displaying:
<...
0
votes
2
answers
32
views
sudo php bin/magento module:status didn't run?
I was trying to run this command but the error raised like this
PHP Warning: require(/var/www/medical/bin/../app/bootstrap.php): Failed to open stream: No such file or directory in /var/www/medical/...
0
votes
1
answer
28
views
How to change navigation bar font type
I'm trying to change the font type of the navigation bar in Magento 2.4.1. Is there a possible way?
0
votes
1
answer
31
views
How to change copyright font color
I can't figure out how to change the font color of the copyright text in the footer. I am leaning using for a school project and am editing in the theme.less.
Any idea? Thank you!
0
votes
0
answers
20
views
move klarna payment express button in mini cart
i have enable klrana button on minicart but its showing after view and edit cart i want to move it before view and edit cart
0
votes
0
answers
15
views
"Please correct the data sent value." Error WHEN exporting 'Customer Addresses'
Magento 2.4.2-p1
In:
- System - Data Transfer - Export:
The following 3 exports work without any problems:
Advanced Pricing
Products
Stock sources
While these 2 did not:
Customer main file
Customer ...
0
votes
1
answer
21
views
How to copy cms page data created using pagebuilder from lower environment to upper environment?
I am creating a page in my local environment. Once its completely developed I would want to have same page created on upper environment i.e UAT environment in my case and later on pre-prod and ...
0
votes
1
answer
49
views
Error durin compilation Magento 2.4.6
Repositories code generation... 1/9 [===>------------------------] 11% 1 sec 76.0 MiB
There is an error in vendor/magento/module-page-builder/Model/Dom/CharacterData.php at line: 15
Interface &...
0
votes
1
answer
20
views
What is content scheduling and how i achieve this programmatically
How i apply content scheduling in magento commerce programmatically
what is content scheduling?
how i implement content scheduling?
0
votes
0
answers
13
views
Import and update wholesale prices with different price ranges according to quantity in Magento
I want to update the prices for wholesale customer group from csv.
The csv format is like this
How can I update these to database? Or help me by letting me know the table and column names where the ...
0
votes
1
answer
32
views
Layered Navigation issue on catalog search result page in magento 2.4.5
can anyone please tell me why am I not getting layered navigation in search result page in magento2.4.5?
I tried various modules.
currently I don't have any module of Layered Navigation using magento2....
0
votes
0
answers
9
views
Catalog Price rule, Attribute condition=does not contain, is not applying if no value selected from dropdown list
In magento2 admin, Catalog Price rule, Attribute condition="does not contain", is not applying if NO value selected from drop down list
Here condition is not applied.
For other products if ...
0
votes
2
answers
35
views
SEO URL best practice. How can I change my URL path?
By looking at my magento product page I get this format:
https://mywebsite.com/catalog/product/view/id/18680/s/THIS-IS-THE-NAME-OF-MY-PRODUCT/category/17/
However, I don't think this is good for SEO. ...
0
votes
2
answers
15
views
Configurable product prices not changing when variation changed - Magento 2.3.5
This issue appeared only with the new products that we recently imported into the Magento. All these new products have different attributes and attribute set.
Prices are still changing correctly on ...
0
votes
2
answers
94
views
Magento 2 PWA TypeError: Cannot read properties of undefined (reading 'storeConfig')
We are using Magento 2.4.5
Steps to install PWA -
1 - git clone https://github.com/magento-research/pwa-studio.git
2 - Install yarn from pwa-studio root directory yarn install
3 - Create the .env file ...
0
votes
2
answers
31
views
Menu not showing for custom role in custom module
This is a duplicate question of Magento 2.x - Menu not showing for custom role in custom module but I can't seem to figure out how...
I have setup ACL rules for this but it is not showing Menu of ...
0
votes
1
answer
18
views
How do I create a Magento block that has input fields for to store values in variables?
My code for displaying rotating messages is currently hardcoded and I have to go in and update the messages manually. I want to replace this with a new block in magento so other people can just go ...
0
votes
3
answers
35
views
Emoji not showing in gift card message
When I add an emoji to the message I entered when purchasing a gift card, I cannot see this message. It can't be displayed in the person I gifted it to. You can view the steps I did in the sample ...
0
votes
1
answer
34
views
Issue with overriding /magento/vendor/magento/module-sales/view/adminhtml/templates/order/view/info.phtml
I need to override template magento/vendor/magento/module-sales/view/adminhtml/templates/order/view/info.phtml and I have following setup of files.
Module name : Iwdat_AddressExt278
Iwdat/...
0
votes
1
answer
11
views
Set Custom option value from cart to product view page in magento 2
Set custom option value from cart to product view page in magento 2. i am using on add to cart event checkout_cart_product_add_before and set the option code add_option with option (is_available with ...
0
votes
1
answer
17
views
Is it possible to use a different URL for the API calls from what I use for the website?
What I want to do is:
Site URL: example.com
API URL: api.example.com
And how can I do this?
I m currently using magento 2.4.5
I would like the api url to be only for API calls not for the whole site ...
1
vote
0
answers
31
views
How to get selected shipping address from js component in Magento 2?
I'm very new to the Magento world and I'm trying to figure out how do I get the currently selected shipping address in Magento 2.
The goal is to only display the selected shipping address in the ...
0
votes
0
answers
20
views
How to change Expire Date format in admin form magento 2
how can i change Expire Date format from mm/dd/yy to dd/mm/yy in product form admin panel
0
votes
0
answers
12
views
Payment method address capture error
I've Apple Pay as payment method, after filling the shipping address and check the checkbox of my billing address is same as my shipping address I get an error.
But after that if I refresh the page ...
0
votes
0
answers
11
views
How to Skip Translation for specific input in magento2.4.3
I have added quantity increment and decrement button in minicart
<input data-bind="value: qty, attr: {
id: 'cart-item-'+item_id+'-qty',
'data-cart-...
0
votes
1
answer
19
views
How can I set default zip code for checkout page and refresh shipping methods?
I created module for set default zip code in checkout page by this answer - https://magento.stackexchange.com/a/293818/102895. It's work - the ZIP code is set when the page loads by this plugin.
But ...
0
votes
0
answers
16
views
Remove Rich Snippets by default magento 2.4.2
Remove Rich Snippets by default magento 2.4.2
I am using a third party module for structured data and I want to disable the ones that come by default in magento.
It is possible from the backend to ...
0
votes
1
answer
36
views
Show hide content using Knockout js in magento 2 on click button
I want to create content show hide functionality using knockout js in shipping page.
here is my html file code
<button type="submit" title="Select" class="action primary&...