All Questions

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

Syntax error when compiling / Upgrade from 2.4 to 2.4.3

I am getting this error when compiling my updated MCE 2.4.3 install. I have php 7.4.27 in magento and outside in the shell. I have read that this might be connected to wrong version of php but i ...
0
votes
0answers
15 views

Magento 2: Updating Module Specific CSS

I have added a module specific css file from within a module. I have a layout file at app/code/Vendor/Module/view/adminhtml/layout/catalog_product_edit.xml with the following contents: <?xml ...
0
votes
0answers
14 views

Installing Magento 2.4.1-p1 on a developer's local getting an error after running static-content:deploy -f

I'm installing Magento 2.4.1-p1 on a developers local using docker to create the environment. I have installed Magento and imported the DB and run: #This run just fine composer update -vvv #This run ...
0
votes
1answer
14 views

Unable to process binding afterRender error return on Checkout Page in Magento 2.4

In Magento 2.4, Checkout page I faced error. TypeError : Unable to process binding "afterRender: function () {return renderReCaptcha() }" How to solve this error?
0
votes
0answers
5 views

Magento2 : Unable to add custom column in Gift Message table

I am trying to add the additionally one fields in the Gift message on Magento2. Added the required text field in the Gift-message-form.html. Its displaying in the frontEnd. Also Created a field in the ...
0
votes
1answer
17 views

Calling Multiple functions from same controller in magenti2

I need to create multiple ajax function in same controller , here is my controller <?php namespace test\module\Controller\Result; use Magento\Framework\App\Action\Context; use Magento\Framework\...
0
votes
1answer
16 views

MySQL query for list all the categories and its description from Magento 2 database?

How to get all the categories and its description from Magento 2 Database using MySQL Query ?
0
votes
0answers
21 views

Rename loaded requireJS file after each change

I have a question about deploying JS files loaded using requirejs-config.js. I have a third-party plugin that needs overrides. So, I built a new plugin and inside the requirejs-config.js file I added ...
0
votes
0answers
8 views

I have to get the value '77203' of the attribute code 'country flag' in magento2 .The code I have written is given below Can anyone help

$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $entityAttribute = $objectManager->get('Magento\Eav\Model\ResourceModel\Entity\Attribute'); $val= $entityAttribute->...
0
votes
0answers
6 views

I have to catch the KO variable's value spontaneously on the checkout page for postcode in order to call ajax request as soon as 6 digits are complete

I want to fire an ajax request as soon as the postcode variable completes 6th digit of postcode number in order to call ajax request to api to populate the city and state fields. I am getting the ...
0
votes
1answer
23 views

Add date picker on customer registration form in magento 2.2

I want to add DOB field on customer registration page with 3 dropdowns as Day, month and year (datepicker) Can anyone help me in that? Currently the DOB field is just a text box.
0
votes
0answers
18 views

CROS error on magento2 while using external API

