All Questions
2,556 questions with no upvoted or accepted answers
2
votes
1
answer
470
views
HOW TO ADD ALTERNATIVE HTTP HEADERS TO MAGENTO 2
I wanna add custom header to the response.
l do like this article
but it does not work. I guest it about Magento version. I use Magento 2.3
2
votes
0
answers
47
views
Magento2.3 How to remove estimation call on state change action in Cart page?
I need to remove estimation call on state change action in the cart page. When user change region estimation call execute when to add zip code than estimation call execute again, so shipping ...
2
votes
0
answers
802
views
How to override core vendor/magento/zendframework1/library/Zend/Locale/Data/ar_SA.xml
I want to override vendor/magento/zendframework1/library/Zend/Locale/Data/ar_SA.xml because for my Arabic store currency symbol was not working.
By referring to this URL I got the solution.
But ...
2
votes
0
answers
41
views
How to use Marketplace Extension in Magento 2?
I have a task regarding seller registration. We have installed Marketplace extension in Magento 2 but I don't have any idea how to use this extension.
Could anyone please help with this?
Regards,
2
votes
2
answers
1k
views
magento 2.3 redirect all product urls without category path to urls with category path
I want to redirect all product URLs without a category path to their category path URLs for SEO purposes.
Example - Redirect mywebsite.com/product-name.html to
mywebsite.com/category1/sub-...
2
votes
1
answer
185
views
Magento2.3: How do I call subtotal for creating condition for different stores in Cart?
How do I call the subtotal for different products in different stores in block .php or view .phtml files?
I set the price of the products manually for different stores.
I want to write a condition ...
2
votes
3
answers
345
views
theme language translation
I have installed a new theme, I created the i18n directory with the csv file.
I entered this command to create the dictionary:
php magento2/bin/magento i18n:collect-phrases --output="magento2/app/...
2
votes
0
answers
124
views
Multi Store views data
In my site having multi stores. I want to made extension for Multi Store views in the store view option in custom module in adminhtml. How to add functionality for that? i want save the data for ...
2
votes
0
answers
73
views
Magento 2.3 how to automatically upload videos to page from youtube channel
I want to get all videos from youtube channel and load it on page. How can I do that? Is there some free plugins or mb I need to use some of JavaScript libraries? I found YouTube Gallery Widget, but I'...
2
votes
0
answers
1k
views
Add popup on clicking custom button in product edit page in admin in magento 2.3
I have added a custom button in product edit page using product_form.xml like below :
app/code/Company/Module/view/adminhtml/ui_component/product_form.xml
<?xml version="1.0" encoding="UTF-8"?>...
2
votes
1
answer
4k
views
Magento 2.3.1 : No such entity with customerId = Backend Login as Customer Logs page
My English is not perfect sorry.
I am using Magento 2.3.1 and I saw this issue.
Admin > Reports > Customers > Login as Customer Logs
Login as Customer Logs
No such entity with customerId = 1
I added ...
2
votes
0
answers
347
views
How to override default search result in magento 2
I want to override default Magento search result, as I am not getting idea from which file all data is displayed from which I want to filter the data.
Following are the requirements for overriding ...
2
votes
0
answers
31
views
Optimized way to get Total Delivered Items in Magento 2
I am looking for an optimized way to get the total number of shipped/delivered items from the entire purchase history of a customer.
This is the code i am using right now.
/* $this->order = ...
2
votes
0
answers
232
views
how to create a custom tree similar to the back office category one in Magento 2?
I'm trying to create a left menu like the category one in a custom module to display my own hierarchy. I want to use a custom model from a custom table.
I was able to get the category tree in my ...
2
votes
3
answers
97
views
Magento bad execution on js and css
i have a issue when a try to access to my Magento Admin Panel and frontend default page.
the admin panel always shows epmty And the frontend default page show content but without CSS and JS:
how to ...
2
votes
0
answers
343
views
Magento 2.3.X Country of Origin or Manufacture attribute doesn't save on product page
I'm trying to save 'country of manufacture' attribute on product page but it's not save it. Other attributes is save successful. How can i fix it ?
2
votes
0
answers
90
views
Magento 2 : Product options date saved less then select date while add to cart
I have just set the time zone from admin configuration.
Time Zone: Gulf Standard Time (Asia/Muscat)
Time Zone Configuration
I have a product which has an option for the delivery date and once I am ...
2
votes
2
answers
1k
views
Home Page not loading properly in magento
While I am try to load magento home after installation, page not loading properly.
2
votes
0
answers
246
views
User Login not Working after Migration 2.2 into 2.3.1
I have Just Migration Magento 2.2 store in 2.3.1 Version but Customer User login not working after that. Give me below error.
The account sign-in was incorrect or your account is disabled ...
2
votes
0
answers
423
views
Magento 2.3: How to display price for out of stock bundles
We have an issue where if a bundle product has options that are out of stock, it shows that the price for those products are $0.00.
How would you display the full configured bundle price regardless ...
2
votes
1
answer
123
views
How to fix its MIME type ('text/html') is not a supported stylesheet MIME type error in magento 2.3?
Magento Version: 2.3.0
As per my client requirement, I was upgraded Magento 2.3.0 from 2.2.6.
All functionality works properly but always show the following error into inspecting element console.
...
2
votes
0
answers
30
views
Magento 2 - sell product grouped by quantity
My client want sell their product by quantity for exemple :
Flowers sell by
10qty = 10$,20qty = 15$,30qty = 22$
without the customer can edited the quantity salled.
And he want to manage the ...
2
votes
0
answers
213
views
when register in magento2 getting no entity
when I'm registering magento2 getting an error like
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with email = [email protected], websiteId = 1
Exception #0 (...
2
votes
0
answers
61
views
Show COD Payment Method as Disable in Checkout if product with Some attribute in the cart
I have to display COD payment method but as disabled in payment step if a product with Some attribute in the cart.
Please help me.
2
votes
0
answers
74
views
Magento2 license per domain
I want to set license to my own extensions, mean that want to sell my extensions per domain license like https://landofcoder.com/ modules.
what should i do?
2
votes
1
answer
525
views
Disable email notification for specific customers
Please can any one help me on this,
I would like to disable email notofication for customers, which have a flag non_email_customers set to true.
I Have Try this way. i have created a plugin for: ...
2
votes
1
answer
546
views
How to filter customer collection with its attribute?
I've bunch of customer attributes, So how can I filter customer collection with its custom attribute ?
2
votes
0
answers
169
views
Preference for Magento\Setup Classes not working
TLDR - Is there a reason I can't use preference for classes in Magento\Setup namespace, specifically during the setup:upgrade processing, OR is there something I am missing with the following ...
2
votes
0
answers
75
views
Magento2.3 - How to Sort Products Based on Attribute Category
Is it possible to add an order by category attribute in the search catalog?
I would like to add search relevance based on category positions.
For example if I search Iphone the result returns to me: ...
2
votes
0
answers
895
views
Need to get customer order list from Rest API
First I tried this endpoint /rest/V1/orders to get list of all orders history for a customer but got this error:
{
"message": "The consumer isn't authorized to access %resources.",
"parameters": {
...
2
votes
1
answer
137
views
Magento 2 : How can we identify phpexecutable or not?
I'm working on creating custom console in which i have to add code that will check php is executable using below class.
If PHP executable then which PHP version is executable.
SyncCommand.php
...
2
votes
0
answers
61
views
Purpose of include, advanced and extend in system configuration
How to use include node in system.xml?
How to use attributes extend and advanced in system.xml?
2
votes
1
answer
194
views
Magento2 Multistore Headers already sent
I recently upgraded my Magento store to 2.3.1. The main store works just fine, however, my other store (multi-store instance) brings up this error:
Warning: stream_wrapper_unregister(): Unable to ...
2
votes
0
answers
1k
views
Magento 2.3 Backup failed Error received from server
I want to upgrade magento from 2.3 > 2.3.1
my system running on google cloud servers using bitnami
I have registered my domain on cloudflare to get the ssl
at first upgrade attempt on third ...
2
votes
1
answer
2k
views
Magento 2.3.1 Error on checkout getAdditionalInformation()
I've migrated an old webshop from 1.9 to 2.3.0 and then upgraded to 2.3.1. And I've come across a problem that I can't quite find out why it is happening. There are about 300 products migrated into ...
2
votes
0
answers
1k
views
How to get the custom order attributes in default order Api response in magento 2.3
I have created a new custom order attribute named delivery_date and shown the same in sales order grid but i am not getting the custom attribute in my order Api response.
The error I am getting is ...
2
votes
0
answers
231
views
Error stream_wrapper_unregister() when installing magento
I wanted to try magento CE edition so I downloaded it uploaded all the files to my host but then I get this error when i visit the url.
Warning: stream_wrapper_unregister(): Unable to unregister ...
2
votes
1
answer
239
views
How can I change CSV import image as replace?
When I import products with CSV file with base_image,small_image,thumbnail_image and additional_images values it's adding images as new images.
I want to it replace with current images.
How can I do ...
2
votes
0
answers
352
views
Transactional Email Styling not displaying on preview
I'm trying to style the content of the email example is the New Ordern or the Order Confirmation Template. Now I selected this template and added some css styling on this field under the Template ...
2
votes
0
answers
29
views
How can I set up USPS Shipping to have options given only if a certain amount of items are being checked out?
How can I set up USPS Shipping to have options given only if a certain amount of items are being checked out?
I'm using USPS for shipping and I want it to use a small flat rate box if there are lets ...
2
votes
0
answers
61
views
Magento-CE-2.3.0-2018-11-27-10-23-08 CSS
I have installed the above version of Magento 2 (no sample data) onto my 1an1 hosting site. No errors on installation however, the stylesheets are not loading. I've tried a few suggestions to fix via ...
2
votes
0
answers
312
views
Allow HTML tags for Bank Transfer Payment Method Instructions
I want to add some instructions with HTML tags to style content for the instructions text.
When I'm adding tag in the textarea but it's displaying tags on the frontend not converting HTML tags to ...
2
votes
0
answers
36
views
Transactional Email Change Logo not working
I'm trying to change the logo of the transaction email. But upon changing of logo it's not displaying the preview of the uploaded image. So now I tried to preview using the inspector and below is what ...
2
votes
0
answers
100
views
Magento 2.3 place the order button below payment methods
I want to move the place order button in my Magento 2.3 checkout, from inside the payment method itself, to below all payment methods.
So when selecting the payment method, it should be clicked on a ...
2
votes
0
answers
803
views
Shipping methods is not working in Magento 2
The Shipping methods are not working in Magento 2.
I have set all configuration settings. But, Not reflecting any changes on the checkout page or cart page.
2
votes
2
answers
117
views
two div horizontally when one div is disable another should take the whole space 100% width in Magento 2
I have two div's horizontally in one div there is Instagram feed plugin and another is the newsletter, now when Instagram feed plugin is disabled then newsletter should come in the whole space in ...
2
votes
1
answer
991
views
Move top menu bar to left side in Magento 2
I want to move the top menu bar to left sidebar I have written this code
<move element="catalog.topnav" destination="header-wrapper" after="block-search"/>
Through this code it is moving in ...
2
votes
0
answers
315
views
Magento 2 : How to load payment methods in shipping step?
I need to show payment methods in shipping step in Magento 2.3 checkout,
I have added done changes to file checkout_index_index.xml, and also I have added html code to shipping.html file.
But I still ...
2
votes
1
answer
125
views
jquery Issue with magento2.3 backend
I am using the quick package of a magento2.3 version. Some of my jquery files like tinymce.js, plugin.js is not here in the directory that is generating issue in Magento admin. Can anyone suggest?
2
votes
1
answer
150
views
Magento2: Why isn't static content generated properly?
I have seen so many answers related to this question but nothing resolved my issue:
I have cleared:
cache
pub/static
generated
var/cache,
var/view_preprocessed
Ran
setup:upgrade
di:compile
cache:...