Questions tagged [data]

The tag has no usage guidance.

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

How to import data into magento 2.3 using scripts

I want to import data into my magento 2.3 from JSON.. Data means everything i.e products, customer, category, order etc. I want to do this by writing script. Is there any document or any post which ...
1
vote
2answers
23 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
0answers
17 views

What is the purpose of schema patches? How do you manipulate data using data patches?

can any one explain it what is use of schema patches and what purpose we will use it? also explain manipulate data Any help would be appreciated. Thanks.
0
votes
1answer
76 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
74 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
33 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
0
votes
0answers
27 views

Filter Options value when creation configurable product magento 2

I have a custom attribute that i will create my product configurable according to it and every product has his specific values so i want to filter the options when creation product to just show me the ...
0
votes
0answers
41 views

Will Magento generated MicroData interfere with JSON-ld structured data in Magento 1.9?

I see that Magento 1.9 generates MicroData for it products. Before I realized this I started using JSON-LD to build out some of those same objects. My questions are one; Will Google penalize me ...
1
vote
0answers
35 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
78 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
55 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
20 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
35 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
80 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
127 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 ...
1
vote
2answers
96 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
299 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
411 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
233 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
18 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
334 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
122 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
528 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 ...
0
votes
1answer
40 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
1k 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
613 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
48 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
0answers
299 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
2k 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
194 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
348 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 ...
1
vote
1answer
256 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
7
votes
3answers
3k 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: ...
0
votes
1answer
704 views

How to get full list of product with Simple Product SKU Number and Category Name from MySql with Query in Magento?

I want to pull data from Mysql with query in magento, I need data in three columns SKU Number, Category name and product Name etc.
1
vote
3answers
3k views

Integrity constraint violation: 1062 Duplicate entry '0' for key 'PRIMARY'

I'm trying to migrate from Magento 1 to 2 and when I get to this part: [2017-10-06 14:04:36][INFO][mode: data][stage: data migration][step: Map Step]: started 33% [=========>------------------] ...
1
vote
0answers
290 views

How to override protected function in Magento 2

I'm trying to override one protected function in Magento 2 but I am not able to achieve it. I have edited following files: <preference for="Magento\Checkout\CustomerData\DefaultItem" type="XYZ\...
2
votes
2answers
3k views

Magento 2 how to unserialize backend config

I've created Magento 2 module that saves a particular configuration. Screenshot: Now I want to use this value in a frontend block. If I check the core_config table, the value is saved like this: a:1:...
0
votes
0answers
133 views

ubuntu : restore folders in var directory

I accidentally deleted all folders in var directory using rm -rf var/* through terminal, Is any way to restore that folders.Please help me.
1
vote
0answers
144 views

how to pass data from one action to another, with a form in between?

I found here a way to do a direct passing of data (magento 1) but what if the first controller serves a BO form and then the other controller gets the data, kinda like edit and save of customer ...
1
vote
1answer
605 views

Pass data from observer to block

Is it possible to retrieve data from the observer and then display it on the page through custom block? I'm displaying some products in the home page of Magento through my custom block. I've created ...
0
votes
1answer
920 views

Magento 2 : Add Custom Data From Product Page to Cart

I have form on my product page where users can enter what they want their height to be. How can I send this data through to cart? I have created a row in quote_item table to save data in already.
1
vote
2answers
2k views

Magento 2 : Retreiving Data From Database, Use it in Knockout UI Component in Checkout

I have been developing a module for Magento2 Checkout that fills some information, not important what, this data resides in Magento's db, and I am able to access it via Magento database access layer. ...
0
votes
1answer
103 views

How to remove Quote Marks From Product Name

I'm need to remove the quote marks from the product name because it is messing up the Data Layer. $product['name'] = $item->getName(); How can I do it in the above code? Thanks
1
vote
1answer
456 views

Save Uploaded images to current order table

I am Creating an image attachment for each order in admin panel. I have used the image up loader and saved that images to a custom directory as follows: public function uploadAction() { if (...
1
vote
0answers
28 views

Step selection for migration from magento1 to magento2

How to perform magento 1 to magento 2 migration step by step. Like first I want to migrate eav attributes only, Then products and so on.. But one at a time. So, How should I configure the etc/ce-to-...
0
votes
1answer
205 views

Get data of the previous session issue - Magento1.9

I passed some data in session in success.phtml to get it in order_new.phtml email template, all goes well except the value that i get is that of the previous session !. I think the email it sends ...
0
votes
1answer
313 views

problem for import with pimgento

I have this error when i try to import my categorie.csv in magento with the module pimgento (in the menu import pim data) General error: 1290 The MySQL server is running with the --secure-file-...
0
votes
1answer
1k views

Getting the custom product attribute in the Checkout summary Magento 2

I have a custom product attribute which we are using in place of name for some reason. I need to change this through out the site. I got success in getting this in minicart , product and cart page. ...
1
vote
0answers
17 views

data grid table title error magento 2.1x

there is error on admin title grid products =>catalog customer =>all customer content =>pages and more on the top of the list Is any one have some idea to fix this issue..
1
vote
0answers
34 views

Product Suggestions Based On Custom Customer Attributes

Within our Magento shop customers don't really know what they need to buy. Therefore we want to give customers suggestions and advice what kind of product they could buy in our shop based on some ...