Version Notes
This is Stable Version
Download this release
Release Info
Developer | Helios |
Extension | Helios_Inquiry |
Version | 0.1.2 |
Comparing to | |
See all releases |
Code changes from version 0.1.1 to 0.1.2
- app/code/community/Helios/Inquiry/controllers/IndexController.php +2 -2
- app/code/community/Helios/Inquiry/controllers/Manage/InquiryController.php +0 -152
- app/code/community/Helios/Inquiry/etc/config.xml +1 -1
- app/code/community/Helios/Inquiry/etc/system.xml +20 -11
- app/design/adminhtml/default/default/layout/inquiry.xml +0 -1
- app/design/adminhtml/default/default/template/inquiry/inquiry.phtml +2 -6
- app/design/adminhtml/default/default/template/inquiry/view.phtml +10 -37
- app/design/frontend/default/default/layout/wishlist.xml +0 -142
- app/design/frontend/default/default/template/wishlist/item/column/cart.phtml +0 -47
- app/design/frontend/default/default/template/wishlist/item/column/image.phtml +0 -18
- app/design/frontend/default/default/template/wishlist/item/column/info.phtml +0 -53
- app/design/frontend/default/default/template/wishlist/item/column/remove.phtml +0 -29
- app/design/frontend/default/default/template/wishlist/item/configure/addto.phtml +0 -39
- app/design/frontend/default/default/template/wishlist/view.phtml +0 -84
- package.xml +6 -6
app/code/community/Helios/Inquiry/controllers/IndexController.php
CHANGED
@@ -105,8 +105,8 @@ class Helios_Inquiry_IndexController extends Mage_Core_Controller_Front_Action
|
|
105 |
</tr>
|
106 |
</table>';
|
107 |
$adminSubject = "Produkte Inquiry from New Customer";
|
108 |
-
$adminName = Mage::getStoreConfig('
|
109 |
-
$adminEmail = Mage::getStoreConfig('
|
110 |
$headers = "MIME-Version: 1.0" . "\r\n";
|
111 |
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
|
112 |
$headers .= 'From:'.$adminEmail;
|
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";
|
111 |
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
|
112 |
$headers .= 'From:'.$adminEmail;
|
app/code/community/Helios/Inquiry/controllers/Manage/InquiryController.php
CHANGED
@@ -43,157 +43,5 @@ class Helios_Inquiry_Manage_InquiryController extends Mage_Adminhtml_Controller_
|
|
43 |
$this->renderLayout();
|
44 |
|
45 |
}
|
46 |
-
public function createCustomerAction()
|
47 |
-
{
|
48 |
-
$del = $this->getRequest()->getParam('multival');
|
49 |
-
$values = explode('~~',$del);
|
50 |
-
$country11 = $values[9];
|
51 |
-
$country1 = explode('$$$',$country11);
|
52 |
-
function RandomPassword($PwdLength=8, $PwdType='standard')
|
53 |
-
{
|
54 |
-
// $PwdType can be one of these:
|
55 |
-
// test .. .. .. always returns the same password = "test"
|
56 |
-
// any .. .. .. returns a random password, which can contain strange characters
|
57 |
-
// alphanum . .. returns a random password containing alphanumerics only
|
58 |
-
// standard . .. same as alphanum, but not including l10O (lower L, one, zero, upper O)
|
59 |
-
$Ranges='';
|
60 |
-
|
61 |
-
if('test'==$PwdType) return 'test';
|
62 |
-
elseif('standard'==$PwdType) $Ranges='65-78,80-90,97-107,109-122,50-57';
|
63 |
-
elseif('alphanum'==$PwdType) $Ranges='65-90,97-122,48-57';
|
64 |
-
elseif('any'==$PwdType) $Ranges='40-59,61-91,93-126';
|
65 |
-
|
66 |
-
if($Ranges<>'')
|
67 |
-
{
|
68 |
-
$Range=explode(',',$Ranges);
|
69 |
-
$NumRanges=count($Range);
|
70 |
-
mt_srand(time()); //not required after PHP v4.2.0
|
71 |
-
$p='';
|
72 |
-
for ($i = 1; $i <= $PwdLength; $i++)
|
73 |
-
{
|
74 |
-
$r=mt_rand(0,$NumRanges-1);
|
75 |
-
list($min,$max)=explode('-',$Range[$r]);
|
76 |
-
$p.=chr(mt_rand($min,$max));
|
77 |
-
}
|
78 |
-
return $p;
|
79 |
-
}
|
80 |
-
}
|
81 |
-
$randompass = RandomPassword(9,'standard');
|
82 |
-
|
83 |
-
$customer = Mage::getModel('customer/customer');
|
84 |
-
$website_id = 1;
|
85 |
-
|
86 |
-
$customer->setWebsiteId($website_id);
|
87 |
-
$customer->loadByEmail($values[0]);
|
88 |
-
if(!$customer->getId())
|
89 |
-
{
|
90 |
-
$groups = Mage::getResourceModel('customer/group_collection')->getData();
|
91 |
-
$groupID = '1';
|
92 |
-
$customer->setData('group_id', $groupID );
|
93 |
-
$customer->setData('website_id', '1' );
|
94 |
-
$customer->setData('is_active', '1');
|
95 |
-
$customer->setData('customer_activated', '1');
|
96 |
-
$customer->setStatus(1);
|
97 |
-
$customer->setEmail($values[0]);
|
98 |
-
$customer->setFirstname($values[1]);
|
99 |
-
$customer->setLastname($values[2]);
|
100 |
-
$customer->setTaxvat($values[10]);
|
101 |
-
//$customer->setPassword($randompass);
|
102 |
-
$customer->setPassword($values[1].'pass');
|
103 |
-
$customer->setConfirmation(null);
|
104 |
-
$customer->save();
|
105 |
-
if($customer->save())
|
106 |
-
{
|
107 |
-
//If you use this extension on local then please comment the mail functionality to use it properly.
|
108 |
-
///Beginning of Mail functionality.......
|
109 |
-
$adminEmail = Mage::getStoreConfig('trans_email/ident_general/email');
|
110 |
-
$adminName = Mage::getStoreConfig('trans_email/ident_general/name');
|
111 |
-
$fromEmail = $adminEmail;
|
112 |
-
$fromName = $adminName;
|
113 |
-
|
114 |
-
$toEmail = $values[0];
|
115 |
-
$toName = $values[1].$values[2];
|
116 |
-
|
117 |
-
$body = '<table border="1">
|
118 |
-
<tr>
|
119 |
-
<td>
|
120 |
-
<table border="0">
|
121 |
-
<tr>
|
122 |
-
<Td>Hello '.$values[1].' '.$values[2].',</Td>
|
123 |
-
</tr>
|
124 |
-
<tr>
|
125 |
-
<Td><p>Thank You for Register with '.$adminName.'.Your Login Details for access your Account.....</p></Td>
|
126 |
-
</tr>
|
127 |
-
<tr>
|
128 |
-
<Td><p>Login Email : '.$values[0].' </p></Td>
|
129 |
-
</tr>
|
130 |
-
<tr>
|
131 |
-
<Td><p>Login Password : '.$randompass.' </p></Td>
|
132 |
-
</tr>
|
133 |
-
<tr>
|
134 |
-
<Td><p>You can login directly in your account from here with given login details..... <br /><br />'. Mage::getBaseUrl().'customer/account/login/</p></Td>
|
135 |
-
</tr>
|
136 |
-
<tr><td colspan="2"> </td></tr>
|
137 |
-
<tr>
|
138 |
-
<td colspan="2">Thank You.</td>
|
139 |
-
</tr>
|
140 |
-
</table>
|
141 |
-
</td>
|
142 |
-
</tr>
|
143 |
-
</table>';
|
144 |
-
$subject = " Registration Details of Customer Inquiry ";
|
145 |
-
|
146 |
-
$mail = new Zend_Mail();
|
147 |
-
|
148 |
-
$mail->setBodyHtml($body);
|
149 |
-
|
150 |
-
$mail->setFrom($fromEmail, $fromName);
|
151 |
-
|
152 |
-
$mail->addTo($toEmail, $toName);
|
153 |
-
|
154 |
-
$mail->setSubject($subject);
|
155 |
-
|
156 |
-
try {
|
157 |
-
$mail->send();
|
158 |
-
}
|
159 |
-
catch(Exception $ex) {
|
160 |
-
Mage::getSingleton('core/session')
|
161 |
-
->__('Unable to send email.');
|
162 |
-
}
|
163 |
-
///End of Mail functionality.......
|
164 |
-
Mage::getSingleton('core/session')->addSuccess("Customer Account Created successfully.");
|
165 |
-
}
|
166 |
-
//Build billing and shipping address for customer, for checkout
|
167 |
-
$_custom_address = array (
|
168 |
-
'street' => array (
|
169 |
-
'0' => $values[4],
|
170 |
-
//'1' => $values[11],
|
171 |
-
),
|
172 |
-
'firstname' => $values[1],
|
173 |
-
'lastname' => $values[2],
|
174 |
-
'company' => $values[3],
|
175 |
-
'city' => $values[5],
|
176 |
-
'region_id' => '',
|
177 |
-
'region' => $values[6],
|
178 |
-
'postcode' => $values[7],
|
179 |
-
'country_id' => $country1[0],
|
180 |
-
'telephone' => $values[8],
|
181 |
-
);
|
182 |
-
|
183 |
-
$customAddress = Mage::getModel('customer/address');
|
184 |
-
$customAddress->setData($_custom_address)
|
185 |
-
->setCustomerId($customer->getId())
|
186 |
-
->setIsDefaultBilling('1')
|
187 |
-
->setIsDefaultShipping('1')
|
188 |
-
->setSaveInAddressBook('1');
|
189 |
-
|
190 |
-
try {
|
191 |
-
$customAddress->save();
|
192 |
-
}
|
193 |
-
catch (Exception $ex) {
|
194 |
-
}
|
195 |
-
$this->_redirectReferer();
|
196 |
-
}
|
197 |
-
}
|
198 |
}
|
199 |
?>
|
43 |
$this->renderLayout();
|
44 |
|
45 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
}
|
47 |
?>
|
app/code/community/Helios/Inquiry/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Helios_Inquiry>
|
5 |
-
<version>0.1.
|
6 |
</Helios_Inquiry>
|
7 |
</modules>
|
8 |
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Helios_Inquiry>
|
5 |
+
<version>0.1.2</version>
|
6 |
</Helios_Inquiry>
|
7 |
</modules>
|
8 |
|
app/code/community/Helios/Inquiry/etc/system.xml
CHANGED
@@ -46,17 +46,26 @@
|
|
46 |
<show_in_default>1</show_in_default>
|
47 |
<show_in_website>1</show_in_website>
|
48 |
<show_in_store>1</show_in_store>
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
</emailsetting>
|
61 |
<quotation_gp translate="label">
|
62 |
<label>Set Quotation </label>
|
46 |
<show_in_default>1</show_in_default>
|
47 |
<show_in_website>1</show_in_website>
|
48 |
<show_in_store>1</show_in_store>
|
49 |
+
<fields>
|
50 |
+
<sender_name translate="label">
|
51 |
+
<label>Recipent Name</label>
|
52 |
+
<frontend_type>text</frontend_type>
|
53 |
+
<comment></comment>
|
54 |
+
<sort_order>2</sort_order>
|
55 |
+
<show_in_default>1</show_in_default>
|
56 |
+
<show_in_website>1</show_in_website>
|
57 |
+
<show_in_store>1</show_in_store>
|
58 |
+
</sender_name>
|
59 |
+
<sender_email translate="label">
|
60 |
+
<label>Send E-Mail To</label>
|
61 |
+
<frontend_type>text</frontend_type>
|
62 |
+
<comment></comment>
|
63 |
+
<sort_order>3</sort_order>
|
64 |
+
<show_in_default>1</show_in_default>
|
65 |
+
<show_in_website>1</show_in_website>
|
66 |
+
<show_in_store>1</show_in_store>
|
67 |
+
</sender_email>
|
68 |
+
</fields>
|
69 |
</emailsetting>
|
70 |
<quotation_gp translate="label">
|
71 |
<label>Set Quotation </label>
|
app/design/adminhtml/default/default/layout/inquiry.xml
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
-
* @copyright Copyright (c) 2010 Capacity Web Solutions Pvt. Ltd (http://www.capacitywebsolutions.com)
|
5 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
6 |
*/
|
7 |
-->
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
|
|
4 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
5 |
*/
|
6 |
-->
|
app/design/adminhtml/default/default/template/inquiry/inquiry.phtml
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* @copyright Copyright (c) 2010 Capacity Web Solutions Pvt. Ltd (http://www.capacitywebsolutions.com)
|
4 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
5 |
*/
|
6 |
-
|
7 |
?>
|
8 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
9 |
<html lang="en">
|
@@ -65,11 +63,9 @@
|
|
65 |
|
66 |
<a href="<?php echo $this->getUrl("inquiry/index/del/delid/".$item['inquiryid'])?>" onclick="javascript:return confirm('Are you sure to delete this Inquire?')"><img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN)."adminhtml/default/default/images/icon_btn_delete.gif";?>" alt="Delete" title="Delete" /></a>
|
67 |
|
68 |
-
<a href="<?php echo Mage::helper("adminhtml")->getUrl("inquiry/manage_inquiry/view/delid/".$item['inquiryid']);?>"
|
|
|
69 |
|
70 |
-
<?php /*if($IsCreated==0) {?>
|
71 |
-
<a href="<?php echo Mage::helper("adminhtml")->getUrl("inquiry/manage_inquiry/createCustomer/multival/".$item['email'].'~~'.$item['firstname'].'~~'.$item['lastname'].'~~'.$item['company'].'~~'.$item['address'].'~~'.$item['city'].'~~'.$item['state'].'~~'.$item['zip'].'~~'.$item['phone'].'~~'.$item['country'].'~~'.$item['taxvat']);?>" onclick="javascript:return confirm('Are you sure to create the account?')"><img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN)."adminhtml/default/default/images/fam_page_white_edit.gif";?>" alt="Create Customer" title="Create Customer" /></a></td>
|
72 |
-
<?php }*/ ?>
|
73 |
</tr>
|
74 |
<?php $i++;
|
75 |
}
|
1 |
<?php
|
2 |
/**
|
|
|
3 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
4 |
*/
|
|
|
5 |
?>
|
6 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
7 |
<html lang="en">
|
63 |
|
64 |
<a href="<?php echo $this->getUrl("inquiry/index/del/delid/".$item['inquiryid'])?>" onclick="javascript:return confirm('Are you sure to delete this Inquire?')"><img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN)."adminhtml/default/default/images/icon_btn_delete.gif";?>" alt="Delete" title="Delete" /></a>
|
65 |
|
66 |
+
<a href="<?php echo Mage::helper("adminhtml")->getUrl("inquiry/manage_inquiry/view/delid/".$item['inquiryid']);?>">
|
67 |
+
<img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN)."adminhtml/default/default/images/fam_page_white.gif";?>" alt="View" title="View" /></a>
|
68 |
|
|
|
|
|
|
|
69 |
</tr>
|
70 |
<?php $i++;
|
71 |
}
|
app/design/adminhtml/default/default/template/inquiry/view.phtml
CHANGED
@@ -6,21 +6,6 @@
|
|
6 |
$item = $this->getAllDealer($this->getRequest()->getParam("delid"));
|
7 |
$IsCreated = $this->getIsCreated($item['email']);
|
8 |
$produckteinfo = unserialize(base64_decode($item['produckteinfo']));
|
9 |
-
//echo "<pre>";
|
10 |
-
//print_r($produckteinfo);
|
11 |
-
|
12 |
-
//$productIds = implode(',',$produckteinfo);
|
13 |
-
//$items_count = sizeof($produckteinfo);
|
14 |
-
//echo $items_count;
|
15 |
-
/* if($items_count > 1)
|
16 |
-
{
|
17 |
-
$products = Mage::getModel('catalog/product')->getCollection()
|
18 |
-
->addAttributeToFilter('entity_id', array('in' => $productIds));
|
19 |
-
}else{
|
20 |
-
$productId = $produckteinfo[0];
|
21 |
-
$product = Mage::getModel('catalog/product')->load($productId);
|
22 |
-
}*/
|
23 |
-
$product = Mage::getModel('catalog/product')->load(52);
|
24 |
|
25 |
|
26 |
?>
|
@@ -39,26 +24,13 @@
|
|
39 |
</table>
|
40 |
</div>
|
41 |
<?php $prevurl = Mage::helper("adminhtml")->getUrl("inquiry/manage_inquiry/index/"); ?>
|
42 |
-
<div class="back"><a href="<?php echo $prevurl;?>"><span><font size="4px">«</font> Back</span></a>  
|
43 |
-
<?php /*if($IsCreated==0) {?>
|
44 |
-
<a href="<?php echo Mage::helper("adminhtml")->getUrl("inquiry/manage_inquiry/createCustomer/multival/".$item['email'].'~~'.$item['firstname'].'~~'.$item['lastname'].'~~'.$item['company'].'~~'.$item['address'].'~~'.$item['city'].'~~'.$item['state'].'~~'.$item['zip'].'~~'.$item['phone'].'~~'.$item['country'].'~~'.$item['taxvat']);?>" onclick="javascript:return confirm('Are you sure to create the account?')">Create Customer</a>
|
45 |
-
<?php } */
|
46 |
-
?>
|
47 |
-
</div>
|
48 |
<div class="grid">
|
49 |
<div class="hor-scroll">
|
50 |
<table cellspacing="0" id="cmsPageGrid_table" class="data">
|
51 |
<col width="10">
|
52 |
<thead>
|
53 |
<tbody>
|
54 |
-
<!--tr class="even pointer">
|
55 |
-
<td class=""width="15%">produkteinfo</td>
|
56 |
-
<td class="a-left "><?php echo $item['produckteinfo'];?></td>
|
57 |
-
</tr-->
|
58 |
-
<!--tr class="even pointer">
|
59 |
-
<td class=""width="15%">Subject</td>
|
60 |
-
<td class="a-left "><?php echo $item['subject'];?></td>
|
61 |
-
</tr-->
|
62 |
<tr class="even pointer">
|
63 |
<td class=""width="15%">First Name</td>
|
64 |
<td class="a-left "><?php echo $item['firstname'];?></td>
|
@@ -134,26 +106,27 @@
|
|
134 |
<td width="15%"><strong>Quantity</strong></td>
|
135 |
<td width="15%"><strong>Description</strong></td>
|
136 |
<td width="15%"><strong>Price</strong></td>
|
137 |
-
<!--td width="15%"><strong>Attributes</strong></td-->
|
138 |
-
|
139 |
</tr>
|
140 |
<?php
|
141 |
$i=0;
|
|
|
142 |
foreach($produckteinfo as $prodata)
|
143 |
{
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
|
|
|
|
|
|
148 |
?>
|
149 |
<tr class="even pointer">
|
150 |
-
<td align="center"><img src="<?php echo $
|
151 |
<td align="left"><?php echo $product->getName(); ?></td>
|
152 |
<td align="left"><?php echo $product->getSku(); ?></td>
|
153 |
<td align="left"><?php echo $prodata['qty']; ?></td>
|
154 |
<td align="left"><?php echo $product->getShortDescription(); ?></td>
|
155 |
<td align="left"><?php echo Mage::helper('core')->currency($product->getPrice()); ?></td>
|
156 |
-
<!--td align="left"><?php echo "<strong>Color:</strong>".$product->getAttributeText('color')."<br>"; ?></td-->
|
157 |
</tr>
|
158 |
<?php $i++; } ?>
|
159 |
|
6 |
$item = $this->getAllDealer($this->getRequest()->getParam("delid"));
|
7 |
$IsCreated = $this->getIsCreated($item['email']);
|
8 |
$produckteinfo = unserialize(base64_decode($item['produckteinfo']));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
|
11 |
?>
|
24 |
</table>
|
25 |
</div>
|
26 |
<?php $prevurl = Mage::helper("adminhtml")->getUrl("inquiry/manage_inquiry/index/"); ?>
|
27 |
+
<div class="back"><a href="<?php echo $prevurl;?>"><span><font size="4px">«</font> Back</span></a> </div>
|
|
|
|
|
|
|
|
|
|
|
28 |
<div class="grid">
|
29 |
<div class="hor-scroll">
|
30 |
<table cellspacing="0" id="cmsPageGrid_table" class="data">
|
31 |
<col width="10">
|
32 |
<thead>
|
33 |
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
<tr class="even pointer">
|
35 |
<td class=""width="15%">First Name</td>
|
36 |
<td class="a-left "><?php echo $item['firstname'];?></td>
|
106 |
<td width="15%"><strong>Quantity</strong></td>
|
107 |
<td width="15%"><strong>Description</strong></td>
|
108 |
<td width="15%"><strong>Price</strong></td>
|
|
|
|
|
109 |
</tr>
|
110 |
<?php
|
111 |
$i=0;
|
112 |
+
|
113 |
foreach($produckteinfo as $prodata)
|
114 |
{
|
115 |
+
$productId = $prodata['product'];
|
116 |
+
$product = Mage::getModel('catalog/product')->load($productId);
|
117 |
+
if($product->getImage()== 'no_selection'){
|
118 |
+
$image = $this->getSkinUrl('images/placeholder/thumbnail.jpg');
|
119 |
+
}else {
|
120 |
+
$image = $product->getImageUrl();
|
121 |
+
}
|
122 |
?>
|
123 |
<tr class="even pointer">
|
124 |
+
<td align="center"><img src="<?php echo $image; ?>" width="100" height="100" /></td>
|
125 |
<td align="left"><?php echo $product->getName(); ?></td>
|
126 |
<td align="left"><?php echo $product->getSku(); ?></td>
|
127 |
<td align="left"><?php echo $prodata['qty']; ?></td>
|
128 |
<td align="left"><?php echo $product->getShortDescription(); ?></td>
|
129 |
<td align="left"><?php echo Mage::helper('core')->currency($product->getPrice()); ?></td>
|
|
|
130 |
</tr>
|
131 |
<?php $i++; } ?>
|
132 |
|
app/design/frontend/default/default/layout/wishlist.xml
DELETED
@@ -1,142 +0,0 @@
|
|
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
DELETED
@@ -1,47 +0,0 @@
|
|
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
DELETED
@@ -1,18 +0,0 @@
|
|
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
DELETED
@@ -1,53 +0,0 @@
|
|
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
DELETED
@@ -1,29 +0,0 @@
|
|
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
DELETED
@@ -1,39 +0,0 @@
|
|
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
DELETED
@@ -1,84 +0,0 @@
|
|
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>« </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.
|
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>
|
11 |
-
<notes>This is Stable
|
12 |
<authors><author><name>Helios</name><user>Solutions</user><email>hsmagento.support@heliossolutions.in</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<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="
|
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.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>
|