All Questions

Filter by
Sorted by
Tagged with
-1
votes
0answers
4 views

Transfer data between Magento 2 site

I want to transfer (order with invoice and shipment, products, categories, and customer ), from the site has Magento 2.2.5 to new Magento 2.2.5 Edtion. I found a data migration tool but doesn't work ...
0
votes
0answers
3 views

How to Add Product Specification Section Under Product Info in Magento 2?

How to Add Product Specification Section Under Product Info in Magento 2
0
votes
0answers
4 views

Magento 2.2.8 Add products to Collection

I'm trying to have specific products show up even if the stock status is 0. I'm adding products with my special attribute to the collection on /gear/bags.html. The query gets created correctly and the ...
0
votes
0answers
4 views

Category Image with Category Id in Magento 2 Api

I want to show category id with category image in magento 2 rest api http://domainname/rest/all/V1/categories?rootCategory=2 this is my api response and here not show category image { "id": ...
0
votes
0answers
4 views

Magento 2 admin panel gives 404-not found

I have a Magento 2 installation on my server and it was working fine till yesterday but I can't access admin panel now. The url return 404-not found status. The store is working almost fine but only ...
0
votes
0answers
4 views

How can i get SKU in API response: M2

GET /rest/V1/guest-carts/".$quote_id."/totals RESULT: [items] => Array ( [0] => Array ( [item_id] => 2275060 ...
0
votes
0answers
6 views

How to change onClick to onmouseover in product detail page in magento2.3?

Inside of clicking each thumbnails to view main page. I want the main image to be selected and displayed onmouse over.
0
votes
0answers
2 views

main.WARNING: Memory size allocated for the temporary table is more > than 20% of innodb_buffer_pool_size. Strange values

I'm receiving the following alert from Magento2: main.WARNING: Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. Please update innodb_buffer_pool_size or ...
0
votes
0answers
8 views

how to create customer in installData?

$websiteId = $this->storeManager->getWebsite()->getWebsiteId(); // Instantiate object ( this is the most important part ) $customer = $this->customerFactory->create(); $...
0
votes
0answers
5 views

Magento 2 - Filter through non anchor categories throws “The bucket doesn't exist.” exception

I am facing this issue on M2.3.5-p2 when filter through non anchored subcategory on the main category(anchored) page. Steps to reproduce From the admin set parent category anchor to Yes. For one of ...
0
votes
0answers
4 views

Magento 2.3: How can I change the language of the tiny editor?

I am currently trying to type with a Spanish keyboard and it does not allow me to type accents. As I show in the image, when I try to write an accent, it adds the character without first writing the ...
0
votes
0answers
8 views

Find reason for 'main.ERROR: Cannot decode binary [] []'

We have a very general error in the system.log file.It is main.ERROR: Cannot decode binary [] [] It happens very frequent. However we do not know the cause or how to debug. If anybody could tell us ...
0
votes
0answers
10 views

Get Current Country Code Magento 1

I am trying to get Current Country Code Magento 1 using below code $currentCountry = GeoIP_Core::getInstance(Mage::getBaseDir('media') . DS . "geoip" . DS . "GeoLiteCity.dat", ...
0
votes
0answers
8 views

How to add custom shipping address by customer-group wise address in magento 2

How can add the custom address in customer group section on admin-side in customer group wise, store address and fronted checkout page wise default selected this address and also shipping to this ...
0
votes
0answers
9 views

MAC OS Magento 2.4.1. PWA Studio 8.0.0 Local Setup Steps and Bugfix

MAC OS Magento 2 setup NVM INSTALLTION curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash vim .zshrc export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh&...
0
votes
1answer
21 views

How to Get block 'head' description in Magento 2?

In magento 1.9 i can get the page head description like this in phtml: $this->getLayout()->getBlock('head')->getDescription() How can i achieve this in Magento 2 ?
0
votes
0answers
18 views

Compiling failed

I am trying to compile Magento 2.3.1 and it says Fatal error: Interface 'Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\SearchResultApplierInterface' not found in /home/customer/www/...
0
votes
0answers
21 views

How to call .phtml file in my CMS page? [duplicate]

In my CMS page, I want to call a few phtml files that are similar to product view page. Basically, I want to create something like this: After enabling template hint, I was able to see the .phtml ...
0
votes
0answers
24 views

How to call phtml file to in CMS page?

I am really new to Magento, I need advise on how to recreate product view page (see picture) and include it in my CMS page. I have created a CMS page that will list multiple products. I want to reuse ...
0
votes
0answers
11 views

Magento Admin Panel Error While Saving any Product at Catalog

We are getting this error while trying to save a product at Catalog > Products "A technical problem with the server created an error. Try again to continue what you were doing. If the problem ...
2
votes
1answer
77 views

Is it okay to use $this->helper(…) in phtml files?

A question on using $this->helper(...) in phtml files: It returns something like this: ObjectManager->get(...) (Singleton) I'm aware it's bad practice to use Object Manager phtml, but ...
0
votes
0answers
7 views

Pricing Per Customer with no plugins

I want to implement pricing per customer. I'm talking about tens of thousands of rules, and I'm considering adding every customer (5000+) to their own group, and uploading prices with a csv. Other ...
0
votes
1answer
12 views

Magenot 2 SQLSTATE[42S02]: Base table or view not found: 1146 Table 'databasename.sales_order' doesn't exist

I'm getting an error when I navigate to the order grid section of the magento 2.3.4 under Sales -> Orders in the admin panel. It appears to be referencing the wrong table because table '...
0
votes
0answers
7 views

Fatal error: Call to a member function setData() on boolean in core/Mage/Adminhtml/Block/Widget/Form/Container.php on line 144

Good evening guys! I am almost giving up on this error that i am getting with a new module. Fatal error: Call to a member function setData() on boolean in /var/www/public_html/app/code/core/Mage/...
0
votes
1answer
9 views

How to copy the customer entity's taxvat value to the customer address entity's vat id

How can I copy the value in customer entity's taxvat field to the same customer's customer address entity's VAT ID field? It has to take into account that customer can have many addresses, and I want ...
1
vote
1answer
15 views

Can't save custom address attribute

I've created a new customer address attribute called 'landline' (required). I've used the code generated by https://mage2gen.com/ which seems 'correct' to me: Attribute is correctly created and ...
0
votes
0answers
4 views

Is there a way to Create Product using Magento 2 Api and assign the product to a source with stock Quantity?

I am trying to create a product using the Api provided by Magento. So for that I would use this endpoint : POST <host>/rest/default/V1/products source : https://devdocs.magento.com/guides/v2.4/...
1
vote
3answers
25 views

How can overwrite an event from JS file in custom theme or module without overwriting the whole file?

How can overwrite an event from sidebar.js in my custom theme or custom module without effecting anything else that is located in the file? What is the best approach? I need to make the following ...
0
votes
1answer
14 views

Products don't show in search results or categories after data reset

I recently needed to clear my test data, so I ran through the steps in this post: Clearing Magento after testing Ever since then any products I add don't show up in categories (I've confirmed they're ...
0
votes
0answers
17 views

Magento 2.4.1 While login using TwoFactorAuth always show message invalid code

I am using the latest 2.4.1 and I have configured google two facture auth for admin login. I am receiving email for login link etc then after I generate code from the mobile app and if I am entering ...
0
votes
2answers
20 views

Cannot load external module through require js

I'm trying to load highcharts in a custom admin form, but it comes out as undefined in my module. My requirejs-config.js var config = { paths: { 'highcharts': 'http://code.highcharts.com/...
0
votes
0answers
15 views

Login/Registration pages error/success messages don't show

i have migrated a magento 1.9 server to a magento 2.3 server. everything went fine and i am really happy with that. my only problem is that the page messages on the login and registration page don't ...
0
votes
0answers
12 views

How to tell where the collection is being changed?

On the category page getLoadedProductCollection is returning the wrong number of products. Specifically, the tool bar says there should be ~180 products, but $_collection->count() is returning 1 ...
0
votes
0answers
25 views

Missing required argument $adapters of Magento\Search\Model\AdapterFactory

This error is showing up on a clean installation of Magento 2. I've tried to re-install a clean Magento 2 version on another domain and it's giving me the same problems. To replicate: Get a domain. ...
0
votes
0answers
16 views

Magento2 Checkout Page Spinner keeps Loading

I am using Magento 2.3.5 .My checkout page keeps loading and i am unable to do the further process. I have run all commands like flushing cache or setup upgrade but nothing is working. In Console i am ...
4
votes
1answer
26 views

how to add custom user agent with android in magento 2?

I want to add new custom theme with my Android in app user agent. For exmaple i want to show new theme in my Android app Is there any solution for this
1
vote
1answer
24 views

Installation failed, reverting ./composer.json to its original content. Authentication always fail even though the credential are correct in magento 2

I am alwaays getting the below error when running composer require like that. I am currently giving the authentication keys but still it displays error. Please help Installation failed, reverting ./...
0
votes
1answer
25 views

How to change products per page from category admin

I want to assign massive products to any category using the category default page. But I am unbaled to show the maximum product on the grid the maximum limit is 200 products, how can I change these ...
0
votes
0answers
10 views

I have added Custom field in checkout but not able to save field in quote_address and sales_order_address

I need to save the value of the custom attribute in the quote address and sales_order_Address, anyone have an idea please suggest me
0
votes
1answer
31 views

Show Notes for this Order Comments on sales order grid

Trying to show order comments on sales order grid. I have the column but can't seem to show the data. I can show data with eg city or phone number but not the order comments. Comments.php namespace ...
0
votes
1answer
22 views

Magento 2 setup:di:compile not work

When i try to start command setup:di:compile i see this error: and this is the file FileClassScanner.php: <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license ...
0
votes
0answers
8 views

Magento 2.3.2 How to display custom attribute (image) in CMS Block

Each one of my products has a custom media image attribute which is an called 'height-image'. I would like to display this image in a CMS Block on the product page. Can anybody explain how to call the ...
0
votes
2answers
24 views

I am trying to get current quote details in an phtml

class Productinfo extends \Magento\Framework\View\Element\Template { protected $checkoutSession; public function __construct( \Magento\Backend\Block\...
0
votes
2answers
19 views

Where does the page Identifier set in Magento 2

We are using Porto theme and I want to echo the store id inside of the body tag as a extra class. So for instance on our category page we get this: < body data-container="body" class=&...
0
votes
0answers
8 views

Get configurable product if child product have special price in collection

I tried to get a product collection and filter it by special price attribute. Here is my code: public function getSpecials() { $currentTime = $this->_dateTime->date()->format('Y-m-...
0
votes
0answers
8 views

Manually/Automatic Test Magento Installed Patch

What are the potential methods/ways to test the installed patches in website, to make sure they are working well & not disturbing any other existing functionality in website ? I am looking for ...
1
vote
0answers
10 views

Stocks sources of other website's showing on applying store switcher in admin

Ours is the multi website store(UAE and Oman), and each website is assigned its own stock source under Stores > Stocks But when I Go to product edit, and switch store to Oman website, user is able ...
0
votes
1answer
17 views

How to get custom admin field value of specific Storeview in magento 2.3.2

I want to add a custom text area for contact info for a particular store view from configuration and get that custom field value and display it on the contact us page in Magento 2.3.2. so can anyone ...
1
vote
1answer
33 views

After migrated from magento 1.9.2.3 to 2.3.4 (CE) can't able to add new product - Getting Fatal error

If i click Add Product i am getting the following error, Fatal error: Uncaught TypeError: Argument 3 passed to Magento\Framework\View\Element\UiComponentFactory::mergeMetadataElement() must be of the ...
1
vote
0answers
6 views

Disable fronend in Magento 2 for a specific module for using only the Admin and the API routes

How to disable the fronend in Magento 2 for a specific module so I can use the Adminpanel and the API routes.

15 30 50 per page
1
2 3 4 5
2088