All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Magento 2 filter products collection by category and other attributes using filterBuilder

I'm trying to use a product repository to fetch a list of products. I want to fetch based on multiple filters (category_id, name, description and short description), combined with an OR criteria, but ...
0
votes
3answers
1k views

2.3.4: Update "Custom Layout Update" in Category doesn't work

I added the file :- app/design/frontend/VENDOR/THEME/Magento_Catalog/layout/catalog_category_view_selectable_[ID]_name.xml Edited the category in the backend to use the Specific Layout (Catalog->...
0
votes
1answer
3k views

Change order confirmation email text

On the generic order confirmation emails that are sent out after a customer places and order, how do I go in and changed the email address for customers with questions to contact us? Right now it's ...
0
votes
1answer
8 views

How to use Library installed using composer in your custom module?

I have installed the Authorize.net library in Magento using composer. Now, this library is available in the vendor directory but I don't have any idea how to use it in my custom module. The directory ...
0
votes
1answer
14 views

Where is this CSS located?

I'm trying to change the minimum height in the following CSS: But I cannot locate the CSS. When I check link under ".(index)1651" it points to https://domain.com/checkout/cart/:1651 I tried ...
0
votes
1answer
13 views

Magento2 text not getting translated when added in ar_SA.csv

vendor/magento/module-sales/Model/Reorder/Reorder.php Could not add the product with SKU "%1" to the shopping cart: %2 The above mentioned text si not getting translated when adding data ...
1
vote
2answers
17 views

Admin panel not loading properly, after magento 2 upgraded

I have recently upgraded Magento from 2.3 version to 2.4 version and it has been the upgraded, after upgrade the admin panel is breaking. Not loading properly. Can anyone please help me with solution.
0
votes
1answer
34 views

Magento 2 Target Rule constantly invalidating in EE

I am using Magento EE - 2.3.1 version with Varnish and my debug.log file is full with the below log report.DEBUG: cache_invalidate: {"method":"GET","url":"<...
4
votes
1answer
1k views

Magento downloader upgrade conflict 1.9.2.0 > 1.9.2.2

I'm trying to update Magento from version 1.9.2.0 to 1.9.2.2. Unfortunately, there is a conflict error during installation/updating. For example when I try to upgrade a package I get the following ...
1
vote
1answer
11 views

Magento 2.3: How to add new product attribute options programmatically on Controller save?

Is there a way to add new options, programmatically, for a product attribute with attribute code 'brand' that is already created from admin? I want to add new options on Controller Save action. The ...
0
votes
2answers
20 views

How does submit shipment updates the order status in magento 2 admin panel?

I am looking for a Controller from where does the Order status gets updated in sales_order when we click on Shipment in magento 2 admin panel I want to hook some event on Submit Shipment button in ...
0
votes
0answers
7 views

How to change (via CSS) the position of "Old Price" above the Regular Price?

Thanks in advance to anyone who can answer! 1) How to change (via CSS) the position of "Old Price" above the Regular Price. (As in the image below). 2) How to add this text "ou XXX de ...
7
votes
1answer
2k views

"Interface Locale" admin language problem

In my admin page, the "Interface Locale" dropdown is not working. I already switched the default language to German, but is still shows English. The same with Chinese. How can I solve this problem?
0
votes
1answer
8 views

How can I get the value '77203' using the attribute code 'country_flag' using php

