bloggify-shop

2.0.0 • Public • Published

bloggify-shop

PayPal AMA Version Downloads Get help on Codementor

eCommerce plugin for Bloggify.

☁️ Installation

$ npm i --save bloggify-shop

📋 Example

const bloggifyShop = require("bloggify-shop");
 
console.log(bloggifyShop());

📝 Documentation

BloggifyShop(config, Bloggify)

This function is called when the plugin is initialized.

This module depends on the bloggify-sendgrid and bloggify-mongoose plugins.

Params

  • Object config: The configuration object:
  • hash_key (String): The key used for encryption.
  • merchantId (String): The Braintree merchant id.
  • publicKey (String): The Braintree public key.
  • privateKey (String): The Braintree private key.
  • currency (String): The shop currency (default: Bloggify.options.shop.currency).
  • shop_email (String): The shop email.
  • confirmation_subject (String): The confirmation subject.
  • confirmation_template (String): The Sendgrid confirmation email template.
  • invoice_series (String): The invoice series.
  • download_resource_template (String): The download resource template name.
  • download_invoice_template (String): The download invoice template name.
  • first_currency (String): The main currency.
  • second_currency (String): The secondary currency.
  • shop_admin_email (String): The shop admin email.
  • admin_template (String): The Sendgrid admin template.
  • Bloggify Bloggify: The Bloggify instance.

😋 How to contribute

Have an idea? Found a bug? See how to contribute.

📜 License

MIT © Ionică Bizău

Package Sidebar

Install

npm i bloggify-shop

Weekly Downloads

2

Version

2.0.0

License

MIT

Last publish

Collaborators

  • ionicabizau