Supee 11219 Magento 1.9.3.1 Errors during install, Scan shows not installed.
The install kicks back the following errors
patching file app/design/frontend/base/default/template/catalog/product/list.phtml
Hunk #1 FAILED at 34.
Hunk #2 FAILED at 68.
Hunk #3 FAILED at 106.
3 out of 3 hunks FAILED -- saving rejects to file
If this error is correct then references to this file in the patch begin at 3969 to 3972. I have no idea what to do with all this code or if it all refers to this file any suggestions?
```
<?php if (!$this->getInGrouped()): ?>
var newLink = {
diff --git app/design/frontend/base/default/template/catalog/product/list.phtml app/design/frontend/base/default/template/catalog/product/list.phtml
index 302e8f4b739..52665c09194 100644
--- app/design/frontend/base/default/template/catalog/product/list.phtml
+++ app/design/frontend/base/default/template/catalog/product/list.phtml
@@ -34,6 +34,7 @@
<?php
$_productCollection=$this->getLoadedProductCollection();
$_helper = $this->helper('catalog/output');
+ $_params = $this->escapeHtml(json_encode(array('form_key' => $this->getFormKey())));
?>
<?php if(!$_productCollection->count()): ?>
<p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
@@ -68,10 +69,26 @@
</div>
<ul class="add-to-links">
<?php if ($this->helper('wishlist')->isAllow()) : ?>
- <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
+ <?php $_wishlistUrl = $this->helper('wishlist')->getAddUrlWithCustomParams($_product, array(), false); ?>
+ <li>
+ <a href="#"
+ data-url="<?php echo $_wishlistUrl ?>"
+ data-params="<?php echo $_params ?>"
+ class="link-wishlist"
+ onclick="customFormSubmit('<?php echo $_wishlistUrl ?>', '<?php echo $_params ?>', 'post')">
+ <?php echo $this->__('Add to Wishlist') ?>
+ </a>
+ </li>
<?php endif; ?>
- <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
- <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
+ <?php if ($_compareUrl = $this->getAddToCompareUrlCustom($_product, false)) : ?>
+ <li>
+ <span class="separator">|</span>
+ <a href="#"
+ class="link-compare"
+ onclick="customFormSubmit('<?php echo $_compareUrl ?>', '<?php echo $_params ?>', 'post')">
+ <?php echo $this->__('Add to Compare') ?>
+ </a>
+ </li>
<?php endif; ?>
</ul>
</div>
@@ -106,10 +123,26 @@
<?php endif; ?>
<ul class="add-to-links">
<?php if ($this->helper('wishlist')->isAllow()) : ?>
- <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
+ <?php $_wishlistUrl = $this->helper('wishlist')->getAddUrlWithCustomParams($_product, array(), false); ?>
+ <li>
+ <a href="#"
+ data-url="<?php echo $_wishlistUrl ?>"
+ data-params="<?php echo $_params ?>"
+ class="link-wishlist"
+ onclick="customFormSubmit('<?php echo $_wishlistUrl ?>', '<?php echo $_params ?>', 'post')">
+ <?php echo $this->__('Add to Wishlist') ?>
+ </a>
+ </li>
<?php endif; ?>
- <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
- <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
+ <?php if ($_compareUrl = $this->getAddToCompareUrlCustom($_product, false)) : ?>
+ <li>
+ <span class="separator">|</span>
+ <a href="#"
+ class="link-compare"
+ onclick="customFormSubmit('<?php echo $_compareUrl ?>', '<?php echo $_params ?>', 'post')">
+ <?php echo $this->__('Add to Compare') ?>
+ </a>
+ </li>
<?php endif; ?>
</ul>
</div>
```
Hello ,
I have same problems with magento 1.9.3.2
Can any one help please ?
Best,