Questions tagged [data]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
14 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 ...
0
votes
0answers
24 views

magento 2 data import in custom table data import

During Magento import i have created one observer for import some in my custom table also. It is imported my custom table by using foreach ($collections as $collection) { ...
-1
votes
1answer
42 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
0answers
21 views

How to save data in database of Custom Checkout Step

I am here facing a very crucial problem here,I have created a custom checkout step and also a form in custom step. I have added this form and step with the help of this blog http://techjeffyu.com/...
0
votes
2answers
32 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 ...
0
votes
0answers
5 views

Query to send a data within time frame

I have created a cron job for my module and set the cron to run in every minute. So whenever the cron is run, I'm sending the data collection to another server using ftp. Now, whenever the cron is ...
0
votes
0answers
28 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
1answer
96 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
82 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
57 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
29 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
55 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
42 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
218 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
63 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
21 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
39 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
141 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
190 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
407 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
394 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
527 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
330 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
21 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
453 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
155 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
714 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
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
770 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
83 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
1answer
456 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
240 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
463 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
402 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
769 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
291 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
4k 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
146 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
154 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
663 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
1k 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
110 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
476 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-...