getAttribute('country_flag'); ?> getData('value'); ?> getViewFileUrl('images/flags/usa.jpeg'); ?>" /> getViewFileUrl('images/flags/vu.png'); ?>" /> getViewFileUrl('images/flags/AU....
0
votes
0answers
6 views

Do Files uploaded through a Product-File-Option ever get deleted automatically?

Magento features the possibility to allow customers to upload files when ordering certain products using an option on product-configuration. The uploaded pictures are stored under magento-root/pub/...
1
vote
1answer
4k views

Changing Custom theme color in Magento 2

MY custom theme extends Magento Blank theme.Following this link, http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/css-topics/css-practice.html I added _theme.less in my css/source folder &...
2
votes
1answer
25 views

How to remove klarna/module-ordermanagement?

I want to remove klarna default modules from Magento 2 store, composer remove klarna/module-ordermanagement composer remove klarna/module-onsitemessaging composer remove klarna/module-kp-graph-ql ...
0
votes
1answer
21 views

Homepage Routing when using multiple domains per Website

I currently run a Magento 2.3.3 multisite installation with the following example of index.php switch($_SERVER['HTTP_HOST']) { case 'DOMAIN-A.co.uk': case 'www.DOMAIN-A.co.uk': case 'DOMAIN-A....
0
votes
0answers
8 views

magento 2 custom admin grid filters not working for custom attributes

magento 2 custom admin grid filters not working for custom attributes. I loaded the table into a grid. based on id I get the customer email into the grid, but customer email is not filtering in my ...
0
votes
0answers
4 views

How to get the values of additional_options values to updatecart.phtml file for edit in magento 2

I have a form on the product details page that collects some values to print the initials on the cufflinks of the shirts. Saved as additional_options and retrieved in orders in backend. Flow is ...
2
votes
1answer
4k views

How do i remove unused css from magento 2 homepage?

I am not getting good performance when i audit my website with chroome lighthouse. I am getting few errors like - Remove unused CSS - Ensure Text Remain Visible during web front load - Minimize main ...
0
votes
0answers
6 views

Vendor autoload is not found

When I run the Magento 2 command php bin/magento setup:upgrade I get the error below... "Autoload error: Vendor autoload is not found. Please run 'composer install' under application root ...
2
votes
2answers
1k views

Magento 2 How can I remove tabs in order view?

It is able to remove the block by using But how can I remove the tab which is added by using argument? Thanks. <block class="Magento\Sales\Block\Adminhtml\Order\View\Tab\Creditmemos" name="...
3
votes
4answers
7k views

How To Add Additional Options In Magento 2 Cart

I used this to Add Additional Options In Magento 2 Cart https://livesubwpcache.cloudways.com/blog/add-additional-options-in-magento-2/ But this is working only with Simple product. For ...
2
votes
2answers
2k views

Performance issue - slow query in Magento 2

When I check SHOW PROCESSLIST; in mysql I got below query. It heavily uses CPU (more than 100%). We have a separate server for mysql(64GB RAM). INSERT INTO `search_tmp_598075de5c7e67_73335919` SELECT ...
0
votes
1answer
19 views

Magento2 Getting following error when trying to create shipment from admin for config product

Undefined index: simple_sku in /vendor/magento/module-inventory-configurable-product/Plugin/Sales/GetSkuFromOrderItem.php on line 38 Following is the error I am getting when trying to create shipment ...
0
votes
1answer
9 views

Magento scanner error can't reach base URL

A couple of days ago I started to get this error.. Security Tool was unable to reach the base URL. Any ideas? No changes have been made Thanks
5
votes
2answers
2k views

Magento2: How to add separate css file on each cms page?

Is it possible to add individual CSS file on each cms page? Upon researching, I can do it by adding code on Layout update XML. Unfortunately, it isn't working. Here's my code: <head> <...
0
votes
0answers
4 views

Magento 2.4.2: Difference between <g:google_product_category> and <g:product_type>?

I found the following two tags in the template being used to send product data to Google Merchant Center with Wyomind data feed manager. I am not sure what the difference between these tags are. ...
0
votes
0answers
11 views

Magento 2.4.2: Data feed manager runs at a different time than at the one it is set to

We're using Wyomind data feed manager to pass product data to Google Merchant Center. The image below shows the settings for the data feed to be generated. But the image below shows the actual time ...
0
votes
0answers
7 views

Magento 2.4.2: Duplicating data feed doesn't work

Wyomind datafeed manager is the module being used on our store to pass product data feed to Google Merchant Center. Duplicating the existing data feed doesn't seem to result in its copy being created. ...
2
votes
4answers
3k views

Magento 2: Collection getSelect does not load the results

I have this method public function getCarBrands() { return $this->_objectManager->create('Scandimedia\Wheels\Model\CarModels')->getCollection()->getSelect()->group('brand'); } ...
0
votes
1answer
31 views

How can I show Magento data in Power BI?

I want to integrate Power BI with Magento to show case all Magento data in Power BI reports. How I can connect directly with using any 3rd party add-ins or extensions.
0
votes
1answer
2k views

How to preselect first image swatch on Product detail page Magento 2

I want to preselect first available option for my configurable product on Magento 2(2.2.4) website. Note: I am not a developer so when you answer plz reply with file path as well, I know i am asking ...
1
vote
0answers
762 views

Magento 500 Internal Server - No Log Files? [closed]

I have just upgraded my site from Magento 1.7 to 1.9 and i'm now getting a 500 Internal Server Error. From other posts, I have done the following: Deleted the maintenance.flag file Changed permission ...
-1
votes
0answers
17 views

How Change popup Value Dynamically then delay method call?

require(['jquery', 'Magento_Ui/js/modal/modal'], function ($, modal) { var options = { type: 'popup', responsive: true, buttons: [], opened: ...
0
votes
1answer
30 views

Uncaught ReferenceError: require is not defined

I used Mageplaza's Blog extension. There's no problem locally, but when editing blog content online, it says "require is not defined" Show /hide Editor button Click invalid
0
votes
1answer
8k views

List of products and category with mysql

I want to ask, how to get a list of all products SKU and there categories For example +---------+----------------+----------+-------+------+ | SKU | category | image | price | msrp | +---...
0
votes
1answer
1k views

Magento 2 can't update customer custom attribute value at customer observer(customer_save_after)

I am trying to save customer custom attribute value at customer_save_after observer. but observer script is not working at observer but that script working at contoller. events.xml <event name="...
1
vote
1answer
2k views

Magento, programmatical checkout not including shipping rates

I'm trying to write this script to checkout using the cart. The problem is that the shipping rates aren't being factored into the totals and when the order goes through the order details say there is ...
0
votes
0answers
7 views

Magento 2 displayArea component not working

Hope someone can help me I have a custom checkout_index_index.xml layout so I can show my own components on checkout, I'm trying to get 2 different components like this: <page xmlns:xsi="http:/...
1
vote
2answers
2k views

magento 2 doesn't copying product picture in tmp folder

I creating a product pro grammatically in magento2. The issue is that i can't set addImageToMediaGallery. I always receive error: The file "/home/xxx/pub/media/tmp/catalog/product/t/e/test.jpg" ...
0
votes
1answer
10 views

How to setup NPM package execution on Magento Cloud?

I need to run a command to compile my theme styles and commit them every time I need to push something new, these are the commands below. npm i gulp style gulp js When I try to run it via the Magento ...
0
votes
1answer
8 views

How to clean up RabbitMQ queue?

I don't know if there are jobs waiting to be executed in the RabbitMQ queue, how could I check it and clean up? Opening the var/ folder I see many export files, not finished.
3
votes
2answers
1k views

Custom Attribute in Layered Navigation

I have a custom attribute called m2_price, which is the Metre Squared price of a piece of carpet. I've enabled it to be filterable with results in the layered navigation and this all works fine. ...
0
votes
0answers
3 views

How to disable deselecting of swatch on detail page?

I am trying to disable deselecting a swatch so user must choose another, because then I am getting 'undefined' image error. I have 2 swatches i.e. color and size. Firstly, if I can disable this ...
0
votes
0answers
8 views

Magento 2 how to access external JS variables and functions in my html template?

I need to access to an external javascript variables and functions so the template does not throws error. I have my template.html template doing this: <!-- ko template: "Vendor_ManualShipping/...
4
votes
1answer
1k views

How to show image in grouped product

For grouped products, I would like to see the picture of the by-products. I tried several things but without success: in files : Magento_GroupedProduct\templates\product\view\type In the loop of ...
7
votes
3answers
4k views

How to deal with discontinued products?

I'm dealing with a large database of roughly 70k products. Products regularly go Out Of Stock and In Stock, however, once and a while some of the products in my store will become Discontinued. ...
4
votes
1answer
2k views

How to get custom attributes from customer via SOAP API?

I have a few custom attributes to extend the customer with bank account information. The attributes are stored in mage_eav_attribute table. How can I get them via the SOAP API?

15 30 50 per page
1
2 3 4 5
2179