I am trying to access an api using jquery in magento2 Here is my jquery code <script> require(['jquery'],function(){ jQuery(document).ready(function() { jQuery(".result")....
0
votes
3answers
15 views

How To Get The Tax Rate From A Product

I am looking to get the tax rate value from a product (not quote item) in a plugin, which fires on the beforeAddProduct() method. Currently I have the following in my plugin code: $taxClassId = $...
0
votes
0answers
4 views

Magento Category Feed cannot reindex

I was installing live-search on magento 2.4.2-p2, but I had an issue where reindex failed. The reason I cannot reindex is because the following error message: Category Feed index process unknown error:...
0
votes
1answer
18 views

How to upload Metapackage Extensions in Magento Marketplace?

How to Upload Metapackage extension in Magento Marketplace? I have two dependent extensions. Can I upload the dependent extension as individual extension? How to create shared package while uploading ...
0
votes
1answer
12 views

Override native js file

Simple issue : What should I do in order to override a native js file. In that specific case : src/vendor/magento/module-inventory-configurable-product-frontend-ui/view/frontend/web/js/configurable-...
0
votes
1answer
16 views

How to get the Order Id, Name and Email variables for a Shopper Approved survey?

Magento 2.4.2-p1 Smartwave Porto theme extensions from Amasty subscribed to a Review service from Shopper Approved We have been subscribed to the service from Shopper Approved for a long time. This ...
0
votes
0answers
7 views

How to get a Report with shipping/delivery zip code and sales amount not including freight/shipping?

Magento 2.4.2-p1 Smartwave Porto theme extensions from Amasty Because of complicated new sales tax rules in Colorado, we need a Sales Report which would show all orders (ideally with subtotals but ...
0
votes
0answers
8 views

How the sitemap dynamically generates the schedule?

I can't find the schedule for the cron job sitemap_generate. I find this path 'crontab/default/jobs/sitemap_generate/schedule/cron_expr' in the core_config_data table but I don't know where this path ...
0
votes
0answers
6 views

Dimensional shipping UPS Magento 2

I'm using UPS shipping in our Magento website. Currently, I'm able to retrieve shipping charges and no:of boxes required to ship the product using the weight of the products in the order. However, I ...
0
votes
1answer
13 views

Custom page builder content type preview.js error

I have a custom content type that I want to add an image uploader to. I was able to get the images to upload and display on the frontend. However, when I tried to add code to get the uploader to ...
0
votes
0answers
27 views

How can I pass custom form data and load result page using Ajax?

New to Magento. My goal with this is to have customer pick price range and sort order from a custom form I created, then when form is submitted have Ajax pass the form data AND load the new page with ...
0
votes
0answers
11 views

Something went wrong while saving the category - magento2.4.3-p1

I can't change the category name or category attribute value. It says "Something went wrong while saving the category". And sometimes it works. This is really confused to me. The version of ...
0
votes
0answers
12 views

Call to undefined method Closure::setPageSize()

On admin Grid load I am facing following exception: Exception in: Call to undefined method Closure::setPageSize() /var/www/topline.local/public_html/vendor/magento/framework/View/Element/UiComponent/...
0
votes
0answers
6 views

magento 2 : get simple product attribute on checkout cart

i am trying to get simple product attribute on checkout/cart Below is my code on Magento_Checkout/templates/cart/item/default.phtml $_item = $block->getItem(); $product = $_item->...
0
votes
1answer
16 views

Homepage routing problem with $this->pathConfig->getDefaultPath()

I'm currently running a Multistore Magento 2 site, I have 4 websites configured, 2 of which have multiple URL's to access the site. As a case example I have: domain-a.com www.domain-a.com domain-a.co....
0
votes
0answers
8 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
1answer
23 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
0answers
11 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 ...
0
votes
2answers
24 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 ...
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....
1
vote
1answer
18 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
0answers
8 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/...
0
votes
0answers
14 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
6 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 ...
0
votes
0answers
9 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
1answer
34 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
14 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
0answers
5 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
1answer
14 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 ...
2
votes
3answers
26 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
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. ...
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
1answer
15 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.
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
12 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/...
0
votes
0answers
6 views

Issue: "add to cart" button inactive (grey) on all listing pages Magento 2.4.3

We have an issue with "add to cart" button does not work (inactive/grey) on all listing pages. The add to cart button works fine on product pages. What can be the reason for this? We are ...
0
votes
2answers
23 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
0
votes
0answers
5 views

Does Magento keep short URL live when Use Categories Path for Product URLs is YES?

We have set our store to be Use Categories Path for Product URLs: Yes - in m2.4 And so the product pages, are www.mydomain.com/category/sub-category/my-product But if I remove category and sub-...
0
votes
1answer
8 views

RabbitMQ doesn't have any queue, how to solve it?

I have RabbitMQ installed and configured, but when I run this command below I receive a message saying No items. python3 /usr/bin/rabbitmqadmin --host rabbitmq -u username -p ...

15 30 50 per page