Helios_Inquiry - Version 0.1.3

Version Notes

This is stable version

Download this release

Release Info

Developer Helios
Extension Helios_Inquiry
Version 0.1.3
Comparing to
See all releases


Code changes from version 0.1.2 to 0.1.3

app/code/community/Helios/Inquiry/controllers/IndexController.php CHANGED
@@ -104,7 +104,7 @@ class Helios_Inquiry_IndexController extends Mage_Core_Controller_Front_Action
104
  </td>
105
  </tr>
106
  </table>';
107
- $adminSubject = "Produkte Inquiry from New Customer";
108
  $adminName = Mage::getStoreConfig('quotation/emailsetting/sender_email'); //sender name
109
  $adminEmail = Mage::getStoreConfig('quotation/emailsetting/sender_email');
110
  $headers = "MIME-Version: 1.0" . "\r\n";
104
  </td>
105
  </tr>
106
  </table>';
107
+ $adminSubject = "Product Inquiry from New Customer";
108
  $adminName = Mage::getStoreConfig('quotation/emailsetting/sender_email'); //sender name
109
  $adminEmail = Mage::getStoreConfig('quotation/emailsetting/sender_email');
110
  $headers = "MIME-Version: 1.0" . "\r\n";
app/code/community/Helios/Inquiry/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Helios_Inquiry>
5
- <version>0.1.2</version>
6
  </Helios_Inquiry>
7
  </modules>
8
 
2
  <config>
3
  <modules>
4
  <Helios_Inquiry>
5
+ <version>0.1.3</version>
6
  </Helios_Inquiry>
7
  </modules>
8
 
