Version Notes
Print_Science_Designer_Web_to_Print
Download this release
Release Info
| Developer | John Weissberg |
| Extension | Print_Science_Designer_Web_to_Print |
| Version | 1.1.5 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.2 to 1.1.5
- app/code/local/PrintScience/Personalization/Block/Adminhtml/Test.php +2 -3
- app/code/local/PrintScience/Personalization/Model/ApiGateway.php +2 -2
- app/code/local/PrintScience/Personalization/Model/ApiGateway/Response/GetPreview.php +31 -17
- app/code/local/PrintScience/Personalization/Model/Observer.php +0 -1
- app/code/local/PrintScience/Personalization/controllers/{TestController.php → Adminhtml/TestController.php} +1 -1
- app/code/local/PrintScience/Personalization/etc/config.xml +11 -1
- app/code/local/PrintScience/Personalization/sql/printscience_personalization_setup/mysql4-upgrade-1.1.2-1.1.3.php +40 -0
- app/design/adminhtml/default/default/template/printscience_personalization/sales/order/view/items/renderer/default.phtml +4 -4
- app/design/frontend/base/default/template/printscience_personalization/checkout/cart/item/default.phtml +0 -1
- app/design/frontend/base/default/template/printscience_personalization/checkout/cart/item/default.phtml___ +288 -0
- package.xml +4 -4
app/code/local/PrintScience/Personalization/Block/Adminhtml/Test.php
CHANGED
|
@@ -25,9 +25,8 @@ class Printscience_Personalization_Block_Adminhtml_Test extends Mage_Adminhtml_B
|
|
| 25 |
|
| 26 |
$buttonBlock = $this->getElement()->getForm()->getParent()->getLayout()->createBlock('adminhtml/widget_button');
|
| 27 |
|
| 28 |
-
|
| 29 |
-
$url = Mage::helper(
|
| 30 |
-
|
| 31 |
$buttonHtml = $this->getLayout()->createBlock('adminhtml/widget_button')
|
| 32 |
->setType('button')
|
| 33 |
->setLabel($this->__($title))
|
| 25 |
|
| 26 |
$buttonBlock = $this->getElement()->getForm()->getParent()->getLayout()->createBlock('adminhtml/widget_button');
|
| 27 |
|
| 28 |
+
//$url = Mage::helper("adminhtml")->getUrl("printscience_personalization/test/index");
|
| 29 |
+
$url = Mage::helper('adminhtml')->getUrl('personalization/adminhtml_test/index');
|
|
|
|
| 30 |
$buttonHtml = $this->getLayout()->createBlock('adminhtml/widget_button')
|
| 31 |
->setType('button')
|
| 32 |
->setLabel($this->__($title))
|
app/code/local/PrintScience/Personalization/Model/ApiGateway.php
CHANGED
|
@@ -99,12 +99,12 @@ class PrintScience_Personalization_Model_ApiGateway
|
|
| 99 |
{
|
| 100 |
$client = new xmlrpc_client(Mage::getStoreConfig('catalog/personalization/api_url'));
|
| 101 |
|
| 102 |
-
$function = new xmlrpcmsg('
|
| 103 |
php_xmlrpc_encode($sessionKey)
|
| 104 |
));
|
| 105 |
|
| 106 |
$response = $client->send($function);
|
| 107 |
-
|
| 108 |
return new PrintScience_Personalization_Model_ApiGateway_Response_GetPreview($response);
|
| 109 |
}
|
| 110 |
|
| 99 |
{
|
| 100 |
$client = new xmlrpc_client(Mage::getStoreConfig('catalog/personalization/api_url'));
|
| 101 |
|
| 102 |
+
$function = new xmlrpcmsg('getPreviewMulti', array(
|
| 103 |
php_xmlrpc_encode($sessionKey)
|
| 104 |
));
|
| 105 |
|
| 106 |
$response = $client->send($function);
|
| 107 |
+
|
| 108 |
return new PrintScience_Personalization_Model_ApiGateway_Response_GetPreview($response);
|
| 109 |
}
|
| 110 |
|
app/code/local/PrintScience/Personalization/Model/ApiGateway/Response/GetPreview.php
CHANGED
|
@@ -23,7 +23,11 @@ extends PrintScience_Personalization_Model_ApiGateway_Response_Abstract
|
|
| 23 |
*/
|
| 24 |
public function getPdfUrl()
|
| 25 |
{
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
}
|
| 28 |
|
| 29 |
/**
|
|
@@ -35,22 +39,32 @@ extends PrintScience_Personalization_Model_ApiGateway_Response_Abstract
|
|
| 35 |
{
|
| 36 |
$previewUrls = array();
|
| 37 |
$apiVersion = Mage::getStoreConfig('catalog/personalization/api_version');
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
return $previewUrls;
|
| 55 |
}
|
| 56 |
}
|
| 23 |
*/
|
| 24 |
public function getPdfUrl()
|
| 25 |
{
|
| 26 |
+
$previewUrlResponse = $this->response->value();
|
| 27 |
+
foreach($previewUrlResponse->me['array'] as $previewUrlMemberMulti) {
|
| 28 |
+
$pdfUrls[] = $previewUrlMemberMulti->structMem('pdf_url')->scalarval();
|
| 29 |
+
}
|
| 30 |
+
return $pdfUrls;
|
| 31 |
}
|
| 32 |
|
| 33 |
/**
|
| 39 |
{
|
| 40 |
$previewUrls = array();
|
| 41 |
$apiVersion = Mage::getStoreConfig('catalog/personalization/api_version');
|
| 42 |
+
|
| 43 |
+
$previewUrlResponse = $this->response->value();
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
foreach($previewUrlResponse->me['array'] as $previewUrlMemberMulti) {
|
| 47 |
+
|
| 48 |
+
$previewUrlMember = $previewUrlMemberMulti->structMem('preview_url');
|
| 49 |
+
|
| 50 |
+
// check api version
|
| 51 |
+
switch($apiVersion)
|
| 52 |
+
{
|
| 53 |
+
case '4.0.0':
|
| 54 |
+
for ($i = 0; $i < $previewUrlMember->arraySize(); $i++) {
|
| 55 |
+
$temp = $previewUrlMember->arrayMem($i)->scalarval();
|
| 56 |
+
$previewUrls[] = $temp[1]->scalarval();
|
| 57 |
+
}
|
| 58 |
+
break;
|
| 59 |
+
default:
|
| 60 |
+
for ($i = 0; $i < $previewUrlMember->arraySize(); $i++) {
|
| 61 |
+
$previewUrls[] = $previewUrlMember->arrayMem($i)->scalarval();
|
| 62 |
+
}
|
| 63 |
+
break;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
}
|
| 67 |
+
//exit;
|
| 68 |
return $previewUrls;
|
| 69 |
}
|
| 70 |
}
|
app/code/local/PrintScience/Personalization/Model/Observer.php
CHANGED
|
@@ -260,7 +260,6 @@ class PrintScience_Personalization_Model_Observer
|
|
| 260 |
if ((!$apiResponse) || ($apiResponse->getFaultCode())) {
|
| 261 |
continue;
|
| 262 |
}
|
| 263 |
-
|
| 264 |
$orderHelper->addItemData($orderItem, array(
|
| 265 |
'preview_pdf_url' => $apiResponse->getPdfUrl(),
|
| 266 |
'product_images' =>$apiResponse->getPeviewUrls()
|
| 260 |
if ((!$apiResponse) || ($apiResponse->getFaultCode())) {
|
| 261 |
continue;
|
| 262 |
}
|
|
|
|
| 263 |
$orderHelper->addItemData($orderItem, array(
|
| 264 |
'preview_pdf_url' => $apiResponse->getPdfUrl(),
|
| 265 |
'product_images' =>$apiResponse->getPeviewUrls()
|
app/code/local/PrintScience/Personalization/controllers/{TestController.php → Adminhtml/TestController.php}
RENAMED
|
@@ -4,7 +4,7 @@ require_once 'xmlrpc/xmlrpc.inc';
|
|
| 4 |
* Test the connection
|
| 5 |
*
|
| 6 |
*/
|
| 7 |
-
class
|
| 8 |
{
|
| 9 |
|
| 10 |
public function indexAction()
|
| 4 |
* Test the connection
|
| 5 |
*
|
| 6 |
*/
|
| 7 |
+
class PrintScience_Personalization_Adminhtml_TestController extends Mage_Adminhtml_Controller_Action
|
| 8 |
{
|
| 9 |
|
| 10 |
public function indexAction()
|
app/code/local/PrintScience/Personalization/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<PrintScience_Personalization>
|
| 5 |
-
<version>1.1.
|
| 6 |
</PrintScience_Personalization>
|
| 7 |
</modules>
|
| 8 |
<frontend>
|
|
@@ -177,6 +177,16 @@
|
|
| 177 |
</printscience_personalization_read>
|
| 178 |
</resources>
|
| 179 |
</global>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
<default>
|
| 181 |
<catalog>
|
| 182 |
<personalization>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<PrintScience_Personalization>
|
| 5 |
+
<version>1.1.5</version>
|
| 6 |
</PrintScience_Personalization>
|
| 7 |
</modules>
|
| 8 |
<frontend>
|
| 177 |
</printscience_personalization_read>
|
| 178 |
</resources>
|
| 179 |
</global>
|
| 180 |
+
<admin>
|
| 181 |
+
<routers>
|
| 182 |
+
<personalization>
|
| 183 |
+
<use>admin</use>
|
| 184 |
+
<args>
|
| 185 |
+
<module>Printscience_Personalization</module>
|
| 186 |
+
</args>
|
| 187 |
+
</personalization>
|
| 188 |
+
</routers>
|
| 189 |
+
</admin>
|
| 190 |
<default>
|
| 191 |
<catalog>
|
| 192 |
<personalization>
|
app/code/local/PrintScience/Personalization/sql/printscience_personalization_setup/mysql4-upgrade-1.1.2-1.1.3.php
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
$installer = $this;
|
| 3 |
+
$installer->installEntities();
|
| 4 |
+
|
| 5 |
+
if (!$installer->getConnection()->fetchOne("SELECT * FROM information_schema.COLUMNS WHERE TABLE_NAME = '{$this->getTable('sales/quote_item')}' AND COLUMN_NAME = 'personalization_info'")) {
|
| 6 |
+
$installer->run("
|
| 7 |
+
ALTER TABLE {$this->getTable('sales/quote_item')} ADD `personalization_info` TEXT NULL
|
| 8 |
+
");
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
$installer->startSetup();
|
| 12 |
+
$installer->addAttribute('catalog_product', 'personalization_product_id', array(
|
| 13 |
+
'group' => 'Personalization',
|
| 14 |
+
'type' => 'varchar',
|
| 15 |
+
'backend' => '',
|
| 16 |
+
'frontend' => '',
|
| 17 |
+
'label' => 'Product ID',
|
| 18 |
+
'input' => 'text',
|
| 19 |
+
'class' => '',
|
| 20 |
+
'source' => '',
|
| 21 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
|
| 22 |
+
'visible' => true,
|
| 23 |
+
'required' => false,
|
| 24 |
+
'user_defined' => false,
|
| 25 |
+
'default' => '',
|
| 26 |
+
'searchable' => false,
|
| 27 |
+
'filterable' => false,
|
| 28 |
+
'comparable' => false,
|
| 29 |
+
'visible_on_front' => false,
|
| 30 |
+
'unique' => false,
|
| 31 |
+
'apply_to' => implode(',',array('simple','configurable','bundle')),
|
| 32 |
+
|
| 33 |
+
));
|
| 34 |
+
$installer->updateAttribute('catalog_product', 'personalization_product_id', 'apply_to', implode(',',array('simple','configurable','bundle')));
|
| 35 |
+
|
| 36 |
+
$installer->updateAttribute('catalog_product', 'personalization_template_id', 'label', 'Template ID');
|
| 37 |
+
|
| 38 |
+
$installer->updateAttribute('catalog_product', 'personalization_template_id', 'apply_to', implode(',',array('simple','bundle','configurable')));
|
| 39 |
+
$installer->updateAttribute('catalog_product', 'personalization_enabled', 'apply_to', implode(',',array('simple','bundle','configurable')));
|
| 40 |
+
$installer->endSetup();
|
app/design/adminhtml/default/default/template/printscience_personalization/sales/order/view/items/renderer/default.phtml
CHANGED
|
@@ -7,10 +7,10 @@
|
|
| 7 |
<?php endif; ?>
|
| 8 |
<div class="item-text">
|
| 9 |
<?php echo $this->getColumnHtml($_item, 'name') ?>
|
| 10 |
-
<?php $
|
| 11 |
-
<?php
|
| 12 |
-
|
| 13 |
-
<?php
|
| 14 |
</div>
|
| 15 |
<?php if ($this->canDisplayContainer()): ?>
|
| 16 |
</div>
|
| 7 |
<?php endif; ?>
|
| 8 |
<div class="item-text">
|
| 9 |
<?php echo $this->getColumnHtml($_item, 'name') ?>
|
| 10 |
+
<?php $personalizationPdfUrls = $this->getPersonalizationPreviewPdfUrl() ?>
|
| 11 |
+
<?php foreach ($personalizationPdfUrls as $key => $personalizationPdfUrl){ ?>
|
| 12 |
+
<a href="<?php echo $personalizationPdfUrl; ?>" target="_blank"><?php echo $this->__('PDF file'); ?></a>
|
| 13 |
+
<?php } ?>
|
| 14 |
</div>
|
| 15 |
<?php if ($this->canDisplayContainer()): ?>
|
| 16 |
</div>
|
app/design/frontend/base/default/template/printscience_personalization/checkout/cart/item/default.phtml
CHANGED
|
@@ -12,7 +12,6 @@ $dummyuserVersion = $_personalizationsessionHelper->getData('dummy_user_version'
|
|
| 12 |
<?php $apiSessionKey = $this->getPersonalizationApiSessionKey() ?>
|
| 13 |
<?php if ($apiSessionKey):?>
|
| 14 |
<?php $personalizationPreviews = $this->getPersonalizationPreviews() ?>
|
| 15 |
-
<?php //echo "<pre>"; print_r($personalizationPreviews); echo "</pre>";?>
|
| 16 |
<div class="personalizationGallery">
|
| 17 |
<?php $class = 'class="first"'; ?>
|
| 18 |
<?php foreach ($personalizationPreviews as $previewImage):
|
| 12 |
<?php $apiSessionKey = $this->getPersonalizationApiSessionKey() ?>
|
| 13 |
<?php if ($apiSessionKey):?>
|
| 14 |
<?php $personalizationPreviews = $this->getPersonalizationPreviews() ?>
|
|
|
|
| 15 |
<div class="personalizationGallery">
|
| 16 |
<?php $class = 'class="first"'; ?>
|
| 17 |
<?php foreach ($personalizationPreviews as $previewImage):
|
app/design/frontend/base/default/template/printscience_personalization/checkout/cart/item/default.phtml___
ADDED
|
@@ -0,0 +1,288 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
$_item = $this->getItem();
|
| 3 |
+
$isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
|
| 4 |
+
$_personalizationHelper = $this->helper('printscience_personalization/output');
|
| 5 |
+
$window_type = Mage::getStoreConfig('catalog/personalization/window_type');
|
| 6 |
+
$window_type_mobile = Mage::getStoreConfig('catalog/personalization/window_type_mobile');
|
| 7 |
+
$_personalizationsessionHelper = Mage::helper('printscience_personalization/session');
|
| 8 |
+
$dummyuserVersion = $_personalizationsessionHelper->getData('dummy_user_version');
|
| 9 |
+
?>
|
| 10 |
+
<tr>
|
| 11 |
+
<td>
|
| 12 |
+
<?php $apiSessionKey = $this->getPersonalizationApiSessionKey() ?>
|
| 13 |
+
<?php if ($apiSessionKey):?>
|
| 14 |
+
<?php $personalizationPreviews = $this->getPersonalizationPreviews() ?>
|
| 15 |
+
<?php //echo "<pre>"; print_r($personalizationPreviews); echo "</pre>";?>
|
| 16 |
+
<div class="personalizationGallery">
|
| 17 |
+
<?php $class = 'class="first"'; ?>
|
| 18 |
+
<?php foreach ($personalizationPreviews as $previewImage):
|
| 19 |
+
$previewImage = str_replace("http:", "https:", $previewImage);
|
| 20 |
+
?>
|
| 21 |
+
<a href="<?php echo $previewImage ?>" rel="fancybox[<?php echo $apiSessionKey ?>]" class="pgImg" target="_blank"><img src="<?php echo $previewImage ?>" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" <?php echo $class ?> /></a>
|
| 22 |
+
|
| 23 |
+
<?php $class = ''; ?>
|
| 24 |
+
<?php endforeach; ?>
|
| 25 |
+
</div>
|
| 26 |
+
|
| 27 |
+
<div>
|
| 28 |
+
<?php if ($apiSessionKey):?>
|
| 29 |
+
<?php if (($window_type=='2' && $dummyuserVersion == 'desktop') || ($window_type_mobile=='2' && $dummyuserVersion == 'mobile')):?>
|
| 30 |
+
<button type="button" title="<?php echo $this->__('Re-edit') ?>" class="button btn-cart personalize_btn_link" onclick="setPersonalizeLocation('<?php echo $this->getResumePersonalizationUrl($_item->getProduct()->getId()) ?>', this.form)"><span><span><?php echo $this->__('Re-edit') ?></span></span></button>
|
| 31 |
+
<?php else: ?>
|
| 32 |
+
<button type="button" title="<?php echo $this->__('Re-edit') ?>" class="button btn-cart personalize_btn_link" onclick="setLocation('<?php echo $this->getResumePersonalizationUrl($_item->getProduct()->getId()) ?>')"><span><span><?php echo $this->__('Re-edit') ?></span></span></button>
|
| 33 |
+
<?php endif; ?>
|
| 34 |
+
<?php endif; ?>
|
| 35 |
+
</div>
|
| 36 |
+
<?php else: ?>
|
| 37 |
+
<?php $personalizationPreviews = $this->getPersonalizationPreviews() ?>
|
| 38 |
+
<?php if(!empty($personalizationPreviews)):?>
|
| 39 |
+
|
| 40 |
+
<div class="personalizationGallery">
|
| 41 |
+
<?php $class = '' ?>
|
| 42 |
+
<?php foreach ($personalizationPreviews as $previewImage):
|
| 43 |
+
$imgArray = $previewImage[1]->me;
|
| 44 |
+
if (!$class) { $class = 'class="first"'; }
|
| 45 |
+
if($imgArray['string']!='') : ?>
|
| 46 |
+
<a href="<?php echo $imgArray['string']; ?>" rel="fancybox[<?php echo 'product_image_'.$this->getItem()->getId() ?>]" class="pgImg" target="_blank"><img src="<?php echo $imgArray['string']; ?>" width="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" <?php echo $class ?> /></a>
|
| 47 |
+
<?php endif; ?>
|
| 48 |
+
<?php endforeach; ?>
|
| 49 |
+
</div>
|
| 50 |
+
<?php else:?>
|
| 51 |
+
<?php if ($this->hasProductUrl()):?><a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>" class="product-image"><?php endif;?><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /><?php if ($this->hasProductUrl()):?></a><?php endif;?>
|
| 52 |
+
<?php endif; ?>
|
| 53 |
+
<?php endif; ?>
|
| 54 |
+
</td>
|
| 55 |
+
<td>
|
| 56 |
+
<h2 class="product-name">
|
| 57 |
+
<?php if ($this->hasProductUrl()):?>
|
| 58 |
+
<a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a>
|
| 59 |
+
<?php else: ?>
|
| 60 |
+
<?php echo $this->htmlEscape($this->getProductName()) ?>
|
| 61 |
+
<?php endif; ?>
|
| 62 |
+
</h2>
|
| 63 |
+
<?php /*if($_item->getProductType() == Mage_Catalog_Model_Product_Type::TYPE_BUNDLE):?>
|
| 64 |
+
<?php $productOptions = $_item->getProduct()->getTypeInstance(true)->getOrderOptions($_item->getProduct());
|
| 65 |
+
if(is_array($productOptions['info_buyRequest']['bundle_option'])): ?>
|
| 66 |
+
<dl class="item-options">
|
| 67 |
+
<?php foreach($productOptions['bundle_options'] as $itemoption) : ?>
|
| 68 |
+
<dt><?php echo $this->escapeHtml($itemoption['label']) ?></dt>
|
| 69 |
+
<dd><?php echo $this->escapeHtml($itemoption['value'][0]['qty']) ?> x <?php echo $this->escapeHtml($itemoption['value'][0]['title']) ?> <span class="price"><?php echo Mage::helper('core')->currency($itemoption['value'][0]['price'], true, false); ?></span></dd>
|
| 70 |
+
<?php endforeach; ?>
|
| 71 |
+
</dl>
|
| 72 |
+
<?php endif; ?>
|
| 73 |
+
<?php else:*/?>
|
| 74 |
+
<?php if ($_options = $this->getOptionList()):?>
|
| 75 |
+
<dl class="item-options">
|
| 76 |
+
<?php foreach ($_options as $_option) : ?>
|
| 77 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
| 78 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
| 79 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
| 80 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
| 81 |
+
<div class="truncated_full_value">
|
| 82 |
+
<dl class="item-options">
|
| 83 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
| 84 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
| 85 |
+
</dl>
|
| 86 |
+
</div>
|
| 87 |
+
<?php endif; ?>
|
| 88 |
+
</dd>
|
| 89 |
+
<?php endforeach; ?>
|
| 90 |
+
</dl>
|
| 91 |
+
<?php endif;?>
|
| 92 |
+
<?php //endif; ?>
|
| 93 |
+
<?php if ($messages = $this->getMessages()): ?>
|
| 94 |
+
<?php foreach ($messages as $message): ?>
|
| 95 |
+
<p class="item-msg <?php echo $message['type'] ?>">* <?php echo $message['text'] ?></p>
|
| 96 |
+
<?php endforeach; ?>
|
| 97 |
+
<?php endif; ?>
|
| 98 |
+
<?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
|
| 99 |
+
<?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
|
| 100 |
+
<?php endif;?>
|
| 101 |
+
</td>
|
| 102 |
+
<td class="a-center">
|
| 103 |
+
<?php if ($isVisibleProduct && !$apiSessionKey): ?>
|
| 104 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
| 105 |
+
<?php endif ?>
|
| 106 |
+
</td>
|
| 107 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
| 108 |
+
<td class="a-center">
|
| 109 |
+
<?php if ($isVisibleProduct && !$apiSessionKey): ?>
|
| 110 |
+
<input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" title="<?php echo $this->__('Move to Wishlist') ?>" class="checkbox" />
|
| 111 |
+
<?php endif ?>
|
| 112 |
+
</td>
|
| 113 |
+
<?php endif ?>
|
| 114 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
| 115 |
+
<td class="a-right">
|
| 116 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 117 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
| 118 |
+
<?php else: ?>
|
| 119 |
+
<span class="cart-price">
|
| 120 |
+
<?php endif; ?>
|
| 121 |
+
|
| 122 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 123 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
| 124 |
+
<?php else: ?>
|
| 125 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
| 126 |
+
<?php endif; ?>
|
| 127 |
+
|
| 128 |
+
</span>
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
| 132 |
+
|
| 133 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
| 134 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 135 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 136 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
| 137 |
+
<?php endforeach; ?>
|
| 138 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 139 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 140 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
| 141 |
+
<?php endforeach; ?>
|
| 142 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 143 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 144 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
| 145 |
+
<?php endforeach; ?>
|
| 146 |
+
<?php endif; ?>
|
| 147 |
+
</div>
|
| 148 |
+
|
| 149 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 150 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
| 151 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
| 152 |
+
</div>
|
| 153 |
+
<?php endif; ?>
|
| 154 |
+
<?php endif; ?>
|
| 155 |
+
</td>
|
| 156 |
+
<?php endif; ?>
|
| 157 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
| 158 |
+
<td>
|
| 159 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
| 160 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 161 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
| 162 |
+
<?php else: ?>
|
| 163 |
+
<span class="cart-price">
|
| 164 |
+
<?php endif; ?>
|
| 165 |
+
|
| 166 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 167 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
| 168 |
+
<?php else: ?>
|
| 169 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
| 170 |
+
<?php endif; ?>
|
| 171 |
+
|
| 172 |
+
</span>
|
| 173 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
| 174 |
+
|
| 175 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
| 176 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 177 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 178 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
| 179 |
+
<?php endforeach; ?>
|
| 180 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 181 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 182 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
| 183 |
+
<?php endforeach; ?>
|
| 184 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 185 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 186 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
| 187 |
+
<?php endforeach; ?>
|
| 188 |
+
<?php endif; ?>
|
| 189 |
+
</div>
|
| 190 |
+
|
| 191 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 192 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
| 193 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
| 194 |
+
</div>
|
| 195 |
+
<?php endif; ?>
|
| 196 |
+
<?php endif; ?>
|
| 197 |
+
</td>
|
| 198 |
+
<?php endif; ?>
|
| 199 |
+
<td class="a-center">
|
| 200 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
|
| 201 |
+
</td>
|
| 202 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
| 203 |
+
<td class="a-right">
|
| 204 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 205 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
| 206 |
+
<?php else: ?>
|
| 207 |
+
<span class="cart-price">
|
| 208 |
+
<?php endif; ?>
|
| 209 |
+
|
| 210 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 211 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
| 212 |
+
<?php else: ?>
|
| 213 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
| 214 |
+
<?php endif; ?>
|
| 215 |
+
|
| 216 |
+
</span>
|
| 217 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
| 218 |
+
|
| 219 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
| 220 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 221 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 222 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
| 223 |
+
<?php endforeach; ?>
|
| 224 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 225 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 226 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
| 227 |
+
<?php endforeach; ?>
|
| 228 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 229 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 230 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
| 231 |
+
<?php endforeach; ?>
|
| 232 |
+
<?php endif; ?>
|
| 233 |
+
</div>
|
| 234 |
+
|
| 235 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 236 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
| 237 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
| 238 |
+
</div>
|
| 239 |
+
<?php endif; ?>
|
| 240 |
+
<?php endif; ?>
|
| 241 |
+
</td>
|
| 242 |
+
<?php endif; ?>
|
| 243 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
| 244 |
+
<td>
|
| 245 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
| 246 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 247 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
| 248 |
+
<?php else: ?>
|
| 249 |
+
<span class="cart-price">
|
| 250 |
+
<?php endif; ?>
|
| 251 |
+
|
| 252 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 253 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
| 254 |
+
<?php else: ?>
|
| 255 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
| 256 |
+
<?php endif; ?>
|
| 257 |
+
|
| 258 |
+
</span>
|
| 259 |
+
|
| 260 |
+
|
| 261 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
| 262 |
+
|
| 263 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
| 264 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 265 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 266 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
| 267 |
+
<?php endforeach; ?>
|
| 268 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 269 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 270 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
| 271 |
+
<?php endforeach; ?>
|
| 272 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 273 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
| 274 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
| 275 |
+
<?php endforeach; ?>
|
| 276 |
+
<?php endif; ?>
|
| 277 |
+
</div>
|
| 278 |
+
|
| 279 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
| 280 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
| 281 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
| 282 |
+
</div>
|
| 283 |
+
<?php endif; ?>
|
| 284 |
+
<?php endif; ?>
|
| 285 |
+
</td>
|
| 286 |
+
<?php endif; ?>
|
| 287 |
+
<td class="a-center"><a href="<?php echo $this->getDeleteUrl()?>" title="<?php echo $this->__('Remove item')?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove item')?></a></td>
|
| 288 |
+
</tr>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Print_Science_Designer_Web_to_Print</name>
|
| 4 |
-
<version>1.1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -10,9 +10,9 @@
|
|
| 10 |
<description>Print_Science_Designer_Web_to_Print</description>
|
| 11 |
<notes>Print_Science_Designer_Web_to_Print</notes>
|
| 12 |
<authors><author><name>John Weissberg</name><user>johnwwweissberg</user><email>jw@print-science.com</email></author></authors>
|
| 13 |
-
<date>2016-
|
| 14 |
-
<time>
|
| 15 |
-
<contents><target name="magelocal"><dir><dir name="PrintScience"><dir name="Personalization"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Items"><file name="Renderer.php" hash="e9a0dcb549311ea6f4e3992bbc9a4b5c"/></dir></dir></dir></dir><file name="Test.php" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Print_Science_Designer_Web_to_Print</name>
|
| 4 |
+
<version>1.1.5</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 10 |
<description>Print_Science_Designer_Web_to_Print</description>
|
| 11 |
<notes>Print_Science_Designer_Web_to_Print</notes>
|
| 12 |
<authors><author><name>John Weissberg</name><user>johnwwweissberg</user><email>jw@print-science.com</email></author></authors>
|
| 13 |
+
<date>2016-04-08</date>
|
| 14 |
+
<time>11:18:19</time>
|
| 15 |
+
<contents><target name="magelocal"><dir><dir name="PrintScience"><dir name="Personalization"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Items"><file name="Renderer.php" hash="e9a0dcb549311ea6f4e3992bbc9a4b5c"/></dir></dir></dir></dir><file name="Test.php" hash="c370e19a74641e26a594a6182bff9938"/></dir><dir name="Checkout"><dir name="Cart"><dir name="Item"><file name="Renderer.php" hash="fed0f0eb45c6dec622233718326cf001"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="01a988d01405340f6527cd9cbb359ca3"/><file name="Order.php" hash="ba50cbfb5f647cbca2deae91153db9b7"/><file name="Output.php" hash="7f039eed45d1db6f3723d067b2ae970d"/><file name="Quote.php" hash="d14fbe62e2a96e4aede13082c16dda30"/><file name="Session.php" hash="0236f26208780df75ca780d40edbe351"/></dir><dir name="Model"><dir name="ApiGateway"><dir name="Response"><file name="Abstract.php" hash="66667fce4c92782faf1d1a92f4c3e339"/><file name="Begin.php" hash="451d64c86ef6aa542ae7cf5949b1b627"/><file name="GetPreview.php" hash="b688de47d3f47ce844c452b3dc077da7"/></dir></dir><file name="ApiGateway.php" hash="9f29b953af024d3a3bf7a5b1dde00cd7"/><file name="Observer.php" hash="97d641cd084690e0ad196dbf6287f669"/><dir name="Override"><dir name="Checkout"><file name="Cart.php" hash="ccece0a4e9fffd6d4b7f1b1a8a97dbd3"/></dir><dir name="Sales"><file name="Quote.php" hash="efb0e7814b593185fc62f0fcaeb84935"/></dir></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="0b1f152cf26c58a92efe4165dc9b3803"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="ApiUrl.php" hash="34eb488ef178104966397f425625534d"/></dir><dir name="Source"><file name="ApiVersion.php" hash="e0248a29ebc88171b7fb51bdbabaca8b"/><file name="WindowType.php" hash="d266f141e63a17c3d68de1a23a31deb6"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="TestController.php" hash="36ad509bf4ea04680fc0abd6e6c77fd5"/></dir><file name="IndexController.php" hash="86005b3402128265bafe9ffe095688e6"/></dir><dir name="etc"><file name="config.xml" hash="ba2a6861135134288bb1f9ac902fd31b"/><file name="system.xml" hash="d994c0db968386b5a0a1664c36cc5e28"/></dir><dir name="sql"><dir name="printscience_personalization_setup"><file name="mysql4-install-1.0.18.php" hash="8c7277e4675ef22ba3bc7ada3af71a2e"/><file name="mysql4-install-1.1.1.php" hash="03b9a55f535b49e14530f921948b2cfa"/><file name="mysql4-upgrade-1.0.15-1.0.16.php" hash="a18bc9195fff6b40619f44a8eb6e587b"/><file name="mysql4-upgrade-1.0.16-1.0.17.php" hash="a18bc9195fff6b40619f44a8eb6e587b"/><file name="mysql4-upgrade-1.0.17-1.0.18.php" hash="8c7277e4675ef22ba3bc7ada3af71a2e"/><file name="mysql4-upgrade-1.0.18-1.0.23.php" hash="a18bc9195fff6b40619f44a8eb6e587b"/><file name="mysql4-upgrade-1.0.23-1.0.24.php" hash="a18bc9195fff6b40619f44a8eb6e587b"/><file name="mysql4-upgrade-1.0.24-1.1.1.php" hash="82727316a603b057ac84b556212f56d3"/><file name="mysql4-upgrade-1.1.1-1.1.2.php" hash="03b9a55f535b49e14530f921948b2cfa"/><file name="mysql4-upgrade-1.1.2-1.1.3.php" hash="03b9a55f535b49e14530f921948b2cfa"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="PrintScience_Personalization.xml" hash="5f5c39c5b01e828137125d057d04a655"/></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="printscience_personalization"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="62ba9a43781828e25c1e265f417db9db"/><dir name="view"><file name="addtocart.phtml" hash="a2b8a23bd490798f59fab3c77d77be0c"/><file name="media.phtml" hash="d0526045eca0891155f83aa067484178"/></dir><file name="view.phtml" hash="8b8da3a547a816942bb41cd5b0e10280"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="6158f1d554c38597a62b6120a7bc2b6f"/><file name="default.phtml___" hash="da6d47bb5d36d381e6d33b4f6fe1ce69"/></dir></dir><file name="cart.phtml" hash="661c4c4fcd0be9b709d0c337a3bf336b"/></dir></dir></dir><dir name="layout"><file name="printscience_personalization.xml" hash="4472f61c3bd3a450639b2f4a2ef3f2d5"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="printscience_personalization"><dir name="sales"><dir name="order"><dir name="view"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="c376d360ce5d8f2bd3cbd412d083b55e"/></dir></dir></dir></dir></dir></dir></dir><dir name="layout"><file name="printscience_personalization.xml" hash="d0934cc5cfaca9e2d6c687f2fb866943"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="PrintScience_Personalization.csv" hash="fc8365124f21bddca4dfac3d3dbf5b7f"/></dir></dir></target><target name="mageskin"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="printscience_personalization"><file name="checkdevice.js" hash="6072832eaf96a9a18ed30f557ed86f98"/><file name="gallery.js" hash="48e8c27701beb67eb1898bb858585058"/><file name="jquery-1.10.1.min.js" hash="33d85132f0154466fc017dd05111873d"/><file name="modalPopLite.css" hash="2739dac0ae24cc8d94b29c053971627c"/><file name="modalPopLite.min.js" hash="0966787a372628f9d6df762dff0f193b"/></dir></dir></dir></dir></dir></target><target name="mage"><dir><dir name="js"><dir name="printscience_personalization"><file name="gallery.css" hash="eccacd49a35d68ef25bc1bf8e292fe98"/><dir name="jquery"><dir name="fancybox"><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancybox_loading.gif" hash="328cc0f6c78211485058d460e80f4fa8"/><file name="fancybox_loading@2x.gif" hash="f92938639fa894a0e8ded1c3368abe98"/><file name="fancybox_overlay.png" hash="77aeaa52715b898b73c74d68c630330e"/><file name="fancybox_sprite.png" hash="783d4031fe50c3d83c960911e1fbc705"/><file name="fancybox_sprite@2x.png" hash="ed9970ce22242421e66ff150aa97fe5f"/><file name="jquery.fancybox.css" hash="6c55951ce1e3115711f63f99b7501f3a"/><file name="jquery.fancybox.js" hash="921e9cb04ad6e2559869ec845c5be39b"/><file name="jquery.fancybox.pack.js" hash="cc9e759f24ba773aeef8a131889d3728"/></dir><dir name="helpers"><file name="fancybox_buttons.png" hash="b448080f8615e664b7788c7003803b59"/><file name="jquery.fancybox-buttons.css" hash="cac75538c2e3ddfadef839feaca8e356"/><file name="jquery.fancybox-buttons.js" hash="f53c246661fb995a3f12e67fa38e0fa0"/><file name="jquery.fancybox-media.js" hash="c017067f48d97ec4a077ccdf056e6a2e"/><file name="jquery.fancybox-thumbs.css" hash="52ddd84a9f42c1d4cd86d518a7f7e8bc"/><file name="jquery.fancybox-thumbs.js" hash="cf1fc1df534eede4cb460c5cbd71aba6"/></dir><file name="jquery-1.10.1.min.js" hash="33d85132f0154466fc017dd05111873d"/><dir name="jquery.cycle"><file name="jquery.cycle.lite.js" hash="3bfb845276cc77bfa5f051b56e207be5"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir><dir name="xmlrpc"><file name="xmlrpc.inc" hash="55ecb2a9f7fc20d53a7b4da9d885e26b"/></dir></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
