Questions tagged [data]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
5 answers
79 views

Magento 2.4.x: How to pass custom variable from controller to phtml file?

Is there a way to pass a variable from controller to a phtml file without using registry? I tried this: Magento 2 pass data from Controller to Block and display in Template but it is not working.
user avatar
1 vote
0 answers
33 views

How do I retrieve data from Conditions

I have a problem. I created a widget where inside <parameters> I have a field with conditions. <parameter name="products" xsi:type="conditions" visible="true" ...
user avatar
  • 27
1 vote
2 answers
138 views

Insert data into custom table in magento 2

I have created a custom table in database of magento 2. I want to insert some data into this custom table. I want to pass this data from controller to the custom table in magento 2.4. Please can any ...
user avatar
0 votes
2 answers
31 views

Latest data doesn't show at front end after addding data in my custom module

Latest data does not show at front-end after submitting form in my custom module. when I clear cache then latest data show at front end. Help me! how to fix that problem. when I disable cache my ...
user avatar
0 votes
2 answers
24 views

Get Customer Data By update At Field

we try to get customer data By (Updated_At Field), rest/V1/customers/search?&searchCriteria[filter_groups][0][filters][0][field]=updated_at&searchCriteria[filter_groups][0][filters][0][value]=...
user avatar
0 votes
1 answer
118 views

How to send array variables in Magento 2 email template?

I have created a custom module to send custom email template. But i want to send array value so need to use the loop i have tried in mail file but it doesn't work. Any one have any idea how to send ...
user avatar
  • 526
0 votes
0 answers
172 views

Magento 2 how to send filter data to Data Provider?

I have a listing ui component and I need to send parameters. this is my listing.xml <dataSource name="insert_listing_example_data_source" component="Magento_Ui/js/grid/provider"&...
user avatar
0 votes
1 answer
32 views

How to run the Data Migration Tool with everything except for customer orders?

