sturple / shopify-special-offers
Shopify Special Offers Bundle (Embed)
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- guzzlehttp/guzzle: ^6.2
This package is not auto-updated.
Last update: 2021-06-06 21:55:39 UTC
README
Installation
** Install With Composer **
{ "require": { "sturple/fgms-shopify-special-offers": "dev-master" } }
and then execute
$ composer update
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
64 bit PHP is required. To check if you're running 64 bit PHP run the following code:
<?php echo PHP_INT_SIZE;
If 8
is printed you're running 64 bit PHP.
Shopify App Configuration
The bundle specifies the following routes which must be known to configure as a Shopify App:
- Install:
/install
- OAuth:
/auth
- Home:
/