Questions tagged [data]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
779 views

data scraping for categories and products

I want to scrape a data from one of ecommerce website. Where i want to pull all categories and products details. What will be the best method to do it?
0
votes
1answer
831 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.
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. ...
0
votes
1answer
48 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
55 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
954 views

How to keep Guest customer billing info saved on checkout step if page refreshed or when hit the back

We have the following situation in Magento: Guest customer is about place order. The customer filled his billing and shipping addresses on checkout page. The customer reached one of the following ...
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% [=========>------------------] ...
0
votes
1answer
643 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.
0
votes
1answer
29 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
21 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
25 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
29 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 ...
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.
2
votes
2answers
89 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
1answer
62 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
49 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 ...
0
votes
1answer
28 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
18 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, ...
2
votes
1answer
202 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. ...
1
vote
0answers
46 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 ...
1
vote
2answers
42 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 = ...
0
votes
2answers
334 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
196 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
2answers
967 views

Can't import into Magento 2.1

I've got two test products to import. One is exported from Magento and can be imported without issues. The other one appears to be almost identical but has been manually created. I can't figure out ...
1
vote
0answers
15 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
271 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\...
3
votes
1answer
949 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/...
0
votes
1answer
100 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.
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:...
4
votes
3answers
420 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 ...
7
votes
3answers
2k 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
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
1
vote
2answers
530 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
41 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
234 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/...
0
votes
1answer
168 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"> ...
6
votes
1answer
2k views

Create a custom resource model that fetches data from 3rd-party API (non-db)

I'd like to create a custom model that connects to an API instead of the Magento database. It would also be nice to be able to use (or extend) Magento's collection classes. We created a custom module ...
0
votes
1answer
273 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 ...
6
votes
3answers
39k views

Creating new attribute using addAttribute() in installation scripts

I'm writing an installation script in an extension that adds some new attributes. I'm using the following. I'm following and old tutorial (http://blog.chapagain.com.np/magento-adding-attribute-from-...
2
votes
2answers
2k views

Magento 2 Import - General system exception

I try to import customer data into Magento2 which got exported from a Magento2 store, but something wont work... Since its a 1:1 Magento export, the import should be perfectly fine or am I wrong ...
1
vote
1answer
208 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
0
votes
2answers
2k views

Magento 2 not able to save order data in custom table using observer.php with sales_order_place_after

I am trying to save order details in a custom table with sales_order_place_after observer, but its not working. public function execute(\Magento\Framework\Event\Observer $observer) { ...
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\...
0
votes
0answers
115 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
132 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
2answers
2k views

Magento 2 Data migration for only customers, categories and coupons

I want to migrate data(only customers, categories and coupons) from magento 1.9.0.1(CE) to magento 2.1.0(CE) I am following Steps from - http://devdocs.magento.com/guides/v2.0/migration/migration-...
1
vote
1answer
572 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
312 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-...
1
vote
2answers
1k 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
100 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