Version Notes
Fixed package installation
Download this release
Release Info
Developer | Kwaku Zigah |
Extension | NowInStore_CatalogBuilder |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.0.4
- app/code/community/NowInStore/CatalogBuilder/controllers/AuthController.php +12 -0
- app/code/{local → community}/NowInStore/CatalogBuilder/controllers/CategoriesController.php +2 -0
- app/code/{local → community}/NowInStore/CatalogBuilder/controllers/ProductsController.php +3 -2
- app/code/{local → community}/NowInStore/CatalogBuilder/controllers/ProfileController.php +2 -0
- app/code/{local → community}/NowInStore/CatalogBuilder/etc/adminhtml.xml +0 -0
- app/code/{local → community}/NowInStore/CatalogBuilder/etc/config.xml +1 -1
- app/code/{local → community}/NowInStore/CatalogBuilder/etc/config.xml~ +0 -0
- app/code/local/NowInStore/CatalogBuilder/controllers/AuthController.php +0 -18
- app/etc/modules/NowInStore_CatalogBuilder.xml +9 -0
- package.xml +5 -5
app/code/community/NowInStore/CatalogBuilder/controllers/AuthController.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
error_reporting(E_ALL);
|
3 |
+
ini_set('display_errors', 1);
|
4 |
+
class NowInStore_CatalogBuilder_AuthController extends Mage_Core_Controller_Front_Action
|
5 |
+
{
|
6 |
+
public function indexAction()
|
7 |
+
{
|
8 |
+
$email = Mage::getStoreConfig('trans_email/ident_general/email');
|
9 |
+
$baseUrl = urlencode (Mage::getBaseUrl());
|
10 |
+
$this->getResponse()->setRedirect("https://www.nowinstore.com/auth/magento/callback?baseUrl=$baseUrl");
|
11 |
+
}
|
12 |
+
}
|
app/code/{local → community}/NowInStore/CatalogBuilder/controllers/CategoriesController.php
RENAMED
@@ -1,4 +1,6 @@
|
|
1 |
<?php
|
|
|
|
|
2 |
class NowInStore_CatalogBuilder_CategoriesController extends Mage_Core_Controller_Front_Action
|
3 |
{
|
4 |
public function indexAction()
|
1 |
<?php
|
2 |
+
error_reporting(E_ALL);
|
3 |
+
ini_set('display_errors', 1);
|
4 |
class NowInStore_CatalogBuilder_CategoriesController extends Mage_Core_Controller_Front_Action
|
5 |
{
|
6 |
public function indexAction()
|
app/code/{local → community}/NowInStore/CatalogBuilder/controllers/ProductsController.php
RENAMED
@@ -1,4 +1,6 @@
|
|
1 |
<?php
|
|
|
|
|
2 |
class NowInStore_CatalogBuilder_ProductsController extends Mage_Core_Controller_Front_Action
|
3 |
{
|
4 |
public function indexAction()
|
@@ -14,7 +16,7 @@ class NowInStore_CatalogBuilder_ProductsController extends Mage_Core_Controller_
|
|
14 |
->addFieldToFilter('visibility', Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH)
|
15 |
->setPageSize(50)
|
16 |
->setCurPage($page)
|
17 |
-
->addAttributeToSelect(array('id', 'name', 'sku', 'price', 'image'
|
18 |
|
19 |
$keywords = $_GET['keywords'];
|
20 |
if (!empty ($keywords)) {
|
@@ -47,7 +49,6 @@ class NowInStore_CatalogBuilder_ProductsController extends Mage_Core_Controller_
|
|
47 |
"sku" => $product->getSku(),
|
48 |
"price" => intval($product->getPrice()),
|
49 |
"main_image" => $product->getImageUrl(),
|
50 |
-
"description" => $product->getDescription(),
|
51 |
"thumbnail_image" => (string)Mage::helper('catalog/image')->init($product, 'image')->resize(75),
|
52 |
"iso_currency_code" => $currency,
|
53 |
"url" => $product->getProductUrl(),
|
1 |
<?php
|
2 |
+
error_reporting(E_ALL);
|
3 |
+
ini_set('display_errors', 1);
|
4 |
class NowInStore_CatalogBuilder_ProductsController extends Mage_Core_Controller_Front_Action
|
5 |
{
|
6 |
public function indexAction()
|
16 |
->addFieldToFilter('visibility', Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH)
|
17 |
->setPageSize(50)
|
18 |
->setCurPage($page)
|
19 |
+
->addAttributeToSelect(array('id', 'name', 'sku', 'price', 'image'));
|
20 |
|
21 |
$keywords = $_GET['keywords'];
|
22 |
if (!empty ($keywords)) {
|
49 |
"sku" => $product->getSku(),
|
50 |
"price" => intval($product->getPrice()),
|
51 |
"main_image" => $product->getImageUrl(),
|
|
|
52 |
"thumbnail_image" => (string)Mage::helper('catalog/image')->init($product, 'image')->resize(75),
|
53 |
"iso_currency_code" => $currency,
|
54 |
"url" => $product->getProductUrl(),
|
app/code/{local → community}/NowInStore/CatalogBuilder/controllers/ProfileController.php
RENAMED
@@ -1,4 +1,6 @@
|
|
1 |
<?php
|
|
|
|
|
2 |
class NowInStore_CatalogBuilder_ProfileController extends Mage_Core_Controller_Front_Action
|
3 |
{
|
4 |
public function indexAction()
|
1 |
<?php
|
2 |
+
error_reporting(E_ALL);
|
3 |
+
ini_set('display_errors', 1);
|
4 |
class NowInStore_CatalogBuilder_ProfileController extends Mage_Core_Controller_Front_Action
|
5 |
{
|
6 |
public function indexAction()
|
app/code/{local → community}/NowInStore/CatalogBuilder/etc/adminhtml.xml
RENAMED
File without changes
|
app/code/{local → community}/NowInStore/CatalogBuilder/etc/config.xml
RENAMED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<NowInStore_CatalogBuilder>
|
5 |
-
<version>1.
|
6 |
</NowInStore_CatalogBuilder>
|
7 |
</modules>
|
8 |
<frontend>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<NowInStore_CatalogBuilder>
|
5 |
+
<version>1.0.4</version> <!-- Version number of your module -->
|
6 |
</NowInStore_CatalogBuilder>
|
7 |
</modules>
|
8 |
<frontend>
|
app/code/{local → community}/NowInStore/CatalogBuilder/etc/config.xml~
RENAMED
File without changes
|
app/code/local/NowInStore/CatalogBuilder/controllers/AuthController.php
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
class NowInStore_CatalogBuilder_AuthController extends Mage_Core_Controller_Front_Action
|
3 |
-
{
|
4 |
-
public function indexAction()
|
5 |
-
{
|
6 |
-
$email = Mage::getStoreConfig('trans_email/ident_general/email');
|
7 |
-
$baseUrl = urlencode(Mage::getBaseUrl());
|
8 |
-
//$this->getResponse()->setRedirect("https://www.nowinstore.com/auth/magento/callback?baseUrl=$baseUrl");
|
9 |
-
$hostname = Mage::app()->getFrontController()->getRequest()->getHttpHost();
|
10 |
-
$address = str_replace("\r\n", "<br/>", Mage::getStoreConfig('general/store_information/address'));
|
11 |
-
$email = Mage::getStoreConfig('trans_email/ident_general/email');
|
12 |
-
$businessName = Mage::getStoreConfig('general/store_information/name');
|
13 |
-
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
-
$phone = Mage::getStoreConfig('general/store_information/phone');
|
15 |
-
$version = Mage::getVersion();
|
16 |
-
$this->getResponse()->setRedirect("https://www.nowinstore.com/auth/magento/callback?baseUrl=$baseUrl&hostname=$hostname&address=$address&email=$email&businessName=$businessName&name=$name&phone=$phone&version=$version");
|
17 |
-
}
|
18 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/etc/modules/NowInStore_CatalogBuilder.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<NowInStore_CatalogBuilder>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
</NowInStore_CatalogBuilder>
|
8 |
+
</modules>
|
9 |
+
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>NowInStore_CatalogBuilder</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/gpl-3.0.en.html">GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
@@ -14,11 +14,11 @@ Our catalog and flyer builder automatically creates professional and customizabl
|
|
14 |

|
15 |
With a few clicks, import all of your Magento products into a beautiful drag and drop interface. Easily choose and organize each page of your catalog or flyer, use different layouts, customize your front and back covers and add a wholesale contract and order forms.
|
16 |
</description>
|
17 |
-
<notes>
|
18 |
<authors><author><name>Kwaku Zigah</name><user>kwaku</user><email>kwaku.zigah@nowinstore.com</email></author></authors>
|
19 |
-
<date>2015-
|
20 |
-
<time>
|
21 |
-
<contents><target name="
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
24 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>NowInStore_CatalogBuilder</name>
|
4 |
+
<version>1.0.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/gpl-3.0.en.html">GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
14 |

|
15 |
With a few clicks, import all of your Magento products into a beautiful drag and drop interface. Easily choose and organize each page of your catalog or flyer, use different layouts, customize your front and back covers and add a wholesale contract and order forms.
|
16 |
</description>
|
17 |
+
<notes>Fixed package installation</notes>
|
18 |
<authors><author><name>Kwaku Zigah</name><user>kwaku</user><email>kwaku.zigah@nowinstore.com</email></author></authors>
|
19 |
+
<date>2015-08-03</date>
|
20 |
+
<time>04:24:20</time>
|
21 |
+
<contents><target name="magecommunity"><dir name="NowInStore"><dir name="CatalogBuilder"><dir name="controllers"><file name="AuthController.php" hash="5a7a8fadde17b4ae86977dacbe11fcfe"/><file name="CategoriesController.php" hash="98444235e8a852b3755efb406cf592c2"/><file name="ProductsController.php" hash="eb1ee82edbc321d38c49e6b9607b5c23"/><file name="ProfileController.php" hash="8bb73c8e84c980415e434a69b6ddcc13"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3d7e6a6f47a3a37945603d5620a49c22"/><file name="config.xml" hash="042d129242685c23e27af2470935cd80"/><file name="config.xml~" hash="fa9eaa937860779735ddee5bc4ec7f5f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="NowInStore_CatalogBuilder.xml" hash="a087b751cea9700fd21fa59bb3d0a666"/></dir></target></contents>
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
24 |
</package>
|