Skip to content

Commit 506e340

Browse files
committed
Merge branch 'release/1.0.0'
2 parents 19dce80 + 100c012 commit 506e340

File tree

77 files changed

+4873
-863
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+4873
-863
lines changed

LICENSE.md

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 36 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FireGento_DynamicCategory
2-
=====================
3-
Description
4-
-----------
2+
=========================
3+
54
This extension enables you to dynamically add products to a specific category based on product attributes.
65

76
Facts
@@ -10,14 +9,31 @@ Facts
109
- [extension on GitHub](https://github.com/firegento/firegento-dynamiccategory)
1110

1211

12+
The module adds a new section "Dynamic Category Product Relater" at the tab "Category Products" of categories in the backend.
13+
You can define rules for products to be included in the category.
14+
15+
If a rule should be defined according to a specific attribute, that attribute needs to be enabled for "Use for Promo Rule Conditions" in its attribute configuration.
16+
17+
Description
18+
-----------
19+
20+
The module adds a new section "Dynamic Category Product Relater" at the tab "Category Products" while reading or editing a category into the backend.
21+
You can define rules for products to be included in the category.
22+
23+
![Dynamic Category Products](./docs/images/screenshot-tab-dynamic-products.png)
24+
25+
If a rule should be defined according to a specific attribute, that attribute needs to be enabled for "Use for Promo Rule Conditions" in its attribute configuration (See Catalog > Attributes > YOUR ATTRIBUTE > Edit it).
26+
27+
![Attribute Edit](./docs/images/attribute-rule-promotion.png)
28+
29+
1330
Requirements
1431
------------
15-
- PHP >= 5.2.0
16-
- Mage_Core
32+
- PHP >= 5.3.0
1733

1834
Compatibility
1935
-------------
20-
- Magento >= 1.5
36+
- Magento >= 1.6
2137

2238
Installation Instructions
2339
-------------------------
@@ -61,37 +77,35 @@ Installation Instructions
6177
1. Clear the cache, logout from the admin panel and then login again.
6278
2. You can now dynamically add products to categories based on attributes.
6379

64-
Usage
65-
-----
66-
67-
The module adds a new section "Dynamic Category Product Relater" at the tab "Category Products" while reading or editing a category into the backend.
68-
You can define rules for products to be included in the category.
69-
70-
![Dynamic Category Products](./doc/images/screenshot-tab-dynamic-products.png)
71-
72-
If a rule should be defined according to a specific attribute, that attribute needs to be enabled for "Use for Promo Rule Conditions" in its attribute configuration (See Catalog > Attributes > YOUR ATTRIBUTE > Edit it).
73-
74-
![Attribute Edit](./doc/images/attribute-rule-promotion.png)
80+
Uninstallation
81+
--------------
82+
1. Remove all extension files from your Magento installation
83+
2. Run the following sql script in your database:
7584

85+
```sql
86+
DROP TABLE dynamiccategory_rule;
87+
DELETE FROM eav_attribute WHERE attribute_code = 'dynamiccategory';
88+
```
7689

7790

7891
Support
7992
-------
80-
If you have any issues with this extension, open an issue on [GitHub](https://github.com/firegento/firegento-dynamiccategory/issues).
93+
If you have any issues with this extension, open an issue on [GitHub](https://github.com/firegento/firegento-customer/issues).
8194

8295
Contribution
8396
------------
8497
Any contribution is highly appreciated. The best way to contribute code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).
8598

8699
Developer
87100
---------
88-
[http://firegento.com](http://firegento.com)
89-
[@firegento](https://twitter.com/firegento)
101+
FireGento Team
102+
* Website: [http://firegento.com](http://firegento.com)
103+
* Twitter: [@firegento](https://twitter.com/firegento)
90104

91-
Licence
105+
License
92106
-------
93107
[GNU General Public License, version 3 (GPLv3)](http://opensource.org/licenses/gpl-3.0)
94108

95109
Copyright
96110
---------
97-
(c) 2012 FireGento
111+
(c) 2012-2013 FireGento Team

build.default.properties

Lines changed: 0 additions & 5 deletions
This file was deleted.

build.xml

Lines changed: 0 additions & 53 deletions
This file was deleted.
-4.91 KB
Binary file not shown.
-6.21 KB
Binary file not shown.
-8.35 KB
Binary file not shown.
-8.44 KB
Binary file not shown.

composer.json

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
{
2-
"name": "firegento/dynamiccategory",
3-
"license": ["GPL-3.0"],
4-
"type": "magento-module",
5-
"description": "This extension enables you to dynamically add products to categories based on product attributes.",
6-
"require": {
7-
"magento-hackathon/magento-composer-installer": "*"
8-
}
2+
"name": "firegento/dynamiccategory",
3+
"license": ["GPL-3.0"],
4+
"type": "magento-module",
5+
"description": "This extension enables you to dynamically add products to categories based on product attributes.",
6+
"homepage": "https://github.com/firegento/firegento-dynamiccategory",
7+
"require": {
8+
"magento-hackathon/magento-composer-installer": "*"
9+
},
10+
"repositories": [
11+
{
12+
"type": "composer",
13+
"url": "http://packages.firegento.com"
14+
}
15+
]
916
}
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!DOCTYPE html PUBLIC "html" "">
3+
<html xmlns="http://www.w3.org/1999/xhtml" class="no-js" lang="en">
4+
<head>
5+
<meta charset="utf-8"/>
6+
<title>FireGento_DynamicCategory - FireGento_DynamicCategory_Block_Adminhtml_Category_Dynamic - API Documentation</title>
7+
<link href="../css/normalize.css" rel="stylesheet" type="text/css" media="all"/>
8+
<link href="../css/styles.css" rel="stylesheet" type="text/css" media="all"/>
9+
</head>
10+
<body>
11+
<div class="wrapper clearfix">
12+
<div class="topbar clearfix">
13+
<h1>
14+
<a class="brand" href="../index.xhtml">FireGento_DynamicCategory - API Documentation</a>
15+
</h1>
16+
<ul class="nav">
17+
<li class="active">
18+
<a href="../index.xhtml">Overview</a>
19+
</li>
20+
</ul>
21+
</div>
22+
<div class="navigation">
23+
<h3>Members</h3>
24+
<ul>
25+
<li>
26+
<a href="#_category">$_category</a>
27+
</li>
28+
</ul>
29+
<h3>Methods</h3>
30+
<ul>
31+
<li>
32+
<a href="#_prepareLayout">_prepareLayout</a>
33+
</li>
34+
<li>
35+
<a href="#getCategory">getCategory</a>
36+
</li>
37+
</ul>
38+
</div>
39+
<div class="content">
40+
<h2><span style="font-size:60%">\</span>FireGento_DynamicCategory_Block_Adminhtml_Category_Dynamic</h2>
41+
<div class="file-notice">
42+
<p>Condition block for category edit page</p>
43+
</div>
44+
<ul class="fileinfos">
45+
<li><b>Author: </b>FireGento Team &lt;team@firegento.com&gt;</li>
46+
</ul>
47+
<h3>Members</h3>
48+
<ul class="varlist">
49+
<li>
50+
<a name="_category"/>
51+
<h4><span class="label protected">protected</span>object 
52+
53+
$_category</h4>
54+
<ul class="varlist">
55+
<li>Category Model</li>
56+
</ul>
57+
</li>
58+
</ul>
59+
<h3>Methods</h3>
60+
<ul class="varlist">
61+
<li>
62+
<a name="_prepareLayout"/>
63+
<h4><span class="label public">public</span>_prepareLayout<span style="font-size:90%;">( )</span></h4>
64+
<p style="font-size:110%; padding-top:5px;">
65+
<li>Creates the form for the condition based selection of product attributes.</li>
66+
</p>
67+
<ul>
68+
<h4 class="return">Returns:</h4>
69+
<ul class="return">
70+
<li>Self.</li>
71+
</ul>
72+
</ul>
73+
</li>
74+
<li>
75+
<a name="getCategory"/>
76+
<h4><span class="label public">public</span>getCategory<span style="font-size:90%;">( )</span></h4>
77+
<p style="font-size:110%; padding-top:5px;">
78+
<li>Retrieve the current selected category in the admin view.</li>
79+
</p>
80+
<ul>
81+
<h4 class="return">Returns:</h4>
82+
<ul class="return">
83+
<li>Category</li>
84+
</ul>
85+
</ul>
86+
</li>
87+
</ul>
88+
<div class="footer">Generated using phpDox 0.5 - Copyright (C) 2010 - 2013 by Arne Blankerts</div>
89+
</div>
90+
</div>
91+
</body>
92+
</html>

0 commit comments

Comments
 (0)