PHPackages                             sturple/shopify-special-offers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. sturple/shopify-special-offers

AbandonedArchivedSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

sturple/shopify-special-offers
==============================

Shopify Special Offers Bundle (Embed)

0.0.1(9y ago)014MITPHP

Since Nov 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sturple/shopify-special-offers)[ Packagist](https://packagist.org/packages/sturple/shopify-special-offers)[ Docs](https://github.com/sturple/shopify-special-offers)[ RSS](/packages/sturple-shopify-special-offers/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Shopify Special Offers Bundle (Embed)
=====================================

[](#shopify-special-offers-bundle-embed)

Installation
------------

[](#installation)

\*\* Install With Composer \*\*

```
{
   "require": {
       "sturple/fgms-shopify-special-offers": "dev-master"
   }
}
```

and then execute

```
$ composer update
```

Configuration
-------------

[](#configuration)

**Add to `app/AppKernel.php` file**

```
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            ...
             new Fgms\SpecialOffersBundle\FgmsSpecialOffersBundle();
        ]
    }
}
```

The following configuration options may/must be set in `config.yml`:

```
fgms_special_offers:
    api_key:            # API key for Shopify
    secret:             # Secret for Shopify
    expired:            # Number of expired special offers shown on main page of app
    notifications:      # Optional: Only specify if you want email notifications on sale started/ended
        from:           # Specifies email address email notifications will come from
            name:       # Optional, full name of person email will come from
            address:    # Email address of person email will come from
        to:             # Specifies email addresses email notifications will be sent to
            - name:     # Optional, full name of person email will be sent to
              address:  # Email address of person email will be sent to
        start_template: # Twig template which will be rendered for special offer started
        end_template:   # Twig template which will be rendered for special offer ended
```

Requirements
------------

[](#requirements)

64 bit PHP is required. To check if you're running 64 bit PHP run the following code:

```
