Stack Exchange Network

Stack Exchange network consists of 175 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
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 36253

Magento Entity Attributes

0
votes
1answer
Thats one my attributes that should be visible in layered navigation: $eavSetup->removeAttribute(Product::ENTITY, 'supported_software'); $eavSetup->addAttribute( Product::ENTITY … values for admin - but for frontend are being added simultanously). Sometimes my attributes shows up in layered navigation but sometimes not. If I add product from adminhtml manually values its values …
asked Jul 5 '16 by Bartosz Kubicki
1
vote
First method - I can't help you, actually I have'n used such a model to anything. In second piece of code, error is connected with $productsIds as argument of foreach loop. You can try to write the I …
answered Jun 15 '16 by Bartosz Kubicki
0
votes
1answer
I have one website and one store. When I add product from admin, with some programatically added attributes (for example in table catalog_product_entity_int), they get store_id 0 (adminhtml). Is that …
asked Sep 8 '16 by Bartosz Kubicki
2
votes
If you have color filter set for Filterable (with results) there are only filters that contain any product. This is one possible reason for attribute's option to nit be displayed in layered navigation …
answered Oct 26 '16 by Bartosz Kubicki
1
vote
3answers
, 'unique' => false, //'apply_to' => '' ] ); Some of attributes I have to add are connected only with backend and some of them should be visible on …
asked May 25 '16 by Bartosz Kubicki
2
votes
0answers
What should be proper type for multiselect attribute? Of course it is connected with adding them programatically. There is no exceptions while adding text type programatically, but you can't use it l …
asked Dec 22 '16 by Bartosz Kubicki
4
votes
1answer
In Magento 2.1.1 CE visual swatches works with select-type attributes out of box, but not witth multiselect. Is there any simple way to make it work also with multiselect-type? Can it be achieved by some configuration or small modification of core files? Or is it more complicated? …
asked Dec 16 '16 by Bartosz Kubicki
4
votes
2answers
'system' => 0 What that property of (product - only?) does or means? I've noticed that all built-in Magento attribute has it with value 1. So my custom attributes should have 0? is it only for marking custom and built-in attributes? …
asked Jul 5 '16 by Bartosz Kubicki
0
votes
I am having similar issue - if add to custom attribute set custom multi select attribute (and it's not in default) they don't save. But after first try i run cache:clean and from this moment everythin …
answered Aug 16 '16 by Bartosz Kubicki
0
votes
0answers
I have a few attributes that come with input select or multiselect. I have created source models to provide options for inputs. Everything seems to work (values are saved). But today I realized that …
asked Jun 15 '16 by Bartosz Kubicki
1
vote
So far I have found part of possible options in Magento\Catalog\Model\ResourceModel\Eav\Attribute and Magento\Catalog\Api\Data\EavAttributeInterface const IS_WYSIWYG_ENABLED = 'is_wysiwyg_enabled'; …
answered May 27 '16 by Bartosz Kubicki
4
votes
1answer
Today I came accross the issue of updating product's attribute programatically in observer on each visit on product page. As it should be really fast in that case I was wondering what is the best way …
asked Dec 20 '16 by Bartosz Kubicki
11
votes
I have used method updateAttributes of class \Magento\Catalog\Model\ResourceModel\Product\Action. Method can update multiple products and attribute values, but if you want to update just one product w …
answered Feb 1 '17 by Bartosz Kubicki