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 3785

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

5 votes
2 answers
4k views

programmatically create a custom variable

I followed the trace of a custom variable and I notice that it create entry on core_variable_value and core core_variable as well as in the logging table, I need a custom variable in one of my CMS cod …
  • 265
9 votes
Accepted

programmatically create a custom variable

Magento 1 answer Thought this would be useful to share, this is how yo do it on Magento without adding it on any system.xml. $variable = Mage::getModel('core/variable') ->setCode('va …
  • 265