PHP code example of webgriffe / discount-sticker-extension

1. Go to this page and download the library: Download webgriffe/discount-sticker-extension library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

webgriffe / discount-sticker-extension example snippets



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