Skip to main content
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
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
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 not deleted user 59252

Denotes a question related to the Magento products.

3 votes
3 answers
4k views

Magento 2: Set product dropdown attribute

I try to use $product->setSize("M") but it is set to null. Do I need to create the option of dropdown attribute ? …
Haze's user avatar
  • 449
1 vote
1 answer
1k views

Magento 2: How to create a downloadable product programmatically

I try to create a import job but I do not know how to create a downloadable product programmatically. … https://www.mageplaza.com/magento-2-create-product-programmatically.html I readed this site but I have no idea how to do that. How can I insert the download link to the product ? Please advise. …
Haze's user avatar
  • 449
3 votes
4 answers
14k views

Magento 2: How to create configurable product Programmatically

I want to create a configurable product and assign some simple product to it. I have found lots of solution in the web but it's not working. Please let me know if any idea!!! Thanks …
Haze's user avatar
  • 449
4 votes

Magento 2: How to create configurable product Programmatically

Finally I refer to https://github.com/magento/magento2/blob/2.1/dev/tests/integration/testsuite/Magento/ConfigurableProduct/_files/product_configurable.php and it work!!
Haze's user avatar
  • 449