Magento 1.9.4 --> Magento 2.4.2p1 I mistakenly thought I could run the normal transfer of the Data Migration Tool and then run the delta command just to update the changes done on the original (...
user avatar
  • 306
0 votes
1 answer
48 views

How to fetch data from another database table in phtml file so that a pop up modal can be filled automatically?

I have created a model form and now want it to be pre-filled with data from the another database table.
user avatar
  • 19
1 vote
1 answer
92 views

Pass data to block file from ajax request

How do I pass data from the controller to my block file? Below is the code which I am using inside the controller. $this->_view->loadLayout(); $this->_view->getLayout() ...
user avatar
0 votes
1 answer
21 views

Fetch data and arrange sequence in given format

This is my array: <?php $sku = ['HH017','HH018','HH005','HH010','20OZHHTUMBLER', '30OZTUMBLER2','HH006','HH-05']; $sequence = ['HH005','HH010','HH006','20OZHHTUMBLER',...]; print_r(sort($...
user avatar
1 vote
0 answers
42 views

Magento:success page order details issue in magento 2?

When i go through cash on delivery process then success page get all order details on success page But when i go through paytm or other payment getway through its show error Is there any solution for ...
user avatar
0 votes
1 answer
70 views

Data/profile export categories name instead of Ids (Magento 1.9)

I have done this script to runs data/profile using ssh terminal to export csv data of all products inside of magento 1.9. I need to have the category name (structure tree) instead of category Ids but ...
user avatar
0 votes
1 answer
601 views

How To Pass data from Helper Data to Knockout JS file Magento 2

How i can pass helper data to Knockout JS to show it on my html file. Actually i am working on minicart and i want to show the product Qty as Dropdown and get value from Helperdata. Any help would be ...
user avatar
0 votes
1 answer
805 views

How to insert/update data in custom table using Magento 2 using Ajax but 404 error occur on ajax hit?

I have created a custom module for admin area in which i have show some data in phtml file. I have created a custom table in database using installschema.php. Now i want to save that data in database ...
user avatar
  • 526
0 votes
3 answers
303 views

How to get data from core_config_data table in Magento 2?

I have created a cron and in that i want to get some values from core_config_data table in my Cron File. My Cron file is : <?php namespace Mageplaza\HelloWorld\Cron; use Psr\Log\LoggerInterface;...
user avatar
  • 526
0 votes
0 answers
90 views

Magento2 - Get the newly added custom form post data from checkout form

I have a custom form in my checkout page in the area shippingAddress at before-form. I am using the event checkout_onepage_controller_success_action, but $this->_request->getPost(); does not ...
user avatar
0 votes
1 answer
447 views

Sync Magento 2 Customer & Orders data to external mysql database

I want to take data from Magento 2 DB to another custom MySQL database. What are the possible solutions? Should I use Magento provided APIs? The issue I see in this approach is when and at what time ...
user avatar
0 votes
2 answers
20 views

Can't read new product attribute in template

I added a new attribute to a product. The attribute is named "is_brand_new". The product shows in the catalog product view in the upselling and related slider. But the new attribute is not in the ...
user avatar
  • 2,441
-1 votes
1 answer
195 views

Data Migration from M1 to M2

i want to migrate only Customer data not site and stores data from M1 i am using Ubertheme migration tool ?
user avatar
0 votes
2 answers
138 views

Downloading sample data from magento in AWS ec2 instance

Iam new to AWS and Magento as well and iam trying to download Sample Magento data in my EC2 instance . I have installed magento in EC2 . When I tried using bin/magento sampledata:deploy in my EC2 , i ...
user avatar
  • 1
1 vote
2 answers
58 views

2.3.3: Moving to an updated version of a website

I need to move from my old version of my site to my new one. I have imported all the orders although I did this manually as the products structures completely changed. I would like to know a reliable ...
user avatar
  • 98
0 votes
1 answer
260 views

How to get customer session data outside Magento

I want to know if it is possible to get customer session data outside of magento2 <?php error_reporting(E_ALL | E_STRICT); $mageFilename = 'app/Mage.php'; require_once $mageFilename; $app = Mage::...
user avatar
  • 7
1 vote
0 answers
118 views

How to get all product data from oracle netsuite through php api

I have been created the connection between PHP and Netsuite but now I want to load all product data from NetSuite to my PHP API so how can I do this? is there any solution for that...
user avatar
0 votes
1 answer
425 views

Where does magento save UI Grid filter data?

Where does magento save UI component Grid applied filter data? Deleted session table but applied filter data does not save there
user avatar
1 vote
0 answers
154 views

Magento 2 Model getData for field at specific store_id

In my Model I have a method getSummary() E.G: public function getSummary() { return $this->getData(BlogInterface::SUMMARY); } I have 3 stores: en_1,fr_2,de_3 I've only set summary in ...
user avatar
1 vote
1 answer
2k views

Pass parameter to controller from template Magento 2

I am creating product programmatically on controller action. I want to send price value from template file. This is my controller: public function execute() { if (!$this->session->...
user avatar
  • 1,521
1 vote
0 answers
161 views

Pass data from Helper Data to Knockout JS file Magento 2

How i can pass helper data to Knockout JS to show it on my html file. Actually i am working on Checkout page and i want to show the name of product owner on checkout summary. Any help would be ...
user avatar
  • 964
1 vote
0 answers
27 views

Product/Store Data Deployment Best Practices

I'm currently working on a store with Pipeline deployment and in the docs for the Production system it states that: You should make minimal configuration changes here and no changes to websites, ...
user avatar
  • 11
0 votes
1 answer
55 views

Orders page is not showing up data

There is a Magento project that was working perfectly fine before this morning and it suddenly started giving an error on "Orders" page in Magento admin. Problem is: it shows loading forever and no ...
user avatar
1 vote
0 answers
517 views

Magento 1.9.2 - getRequest()->getParams returning with empty array

I'm working on a legacy Magento site which has a custom contact form modelled on https://inchoo.net/magento/magento-email/magento-custom-email-contact-form-with-notification-system/. At some point in ...
user avatar
2 votes
2 answers
495 views

Magento 2: Data faker solution

I want to generate some fake data for testing on demand. Either console script or button within admin. Ideally have the option of generating x number of customers/customer addresses, orders (either ...
user avatar
  • 37
2 votes
3 answers
3k views

Magento 2.3 - what is the recommended way of looping through a large product collection

When working with large product collections (50,000 products +) in Magento 1 I ended up using something similar to the following. public function getProductCollection() { $productsCollection = ...
user avatar
2 votes
1 answer
841 views

Magento 2: Assign existing image to product with position

I'm looking to attach size charts to products in my store using the Magneto data import. I want to use the same image for each of them, and it's already on the server. So I've got a twofold issue. ...
user avatar
  • 31
0 votes
3 answers
1k views

Magento 2 : Not sure what the problem is but my frontend isn't working

While migrating my database to a new magento installation, I found this error on my frontend. The backend is working normally. `1 exception(s): Exception #0 (Exception): Item (Magento\Catalog\Model\...
user avatar
2 votes
2 answers
1k views

How to get column value by another column value?

I have table called my_table. In my_table I have got 4 columns: ID which is primary and auto increment, name, some_text, serial_number(int). I want to get only those some_text fields which match ...
user avatar
  • 601
1 vote
0 answers
46 views

Data Collection and Preparation: 15,000+ products for Magento 2

We're at the early stages of a reasonably large Magento project that will have a catalog of over 15,000 products. The big problem is that the customer doesn't have any information on the products ...
user avatar
  • 814
1 vote
0 answers
856 views

Magento 2 : Upgrade Data Version of custom module using setup:db-data:upgrade

I created a custom module which has below UpgradeData.php. <?php namespace Akhil\Database\Setup; use Magento\Framework\Setup\UpgradeDataInterface; use Magento\Framework\Setup\...
user avatar
  • 1,946
0 votes
1 answer
213 views

How to exclude customer import in data migration tool

Can anyone help me on how to setup the data migration tool do not transfer the customer? Thanks.
user avatar
4 votes
3 answers
2k views

How to get config data from model in magento 2?

I have code file in model.How to get config data ? I have error with AbstractMethod and getConfigData() in PHP storm .ERROR Class AbstractMethod is deprecated Method getConfigData is deprecated ...
user avatar
0 votes
1 answer
43 views

Programatically load orders of data changed in magento1.9

Can anyone help me how to load the data edited orders in magento1.9. Please help me if any one have idea about this. Thanks
user avatar
5 votes
1 answer
2k views

Magento 2 : From where and how does knockout retrieve data on checkout

I know the following: That checkout is done with knockoutjs. Somehow data from PHP is passed to knockoutjs Where is this passing made ? If we look at project-root/vendor/magento/module-checkout/...
user avatar
1 vote
2 answers
2k views

Magento2 How to Get Newsletter Subscribed Collection into phtml file

I used Magento 2.2.4 Version. Magento2 How to Get Newsletter Subscribed Collection into phtml file
user avatar
0 votes
1 answer
358 views

Disable data bind in Magento 2

I am trying to get rid of JS from my store to make it work at best without JS at all because it takes a lot of time to process all JS logic and in my country, we still use 2G networks and as a result, ...
user avatar
2 votes
2 answers
1k views

Data-migration-tool Invalid map filename

I am working with data migrate of customer data only from Magento Version 1.12.0.2 EE to Magento Version 2.2.3 EE using data migration tool. (https://devdocs.magento.com/guides/v2.0/migration/...
user avatar
4 votes
1 answer
4k views

Magento 2.2.2 Advanced Reporting Not working

I went through this process https://docs.magento.com/m2/ce/user_guide/reports/advanced-reporting.html but yet I still get 404. Anyone have any idea what else could be? Thank you.
user avatar
0 votes
1 answer
442 views

Setting custom data for block in layout

I'm trying to set some custom data for my block in local.xml: <cms_index_index> <reference name="after_body_start"> <block type="core/template" template="custom.phtml"> ...
user avatar
0 votes
1 answer
813 views

Magento 2 - Save data to multiple tables not working

I have created a custom module having two tables named helloworld_post and helloworld_tag and from front-end side I want to save fields values to these 2 tables. However I have created two respective ...
user avatar
1 vote
1 answer
764 views

magento2 data migration error Exception #0 (BadMethodCallException): Missing required argument $options

after migrating customer data when i click on view customer view data it was shown above error, please help me to resolve
user avatar
7 votes
3 answers
4k views

How to send data from html template to controller magento 2

My controller is calling but how to send data and retrieve data? My template: <!-- ko --> <tr class="totals fee excl"> <th class="mark" colspan="1" scope="row" data-bind="text: ...
user avatar