packages: magento/amcustomerattr-optional.patch (NEW) - optional amcustomer...

glen glen at pld-linux.org
Fri Aug 27 14:57:24 CEST 2010


Author: glen                         Date: Fri Aug 27 12:57:24 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- optional amcustomerattr

---- Files affected:
packages/magento:
   amcustomerattr-optional.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/magento/amcustomerattr-optional.patch
diff -u /dev/null packages/magento/amcustomerattr-optional.patch:1.1
--- /dev/null	Fri Aug 27 14:57:24 2010
+++ packages/magento/amcustomerattr-optional.patch	Fri Aug 27 14:57:19 2010
@@ -0,0 +1,21 @@
+--- magento/app/design/frontend/base/default/template/checkout/onepage/billing.phtml	2010-06-14 10:21:21.000000000 +0300
++++ magento-dev-2/app/design/frontend/base/default/template/checkout/onepage/billing.phtml	2010-08-27 12:13:44.000000000 +0300
+@@ -144,7 +144,7 @@
+                     <?php echo $_taxvat->setTaxvat($this->getQuote()->getCustomerTaxvat())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
+                 </li>
+         <?php endif ?>
+-
++	<?php if($amcustomerattr = Mage::helper('amcustomerattr')){ echo $amcustomerattr->fields(); } ?>
+                 <li class="fields" id="register-customer-password">
+                     <div class="field">
+                         <label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
+--- magento/app/design/frontend/base/default/template/customer/form/edit.phtml	2010-06-14 10:21:22.000000000 +0300
++++ magento-dev-2/app/design/frontend/base/default/template/customer/form/edit.phtml	2010-08-27 12:15:11.000000000 +0300
+@@ -84,6 +84,7 @@
+             </li>
+         </ul>
+     </div>
++    <?php if($amcustomerattr = Mage::helper('amcustomerattr')){ echo $amcustomerattr->fields(); } ?>
+     <div class="buttons-set">
+         <p class="required"><?php echo $this->__('* Required Fields') ?></p>
+         <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
================================================================


More information about the pld-cvs-commit mailing list