This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/afl-3.0.php | |
* If you did not receive a copy of the license and are unable to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: app/code/local/Cleargo/Ventica/controllers/NewsletterController.php | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- app/code/local/Cleargo/Ventica/controllers/NewsletterController.php (revision ) | |
+++ app/code/local/Cleargo/Ventica/controllers/NewsletterController.php (revision ) | |
@@ -5,6 +5,11 @@ | |
//--- get data from url | |
$email = $this->getRequest()->getParam('email'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$_product = $this->getProduct(); | |
$attribute_set_id = $_product->getAttributeSetId(); | |
$attribute_set_name = Mage::getModel('eav/entity_attribute_set')->load($attribute_set_id)->getAttributeSetName(); | |
$product_id = $_product->getId(); | |
//echo $product_id; | |
//if it is a printer, directly get printer's related product (cartridge) | |
if ($attribute_set_name=='printers'){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Cleargo_Orderexport_Block_Sales_Order_Grid extends | |
Mage_Adminhtml_Block_Sales_Order_Grid | |
{ | |
protected function _prepareMassaction() | |
{ | |
parent::_prepareMassaction(); | |
if (Mage::getStoreConfig("order_export/export_orders/active")) { | |
$this->getMassactionBlock()->addItem('orderexport_seperator', array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Cleargo_Orderexport_Block_Sales_Order_Grid extends | |
Mage_Adminhtml_Block_Sales_Order_Grid | |
{ | |
protected function _prepareMassaction() | |
{ | |
parent::_prepareMassaction(); | |
if (Mage::getStoreConfig("order_export/export_orders/active")) { | |
$this->getMassactionBlock()->addItem('orderexport_seperator', array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tetestset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head><meta http-equiv=Content-Type content="text/html; charset=UTF-8"> | |
<style type="text/css"> | |
<!-- | |
span.cls_004{font-family:"Calibri",serif;font-size:10.1px;color:rgb(146,146,146);font-weight:normal;font-style:normal;text-decoration: none} | |
div.cls_004{font-family:"Calibri",serif;font-size:10.1px;color:rgb(146,146,146);font-weight:normal;font-style:normal;text-decoration: none} | |
span.cls_002{font-family:"Calibri Bold",serif;font-size:24.1px;color:rgb(0,0,0);font-weight:bold;font-style:normal;text-decoration: none} | |
div.cls_002{font-family:"Calibri Bold",serif;font-size:24.1px;color:rgb(0,0,0);font-weight:bold;font-style:normal;text-decoration: none} | |
span.cls_003{font-family:"Calibri",serif;font-size:24.1px;color:rgb(0,0,0);font-weight:normal;font-style:normal;text-decoration: none} | |
div.cls_003{font-family:"Calibri",serif;font-size:24.1px;color:rgb(0,0,0);font-weight:normal;font-style:normal;text-decoration: none} |