vjt_onsalevertcarousel - Version 1.0.1

Version Notes

Initial Release

Download this release

Release Info

Developer VJ Templates
Extension vjt_onsalevertcarousel
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/community/VJTemplates/OnSaleVertCarousel/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <VJTemplates_OnSaleVertCarousel>
5
- <version>1.0.0</version>
6
  </VJTemplates_OnSaleVertCarousel>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <VJTemplates_OnSaleVertCarousel>
5
+ <version>1.0.1</version>
6
  </VJTemplates_OnSaleVertCarousel>
7
  </modules>
8
  <frontend>
app/design/frontend/default/default/template/vjtemplates/catalog/product/onsale-vert-carousel.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ #------------------------------------------------------------------------
4
+ Magento Extension - OnSale Product Vertical Carousel
5
+ #------------------------------------------------------------------------
6
+ # Copyright (C) 2012 VJ Templates.
7
+ # @license - GNU/GPL
8
+ # Author: VJ Templates
9
+ # Websites: http://www.vjtemplates.com
10
+ #------------------------------------------------------------------------
11
+ */
12
+ ?>
13
+ <?php
14
+ $_productCollection=$this->getOnSaleProduct();
15
+ $_helper = $this->helper('catalog/output');
16
+ ?>
17
+ <div class="block block-carousel">
18
+ <div class="block-title">
19
+ <strong><span><?php echo $this->__('On Sale Products') ?></span></strong>
20
+ </div>
21
+ <ul id="vjt-onsale-vert-carousel" class="jcarousel-skin-vjt-onsale-vert">
22
+ <?php $_collectionSize = $_productCollection->count() ?>
23
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
24
+ <li>
25
+ <a href="<?php echo $_product->getProductUrl() ?>" rel="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(400,300); ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image preview"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(100); ?>" width="100" height="100" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
26
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
27
+ <?php echo $this->getPriceHtml($_product, true) ?>
28
+ <div class="actions">
29
+ <?php if($_product->isSaleable()): ?>
30
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
31
+ <?php else: ?>
32
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
33
+ <?php endif; ?>
34
+ <ul class="add-to-links">
35
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
36
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
37
+ <?php endif; ?>
38
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
39
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
40
+ <?php endif; ?>
41
+ </ul>
42
+ </div>
43
+ </li>
44
+ <?php endforeach ?>
45
+ </ul>
46
+ </div>
47
+
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>vjt_onsalevertcarousel</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license>GNU</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Show On Sale or Special Price Products in Vertical Carousel Style</description>
11
  <notes>Initial Release</notes>
12
  <authors><author><name>VJ Templates</name><user>vjtemplates</user><email>vjt@vjtemplates.com</email></author></authors>
13
- <date>2012-09-02</date>
14
- <time>23:56:10</time>
15
- <contents><target name="magecommunity"><dir name="VJTemplates"><dir name="OnSaleVertCarousel"><dir name="Block"><dir name="Category"><file name="View.php" hash="85c92a409c24d6ae75a709b6ccedc188"/></dir><dir name="Product"><file name="OnSale.php" hash="9ad9a3de971912f3d0cdc2b27e10224f"/></dir></dir><dir name="etc"><file name="config.xml" hash="7eeaec4d5b290e9ee4dbd99b55a84583"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><dir name="vjtemplates"><file name="onsalevertcarousel.xml" hash="c78655c26a88cc8db7bceb5fc761929c"/></dir></dir><dir name="templates"><dir name="vjtemplates"><dir name="catalog"><dir name="product"><file name="onsale-vert-carousel.phtml" hash=""/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="VJTemplates_OnSaleVertCarousel.xml" hash="400c52b65a5cc550436abfdefdce2eb6"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="vjtemplates"><dir name="css"><file name="onsale-vert-carousel.css" hash="3cf2277f0b68e9c0ddbe87c1909aa5df"/></dir><dir name="images"><file name="next-vertical.png" hash="212fd0ed9d02dd77508cbc398e6b36ea"/><file name="prev-vertical.png" hash="360f02103258cc26eea3683da5605e89"/></dir><dir name="js"><file name="onsale-carousel.js" hash="678439bb3993ebf66629e23b59d8c811"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="jquery"><file name="jquery-1.6.4.min.js" hash="0bd074f6e49da04536b3ce289e3f7448"/></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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>vjt_onsalevertcarousel</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license>GNU</license>
7
  <channel>community</channel>
10
  <description>Show On Sale or Special Price Products in Vertical Carousel Style</description>
11
  <notes>Initial Release</notes>
12
  <authors><author><name>VJ Templates</name><user>vjtemplates</user><email>vjt@vjtemplates.com</email></author></authors>
13
+ <date>2012-09-03</date>
14
+ <time>00:14:56</time>
15
+ <contents><target name="magecommunity"><dir name="VJTemplates"><dir name="OnSaleVertCarousel"><dir name="Block"><dir name="Category"><file name="View.php" hash="85c92a409c24d6ae75a709b6ccedc188"/></dir><dir name="Product"><file name="OnSale.php" hash="9ad9a3de971912f3d0cdc2b27e10224f"/></dir></dir><dir name="etc"><file name="config.xml" hash="681e5191d4130ea1f6bf960b96ca081b"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><dir name="vjtemplates"><file name="onsalevertcarousel.xml" hash="c78655c26a88cc8db7bceb5fc761929c"/></dir></dir><dir name="template"><dir name="vjtemplates"><dir name="catalog"><dir name="product"><file name="onsale-vert-carousel.phtml" hash="4da9ee56d7d3bf4b01046643673b7f1f"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="VJTemplates_OnSaleVertCarousel.xml" hash="400c52b65a5cc550436abfdefdce2eb6"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="vjtemplates"><dir name="css"><file name="onsale-vert-carousel.css" hash="3cf2277f0b68e9c0ddbe87c1909aa5df"/></dir><dir name="images"><file name="next-vertical.png" hash="212fd0ed9d02dd77508cbc398e6b36ea"/><file name="prev-vertical.png" hash="360f02103258cc26eea3683da5605e89"/></dir><dir name="js"><file name="onsale-carousel.js" hash="678439bb3993ebf66629e23b59d8c811"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="jquery"><file name="jquery-1.6.4.min.js" hash="0bd074f6e49da04536b3ce289e3f7448"/></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>