We changed our privacy policy. Read more.

Questions tagged [data]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 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 ...
0
votes
0answers
12 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"&...
0
votes
1answer
27 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 (...
0
votes
1answer
28 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.
0
votes
0answers
12 views

Require Js query

I found a line like below in require-config.js of a module shim: { 'MagePal_GoogleTagManager/js/datalayer': ['Magento_Customer/js/customer-data'] } What it means please explain.
0
votes
0answers
11 views

how to display menu from the data of the Sutunam module in the weltpixel module in magento 2

comment identifier comment seront renseignés les liens dans weltpixel pour recréer le menu à partir des données du module Sutunam (sutunam_menu pour les entrées de menu (avec sutunam_menu_store pour ...
0
votes
0answers
21 views

Change data-vocabulary to schema.org

Recently I received the mail from google saying Breadcrumbs issues detected. Warning: data-vocabulary.org schema deprecated. My question is: Can you help me with transforming the old data-vocabulary ...
1
vote
1answer
36 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() ...
0
votes
0answers
13 views

Magento 2: Load product data-block (via webservice) on product page

We use Magento 2.3. We should be able to load a data block (containing a message related to the speed of delivery) on the product page. The message should be loaded real time as it depends on the ...
0
votes
1answer
13 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($...
1
vote
0answers
31 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 ...
0
votes
1answer
47 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 ...
0
votes
1answer
266 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 ...
0
votes
0answers
15 views

Add boolean value of false/0 where order exists in sales_order but not custom table

The code below I am adding my custom column to the sales_order_grid table. The problem is it only adds the values where order_id in my custom table exists. How can I add the value of false or 0 to ...
0
votes
0answers
10 views

Massively adding sample data

is there any way I can install a demo sample data with actual real products (not the Performance Toolkit) ?
0
votes
0answers
46 views

The stock item was unable to be saved on freshly installed Magento v2.4.0

I installed the sample data ok - but when I try to add a new product, or even save changes to an existing product this happens: In the exception.log I get: [2020-09-28 10:00:44] main.CRITICAL: The ...
0
votes
1answer
541 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 ...
0
votes
3answers
137 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;...
0
votes
0answers
64 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 ...
0
votes
1answer
304 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 ...
0
votes
2answers
19 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 ...
-1
votes
1answer
163 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 ?
0
votes
2answers
107 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 ...
1
vote
2answers
45 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 ...
0
votes
1answer
196 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::...
1
vote
0answers
106 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...
0
votes
1answer
238 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
1
vote
0answers
96 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 ...
1
vote
1answer
1k 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->...
1
vote
0answers
110 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 ...
1
vote
0answers
25 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, ...
0
votes
1answer
52 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 ...
1
vote
0answers
406 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 ...
2
votes
2answers
392 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 ...
2
votes
3answers
2k 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 = ...
2
votes
1answer
684 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. ...
0
votes
2answers
891 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\...
2
votes
2answers
708 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 ...
1
vote
0answers
33 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 ...
1
vote
0answers
739 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\...
0
votes
1answer
201 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.
4
votes
3answers
1k 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 ...
0
votes
1answer
42 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
3
votes
1answer
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/...
1
vote
2answers
1k 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
0
votes
1answer
279 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 using 2G networks and as a ...
2
votes
2answers
900 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/...
3
votes
1answer
3k 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.
0
votes
1answer
380 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"> ...
0
votes
1answer
641 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 ...