Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [entities]

The tag has no usage guidance.

0
votes
0answers
10 views

How can I get rows from the eav_attribute_option_swatch table

How can get some rows from the eav_attribute_option_swatch table ? Is there a model that I can use, if so how do i use it. Maybe there is something like get entity by id. (I have the option_id of ...
3
votes
0answers
25 views

how to solved table catalog_product_entiry issue : M2

I found there is issue with row_id and entity_id in this catalog_product_entity. I'm not able to assign product to category, it gives this error: Something went wrong while saving the category....
1
vote
1answer
13 views

Module with cron job to fetch all products where custom attribute is true

I am brand new to Magento module development, and I need some help getting started. My goal is relatively simple: I'd like to create a module which fetches all products with a custom attribute '...
2
votes
1answer
171 views

get eav attribute collection Code format in Magento2

I am migrating m1 code to m2, below is the code i used in m1 to get eav collection. $customerattrs = Mage::getModel('eav/entity_attribute')->getCollection(); $customerattrs->...
0
votes
1answer
59 views

Custom Customer attribute not being created in database magento 2.1

I am trying to add a new attribute called 'customer_type' to Customer Entity. Customer module has already been registered before. I have added the lines of code to /Magento/vendor/magento/module-...
3
votes
2answers
492 views

Magento 2 Data key is missing: code-entity

I'm not able to create or edit pages in Magento 2.2.0.
0
votes
1answer
35 views

How to create entities related to themselves, magento 1.9

I sent this question some days ago: "I'm using the module Ultimate Module Creator to create new entities and relate them to products, categories and between them. But I don't know how to relate the ...
5
votes
1answer
533 views

Good practice: how to save many objects?

I have a question regarding a good practice: how to correctly save many objects? Let's assume I modified many entities in a collection, let's say a collection of Products. This is what I could do: .....
5
votes
1answer
2k views

Custom EAV model in magento 2

How we can create custom Eav entity and model in magento2. I want to create a custom module where new attributes/fields can be created by user. I will use it to show the details in the grid in admin ...
5
votes
1answer
2k views

Magento 2 : Order Edit Error “No such entity with cartId = 458”

When I am going to edit order then getting an error like above. No such entity with cartId = 458. I have 4 stores in my project. Order edit works fine for 1 store but for another store it gives ...
2
votes
0answers
612 views

How to set input renderer on attribute for custom entity?

I'm trying to use an input renderer for a text attribute in my custom entity, however it doesn't seem to be working. I'm creating my ambassador entity in my setup file like this: <?php /* @var $...
2
votes
1answer
200 views

Is the EAVCleaner Extension safe to Use on my Magento installation?

Project GitHub Repository: https://github.com/magento-hackathon/EAVCleaner Has anyone used these cleaners before? I think this application is excactly what we need, but I am unsure how to know for ...
0
votes
1answer
1k views

Magento Data MIgration Tool for 1.9.2.2 to 2 - Mismatch of entities in the document

I'm trying to upgrade to Magento 2, but hit another roadblock. I'm currently getting an error of [ERROR]: Mismatch of entities in the document: eav_attribute_group What is my next step for ...
0
votes
1answer
675 views

How to add new customer attribute

I want to add a new attribute for the customers: continent. First of all, I have created a new module for this where I'm inserting this new attribute: <?php $this->addAttribute('customer', '...
0
votes
1answer
118 views

Export Products Error - Entity is unknown

I tried to export my products with images but i am getting the error "Entity is unknown" occurs. Someone knows how to export manually or how to solve this?
0
votes
0answers
110 views

Not able to save values in Custom Columns of my Custom Entity table

I have created a module vaibhav_customtabs, with following tables in DB. vaibhav_customtabs_product_entity vaibhav_customtabs_product_entity_char vaibhav_customtabs_product_entity_datetime ...
0
votes
2answers
1k views

How to join two entity table in magento

I have created a custom entity table vaibhav_customtabs_product_entity, where I have following columns. entity_id entity_type_id attribute_set_id increment_id store_id created_at updated_at is_active ...
0
votes
1answer
396 views

Error on foreign key

I have added a product_id column in my table vaibhav_customtabs_product_entity. Now I am trying to add foreign key on product_id from catalog_product_entity->entity_id column, but it is throwing error....
1
vote
0answers
112 views

Dropdown custom table

I know that it is possible to create dropdowns using the EAV strategy used in Magento, yet I was not able find any information over creating a dropdown in an entity without using EAV. Does someone ...
1
vote
0answers
84 views

Use ratings and reviews with custom eav entity

im looking for a way of being able to use reviews and ratings with a custom eav entity. Without creating a custom table. Any ideas to put point me in the write dorection ?
6
votes
2answers
674 views

Custom Entity Models - Using EAV vs Flat

I am working on a module that is essentially replacing a number of Magento features with custom logic. This is mainly due to the fact that I require pricing to 5 decimals of precision, but that is ...
1
vote
1answer
369 views

addAttribute() vs addColumn()?

While I am aware of the similar question. My question is more generic, that what would happen to both calls whether I actually create a database column or not. EDIT I know addColumn() will add a ...
1
vote
1answer
810 views

How can I add a column to an existing model in Magento after an existing field?

I am creating a Magento module that makes use of a new column in sales/quote. I know how to use addAttribute and addColumn respectively, but I can't figure out how to put the SQL equivalent of AFTER ...
0
votes
1answer
677 views

Magento Checkout Page escaping HTML tags

I've given some HTML in the custom options of Magento, it is working perfectly fine on the product page however in the checkout page, it is showing with HTML code. When I checked the source code, the ...
3
votes
2answers
871 views

EAV (Entity, Attribute and Value) confusion ..?

I have some doubt in EAV. As for as I know EAV is should only be used when you are not sure about number of fields in a table which can vary in future. So eav_attribute table holds the attribute's and ...
1
vote
1answer
37 views

Creating a new entity that can log into Magento (authenticate with a password and create a session)

I want to add another party to the site, that can log in and do some stuff but I want it to be a separate entity (not a customer) because I don't want it to be able to make purchases and such. It ...
1
vote
1answer
382 views

Creating a new entity with existing entity type

I am fairly new with Magento and not sure if answer to this is very trivial, but looking at available help through search. I was not able to figure out the right way. For a solution, I am building ...
0
votes
1answer
616 views

New Starting number for sales_flat_order entity_id

How is the sales_flat_order.entity_id determined and is there a safe way for me to start it at a higher number? We just changed versions of magento and have an external ERP. Becuase the orders are ...
0
votes
2answers
2k views

Add custom table model to valid entity types when extending import functionality

How do I add my table model to the list of valid entity types when extending Magento's Import functionality? I have created a custom module which integrates into the admin panel and stores data in a ...
0
votes
1answer
269 views

Change created order number

I lost a few orders at Magento and I am recreating it manually, but I need to keep the old id. I do not have enough information to create all the lost orders, because this some orders id need to be ...
1
vote
3answers
4k views

Configuring TinyMCE in Magento 1.8

TinyMCE has an very unfriendly feature for me: it escapes all accents to html entities once you switch from raw to visual and then to raw again. I found the key that must be configured, now I would ...
1
vote
1answer
101 views

Interpreting model related config.xml

Inside file app/code/core/Mage/Sales/etc/config.xml, there is: <sales> <class>Mage_Sales_Model</class> <resourceModel>sales_resource</resourceModel> </sales&...
0
votes
1answer
1k views

How get collection of entities from eav_entity by custom type?

I created custom eav type: /* @var $installer Mage_Eav_Model_Entity_Setup */ $installer = $this; $installer->startSetup(); $installer->addEntityType('av_photo_type', array( 'entity_model' ...
1
vote
0answers
53 views

Extension with many to many relationship with products [duplicate]

I'm new in magento. i need to create an extension which allows to: Create an entity composed of title, description and image. in the product admin, create a new tab which allows to link the product ...
3
votes
1answer
5k views

How to add import option to our custom module

I have created new custom module with the admin form like to create new Products. I have created successfully.All are working fine.But now i want to add one more feature to this module. I can import ...
1
vote
2answers
2k views

Multiple attributes with same (identic) values - inheritable?

I am about to set up an online store and I am kinda "testing" if magento (1.7., Community Edition) fits my needs. I think I got the idea behind categorizing and attributing products. But I have a ...
77
votes
6answers
12k views

What is the best deploy strategy?

Setting up a Magento store is not only a matter of developing self-installable extensions but requires also a lot of "manual entry" operations such as creating end editing attributes, categories, ...