app/design/frontend/default/default/layout/wishlist.xml ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package base_default
24
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+ <reference name="top.links">
37
+ <block type="wishlist/links" name="wishlist_link" />
38
+ <action method="addLinkBlock"><blockName>wishlist_link</blockName></action>
39
+ </reference>
40
+
41
+ <!-- Mage_Wishlist -->
42
+ <reference name="right">
43
+ <block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml" />
44
+ </reference>
45
+ </default>
46
+
47
+ <!--
48
+ Customer account pages, rendered for all tabs in dashboard
49
+ -->
50
+
51
+ <customer_account>
52
+ <!-- Mage_Wishlist -->
53
+ <reference name="customer_account_navigation">
54
+ <action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active"><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>
55
+ </reference>
56
+ </customer_account>
57
+
58
+ <!--
59
+ Customer account home dashboard layout
60
+ -->
61
+
62
+ <customer_account_index>
63
+ <reference name="right">
64
+ <action method="unsetChild"><name>wishlist</name></action>
65
+ </reference>
66
+ </customer_account_index>
67
+
68
+ <!--
69
+ Wishlist pages
70
+ -->
71
+
72
+ <wishlist_index_index translate="label">
73
+ <label>Customer My Account My Wishlist</label>
74
+ <reference name="root">
75
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
76
+ </reference>
77
+ <!-- Mage_Wishlist -->
78
+ <update handle="customer_account" />
79
+ <reference name="my.account.wrapper">
80
+ <block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml">
81
+ <action method="setTitle" translate="title">
82
+ <title>My Wishlist</title>
83
+ </action>
84
+ <block type="wishlist/customer_wishlist_items" name="customer.wishlist.items" as="items" template="wishlist/item/list.phtml">
85
+ <block type="wishlist/customer_wishlist_item_column_image" name="customer.wishlist.item.image" template="wishlist/item/column/image.phtml" />
86
+ <block type="wishlist/customer_wishlist_item_column_comment" name="customer.wishlist.item.info" template="wishlist/item/column/info.phtml">
87
+ <action method="setTitle" translate="title">
88
+ <title>Product Details and Comment</title>
89
+ </action>
90
+ </block>
91
+ <block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.cart" template="wishlist/item/column/cart.phtml">
92
+ <action method="setTitle" translate="title">
93
+ <title>Add to Cart</title>
94
+ </action>
95
+ <block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
96
+ </block>
97
+ <block type="wishlist/customer_wishlist_item_column_remove" name="customer.wishlist.item.remove" template="wishlist/item/column/remove.phtml" />
98
+ </block>
99
+ <block type="core/text_list" name="customer.wishlist.buttons" as="control_buttons">
100
+ <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.share" template="wishlist/button/share.phtml" />
101
+ <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.toCart" template="wishlist/button/tocart.phtml" />
102
+ <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.update" template="wishlist/button/update.phtml" />
103
+ </block>
104
+ </block>
105
+ </reference>
106
+ <reference name="right">
107
+ <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
108
+ </reference>
109
+ </wishlist_index_index>
110
+
111
+ <wishlist_index_share translate="label">
112
+ <label>Customer My Account Wishlist Sharing Form</label>
113
+ <!-- Mage_Wishlist -->
114
+ <update handle="customer_account" />
115
+ <reference name="my.account.wrapper">
116
+ <block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml" />
117
+ </reference>
118
+ <reference name="right">
119
+ <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
120
+ </reference>
121
+ </wishlist_index_share>
122
+
123
+ <wishlist_index_configure translate="label">
124
+ <label>Configure Wishlist Item</label>
125
+ <update handle="catalog_product_view" />
126
+ <reference name="product.info">
127
+ <block type="wishlist/item_configure" name="product.info.addto" as="addto" template="wishlist/item/configure/addto.phtml" />
128
+ </reference>
129
+ <reference name="product.info.options.wrapper.bottom">
130
+ <action method="unsetChild"><name>product.info.addto</name></action>
131
+ <action method="append"><block>product.info.addto</block></action>
132
+ </reference>
133
+ </wishlist_index_configure>
134
+
135
+ <wishlist_shared_index translate="label">
136
+ <label>Customer Shared Wishlist View</label>
137
+ <!-- Mage_Wishlist -->
138
+ <reference name="content">
139
+ <block type="wishlist/share_wishlist" name="customer.wishlist" template="wishlist/shared.phtml" />
140
+ </reference>
141
+ </wishlist_shared_index>
142
+ </layout>
app/design/frontend/default/default/template/wishlist/item/column/cart.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category design
4
+ * @package base_default
5
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
6
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
7
+ */
8
+
9
+ /* @var $this Mage_Wishlist_Block_Customer_Wishlist_Item_Column_Cart */
10
+ /* @var Mage_Wishlist_Model_Item $item */
11
+ $item = $this->getItem();
12
+ $product = $item->getProduct();
13
+ ?>
14
+ <li class="cart-qty" style="list-style-type:none;">
15
+ <div class="cart-cell">
16
+ <div class="wish-price"><div class="price-label"><?php echo $this->__('Price:') ?></div><?php echo $this->getPriceHtml($product);?></div>
17
+ <div class="add-to-cart-alt">
18
+ <?php if ($item->canHaveQty() && $item->getProduct()->isVisibleInSiteVisibility()): ?>
19
+ <span class="label" style="float: left;padding-right: 5px;"><?php echo $this->__('Qty:') ?> </span>
20
+ <div class="box" style="float: left;padding-right: 5px;"><input type="text" class="input-text qty validate-not-negative-number" name="qty[<?php echo $item->getId() ?>]" value="<?php echo $this->getAddToCartQty($item) * 1 ?>" /></div>
21
+ <?php endif; ?>
22
+ <?php /* if ($product->isSaleable()): ?>
23
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" onclick="addWItemToCart(<?php echo $item->getId()?>);" class="button btn-cart"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
24
+ <?php else: ?>
25
+ <?php if ($product->getIsSalable()): ?>
26
+ <p class="availability in-stock"><span><?php echo $this->__('In stock') ?></span></p>
27
+ <?php else: ?>
28
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
29
+ <?php endif; ?>
30
+ <?php endif; */ ?>
31
+ </div>
32
+ <?php foreach($this->getSortedChildren() as $childName):?>
33
+ <?php echo $this->getChildHtml($childName, false);?>
34
+ <?php endforeach;?>
35
+ <?php /* if ($product->isVisibleInSiteVisibility()): ?>
36
+ <p><a class="link-edit" href="<?php echo $this->getItemConfigureUrl($item) ?>"><?php echo $this->__('Edit') ?></a></p>
37
+ <?php endif */ ?>
38
+ </div>
39
+
40
+ <div class="wishlist-btn">
41
+ <?php if(Mage::getStoreConfig('quotation/quotation_gp/quotation_enabled')==1): ?>
42
+ <button type="button" title="<?php echo $this->__('Request For this product') ?>" onclick="setLocation('<?php echo $this->helper('wishlist')->getWproductInquiry($item) ?>')" class="button btn-cart"><span><span><?php echo $this->__('Request For this product') ?></span></span></button>
43
+ <?php endif;?>
44
+ </div>
45
+
46
+
47
+ </li>
app/design/frontend/default/default/template/wishlist/item/column/image.phtml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category design
4
+ * @package base_default
5
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
6
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
7
+ */
8
+
9
+ /* @var Mage_Wishlist_Model_Item $item */
10
+ $item = $this->getItem();
11
+ $product = $item->getProduct();
12
+ ?>
13
+ <li class="image" style="list-style-type:none;">
14
+ <a class="product-image" href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>">
15
+ <img src="<?php echo $this->helper('catalog/image')->init($product, 'small_image')->resize(120, 120); ?>" width="125" height="125" alt="<?php echo $this->escapeHtml($product->getName()) ?>" />
16
+ </a>
17
+ </li>
18
+
app/design/frontend/default/default/template/wishlist/item/column/info.phtml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category design
4
+ * @package base_default
5
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
6
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
7
+ */
8
+
9
+ /* @var Mage_Wishlist_Model_Item $item */
10
+ $item = $this->getItem();
11
+ $product = $item->getProduct();
12
+ ?>
13
+ <li class="details " style="list-style-type:none;">
14
+ <h3 class="product-name"><a href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>"><?php echo substr($this->escapeHtml($product->getName()),0,20) ?></a></h3>
15
+ <!--div class="description std">
16
+ <div class="inner"><?php echo $this->escapeHtml($this->stripTags($product->getShortDescription()));?></div>
17
+ </div-->
18
+ <!--textarea name="description[<?php echo $item->getWishlistItemId() ?>]" rows="3" cols="5" onfocus="focusComment(this)" onblur="focusComment(this)" title="<?php echo $this->__('Comment') ?>"><?php echo ($this->escapeHtml($item->getDescription())) ?></textarea-->
19
+ <?php /* if($this->getSortedChildren()): ?>
20
+ <div class="item-manage">
21
+ <?php foreach($this->getSortedChildren() as $childName):?>
22
+ <?php echo $this->getChildHtml($childName, false);?>
23
+ <?php endforeach;?>
24
+ </div>
25
+ <?php endif; */ ?>
26
+ <div class="additional-info">
27
+ <ul>
28
+ <?php if($product->getSku()!= '') : ?>
29
+ <li class="label"><?php echo $this->__('Model:')?></li>
30
+ <li class="txt"><?php echo $product->getSku(); ?></li>
31
+ <?php endif; ?>
32
+ <?php if($product->getName()!= '') : ?>
33
+ <li class="label"><?php echo $this->__('Product:')?></li>
34
+ <li class="txt"><?php echo $product->getName(); ?></li>
35
+ <?php endif; ?>
36
+ <?php if($product->getType()!= '') : ?>
37
+ <li class="label"><?php echo $this->__('Type:')?></li>
38
+ <li class="txt"><?php echo $product->getType(); ?></li>
39
+ <?php endif; ?>
40
+
41
+ <li class="label"><?php echo htmlentities($this->__('Capacity:'))?></li>
42
+ <li class="txt"><?php echo htmlentities($this->__('Facettengl�ser')) ?></li>
43
+ <?php if($product->getColor()!= '') : ?>
44
+ <li class="label"><?php echo $this->__('Color:')?></li>
45
+ <li class="txt"><?php echo $product->getAttributeText('color'); ?></li>
46
+ <?php endif; ?>
47
+ <?php if($product->getPiecesPerPallet()!= '') : ?>
48
+ <li class="label"><?php echo htmlentities($this->__('Pieces per pallet:')) ?></li>
49
+ <li class="txt"><?php echo $product->getPiecesPerPallet(); ?></li>
50
+ <?php endif; ?>
51
+ </ul>
52
+ </div>
53
+ </li>
app/design/frontend/default/default/template/wishlist/item/column/remove.phtml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ ?>
28
+ <a href="<?php echo $this->getItemRemoveUrl($this->getItem()); ?>" onclick="return confirmRemoveWishlistItem();" title="<?php echo $this->__('Remove Item') ?>"
29
+ class="btn-remove btn-remove2"><?php echo $this->__('Remove item');?></a>
app/design/frontend/default/default/template/wishlist/item/configure/addto.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php $_wishlistItem = $this->getWishlistItem(); ?>
29
+ <?php $_wishlistSubmitUrl = $this->helper('wishlist')->getUpdateUrl($_wishlistItem); ?>
30
+ <ul class="add-to-links">
31
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
32
+ <li><a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="link-compare"><?php echo $this->__('Update Wishlist') ?></a></li>
33
+ <?php endif; ?>
34
+ <?php $_product = $this->getProduct(); ?>
35
+ <?php $_compareUrl = $this->helper('catalog/product_compare')->getAddUrl($_product); ?>
36
+ <?php if ($_compareUrl) : ?>
37
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
38
+ <?php endif; ?>
39
+ </ul>
app/design/frontend/default/default/template/wishlist/view.phtml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category design
4
+ * @package base_default
5
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
6
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
7
+ */
8
+ /* @var $this Mage_Wishlist_Block_Customer_Wishlist */
9
+ ?>
10
+ <?php
11
+ //echo Mage::getStoreConfig('quotation/quotation_gp/quotation_enabled');
12
+ if ($this->helper('wishlist')->isAllow()) : ?>
13
+ <div class="my-wishlist">
14
+ <div class="page-title title-buttons">
15
+ <?php if ($this->helper('wishlist')->isRssAllow() && $this->hasWishlistItems()): ?>
16
+ <a href="<?php echo $this->helper('wishlist')->getRssUrl($this->getWishlistInstance()->getId()); ?>" class="link-rss"><?php echo $this->__('RSS Feed') ?></a>
17
+ <?php endif; ?>
18
+ <div class ="w-itile">
19
+ <?php if(Mage::getStoreConfig('quotation/quotation_gp/quotation_enabled')==1): ?>
20
+ <h1>Request For Quote</h1>
21
+ </div>
22
+ <div class="merklist">
23
+ <span class="mrk-title"><a onclick="window.print()"><?php echo $this->__('Print Quote'); ?></a></span>
24
+
25
+ </div>
26
+ <?php else:?>
27
+ <h1>Wishlist</h1>
28
+ </div>
29
+ <div class="merklist">
30
+ <span class="mrk-title"><a onclick="window.print()"><?php echo $this->__('Print Wishlist'); ?></a></span>
31
+
32
+ </div>
33
+ <?php endif;?>
34
+ </div>
35
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
36
+
37
+ <form id="wishlist-view-form" action="<?php echo $this->getUrl('*/*/update', array('wishlist_id' => $this->getWishlistInstance()->getId())) ?>" method="post">
38
+ <?php echo $this->getChildHtml('top'); ?>
39
+ <fieldset>
40
+ <?php if ($this->hasWishlistItems()): ?>
41
+ <?php echo $this->getBlockHtml('formkey');?>
42
+ <?php $this->getChild('items')->setItems($this->getWishlistItems()); ?>
43
+ <?php echo $this->getChildHtml('items');?>
44
+ <script type="text/javascript">decorateTable('wishlist-table')</script>
45
+ <?php else: ?>
46
+ <p class="wishlist-empty"><?php echo $this->__('You have no items in your wishlist.') ?></p>
47
+ <?php endif ?>
48
+ <?php if(Mage::getStoreConfig('quotation/quotation_gp/quotation_enabled')==1): ?>
49
+ <div class="all_item" style="float: right;margin-top: 10px;">
50
+ <button type="button" title="<?php echo $this->__('Inquire on all items') ?>" onclick="setLocation('<?php echo $this->getUrl('inquiry/index') ?>')" class="button btn-cart"><span><span><?php echo $this->__('Request For all items') ?></span></span></button>
51
+ </div>
52
+ <?php endif;?>
53
+ <?php /* ?>
54
+ <div class="buttons-set buttons-set2">
55
+
56
+
57
+ <?php echo $this->getChild('control_buttons')->toHtml();?>
58
+ </div>
59
+ <?php */ ?>
60
+ </fieldset>
61
+ </form>
62
+
63
+ <script type="text/javascript">
64
+ //<![CDATA[
65
+ var wishlistForm = new Validation($('wishlist-view-form'));
66
+ function addAllWItemsToCart() {
67
+ var url = '<?php echo $this->getUrl('*/*/allcart', array('wishlist_id' => $this->getWishlistInstance()->getId())) ?>';
68
+ var separator = (url.indexOf('?') >= 0) ? '&' : '?';
69
+ $$('#wishlist-view-form .qty').each(
70
+ function (input, index) {
71
+ url += separator + input.name + '=' + encodeURIComponent(input.value);
72
+ separator = '&';
73
+ }
74
+ );
75
+ setLocation(url);
76
+ }
77
+ //]]>
78
+ </script>
79
+ </div>
80
+ <?php echo $this->getChildHtml('bottom'); ?>
81
+ <!--div class="buttons-set">
82
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
83
+ </div-->
84
+ <?php endif ?>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Helios_Inquiry</name>
4
- <version>0.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Request For Quote.</summary>
10
  <description>Request For Quote.</description>
11
- <notes>This is Stable Version</notes>
12
  <authors><author><name>Helios</name><user>Solutions</user><email>hsmagento.support@heliossolutions.in</email></author></authors>
13
- <date>2014-03-10</date>
14
- <time>05:55:02</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Helios_Inquiry.xml" hash="36da13c066feb9f8eed31c259014a192"/></dir></target><target name="magecommunity"><dir name="Helios"><dir name="Inquiry"><dir name="Block"><file name="About.php" hash="691c6b5a4628b8365631301210f974b3"/><file name="Inquiry.php" hash="5dbd232ef05babc7279066f5b65f6109"/><dir name="Manage"><file name="Inquiry.php" hash="f958d2ff5e4ae22975f29d493b27b15e"/></dir></dir><dir name="Helper"><file name="Data.php" hash="15231d946593e8ecb05a52d013c0e44e"/></dir><dir name="Model"><file name="Inquiry.php" hash="7ac0d85126e181fb010f2b1ced389913"/><dir name="Mysql4"><dir name="Inquiry"><file name="Collection.php" hash="06a54ae1e0d9530091cb088c7eceeed1"/></dir><file name="Inquiry.php" hash="92aa486552abd38768509689e6f54377"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="2fd8f5808d700a575c2692b885710656"/><dir name="Manage"><file name="InquiryController.php" hash="1f07ded4866b4e134dc78dc273d73ad5"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="a66146fdaf36205b8d2b41a239c269de"/><file name="config.xml" hash="2cb0423641f023f63f3402ede7c3a865"/><file name="system.xml" hash="c538e7fb722440000c1aa11d7651673b"/></dir><dir name="sql"><dir name="inquiry_setup"><file name="mysql4-install-0.1.1.php" hash="44f1a633e76cfcd6f22761612c13bc9b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="inquiry.xml" hash="6dc8ff8db875b94d7ce9ce8b53f917fd"/></dir><dir name="template"><dir name="inquiry"><file name="inquiry.phtml" hash="e4ca5fd490752b718d78c25034248d44"/><file name="view.phtml" hash="6f226c110ed3ee813cd0edbb40147382"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="inquiry.xml" hash="ac67ff269acc8487c7f8a01f1a5736e6"/></dir><dir name="template"><dir name="inquiry"><file name="inquiry.phtml" hash="cc6a6bb197be8cf5564bb53e534cce30"/><file name="thanks.phtml" hash="8a404593f7c09edb17d86821b8fbd622"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="Helios"><file name="favicon.ico" hash="4b97fae574b5202973c8c032affd0049"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Helios_Inquiry</name>
4
+ <version>0.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Request For Quote.</summary>
10
  <description>Request For Quote.</description>
11
+ <notes>This is stable version</notes>
12
  <authors><author><name>Helios</name><user>Solutions</user><email>hsmagento.support@heliossolutions.in</email></author></authors>
13
+ <date>2014-03-11</date>
14
+ <time>04:28:36</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Helios_Inquiry.xml" hash="36da13c066feb9f8eed31c259014a192"/></dir></target><target name="magecommunity"><dir name="Helios"><dir name="Inquiry"><dir name="Block"><file name="About.php" hash="691c6b5a4628b8365631301210f974b3"/><file name="Inquiry.php" hash="5dbd232ef05babc7279066f5b65f6109"/><dir name="Manage"><file name="Inquiry.php" hash="f958d2ff5e4ae22975f29d493b27b15e"/></dir></dir><dir name="Helper"><file name="Data.php" hash="15231d946593e8ecb05a52d013c0e44e"/></dir><dir name="Model"><file name="Inquiry.php" hash="7ac0d85126e181fb010f2b1ced389913"/><dir name="Mysql4"><dir name="Inquiry"><file name="Collection.php" hash="06a54ae1e0d9530091cb088c7eceeed1"/></dir><file name="Inquiry.php" hash="92aa486552abd38768509689e6f54377"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="43f3d8402352e360ffbdbe88e7b94494"/><dir name="Manage"><file name="InquiryController.php" hash="1f07ded4866b4e134dc78dc273d73ad5"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="a66146fdaf36205b8d2b41a239c269de"/><file name="config.xml" hash="895c86cfeebe91cee9e34dbcd771d429"/><file name="system.xml" hash="c538e7fb722440000c1aa11d7651673b"/></dir><dir name="sql"><dir name="inquiry_setup"><file name="mysql4-install-0.1.1.php" hash="44f1a633e76cfcd6f22761612c13bc9b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="inquiry.xml" hash="6dc8ff8db875b94d7ce9ce8b53f917fd"/></dir><dir name="template"><dir name="inquiry"><file name="inquiry.phtml" hash="e4ca5fd490752b718d78c25034248d44"/><file name="view.phtml" hash="6f226c110ed3ee813cd0edbb40147382"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="inquiry.xml" hash="ac67ff269acc8487c7f8a01f1a5736e6"/><file name="wishlist.xml" hash="05271d33c0c350ebd246854b09621b16"/></dir><dir name="template"><dir name="inquiry"><file name="inquiry.phtml" hash="cc6a6bb197be8cf5564bb53e534cce30"/><file name="thanks.phtml" hash="8a404593f7c09edb17d86821b8fbd622"/></dir><dir name="wishlist"><dir name="item"><dir name="column"><file name="cart.phtml" hash="21680c39d00e06d6a084bfee98bf40c8"/><file name="image.phtml" hash="0d715312206341c9a2690f730e765154"/><file name="info.phtml" hash="ad7341ea7c77c73212ab56fc4f8fcbc6"/><file name="remove.phtml" hash="cde507827b5765fd03ea57d435f242c8"/></dir><dir name="configure"><file name="addto.phtml" hash="ef68254fee66c9ac36232238137d1e50"/></dir></dir><file name="view.phtml" hash="6c5a207d5d40f48381c0ab673abbc3a8"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="Helios"><file name="favicon.ico" hash="4b97fae574b5202973c8c032affd0049"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>