2017 © Pedro PelĂĄez
 

magento-module discount-sticker-extension

image

webgriffe/discount-sticker-extension

  • Thursday, November 16, 2017
  • by mmenozzi
  • Repository
  • 8 Watchers
  • 3 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Magento Discount Sticker Extension

Adds a ready-to-use block to show discount rate of products in Magento., (*1)

Usage

Simply install the exentions with modman or composer. Then you can add the discount sticker block by adding these lines in your .phtml files:, (*2)

<?php
  echo $this
    ->getLayout()
    ->createBlock(Webgriffe_DiscountSticker_Block_DiscountSticker::BLOCK_ALIAS)
    ->setProduct($_product)
    ->toHtml();
?>

Where $_product is a Mage_Catalog_Model_Product instance of the product on which you want to display the discount., (*3)

If you want you can override default discount sticker template by overriding catalog/product/list/discount_sticker.phtml in your theme., (*4)

Contributing

  • Fork this repo
  • git submodule init && git submodule update to get continuous integration tool
  • cp ci/ci.sh.sample ci.sh and enter your settings
  • Run sh ci.sh to get full working Magento environment
  • Do your change by adding related automated test on a dedicated branch
  • Submit a pull request

Credits

Developed by WebgriffeÂź, (*5)

The Versions

16/11 2017

dev-master

9999999-dev

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

  • ecomdev/ecomdev_phpunit dev-dev

16/11 2017

0.1.0

0.1.0.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

  • ecomdev/ecomdev_phpunit dev-dev

16/11 2017

1.0.0

1.0.0.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

  • ecomdev/ecomdev_phpunit dev-dev