2017 © Pedro Peláez
 

silverstripe-module silverstripe-pricelist

Just a simple pricelist functionality that makes it possible to create products and have them listed in specific pricelists. No e-commerce functions.

image

taitava/silverstripe-pricelist

Just a simple pricelist functionality that makes it possible to create products and have them listed in specific pricelists. No e-commerce functions.

  • Friday, May 19, 2017
  • by taitava
  • Repository
  • 1 Watchers
  • 2 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 5 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

silverstripe-pricelist

Setup

  1. Extend SiteTree (or some other class derived from it):

mysite/_config/pricelist.yml:, (*1)

SiteTree:
  extensions:
   - PricelistSiteTreeExtension

Note! If you apply the extension to any other class than SiteTree, you need to define this additional configuration in mysite/_config/pricelist.yml:, (*2)

Pricelist:
  belongs_many_many:
    Pages: *YourCustomClassNameHere*

If you forget this, (at least) the backend will crash when you go to add a new Pricelist to your pricelist page. This additional configuration is not needed if you just extend the whole SiteTree class, as that's already configured by default., (*3)

  1. Put this to themes/*your-theme-folder*/Page.ss (or to some other template file):
$AllPricelists
  1. If you want to adjust some configuration settings, you can put these to mysite/_config/pricelist.yml:
Pricelist:
  include_stylesheet: false
  currency_sign: '€' #Whether to use the Requirements class to include this module's own stylesheet in frontend to perform some small styling.
  currency_side: 'right'
PricelistItem:
  hide_zero_prices: false #If true, do not display anything in the price column for items whose price is 0.

Note that the above listing contains the default values, so if they seem good for you, you do not need to copypaste this list to anywhere., (*4)

  1. Run /dev/build?flush=all in your browser., (*5)

  2. Go to the CMS and edit some page. You should see a Pricelists tab there., (*6)

Contribution

If you have any ideas about how to improve this module or any questions, I would be glad to hear them! :) Please raise an issue or create a pull request - which ever you like., (*7)

The Versions

19/05 2017

dev-master

9999999-dev

Just a simple pricelist functionality that makes it possible to create products and have them listed in specific pricelists. No e-commerce functions.

  Sources   Download

MIT

The Requires

 

silverstripe list product price catalogue pricelist price list

19/05 2017

1.1.1

1.1.1.0

Just a simple pricelist functionality that makes it possible to create products and have them listed in specific pricelists. No e-commerce functions.

  Sources   Download

MIT

The Requires

 

silverstripe list product price catalogue pricelist price list

23/02 2017

1.1.0

1.1.0.0

Just a simple pricelist functionality that makes it possible to create products and have them listed in specific pricelists. No e-commerce functions.

  Sources   Download

MIT

The Requires

 

silverstripe list product price catalogue pricelist price list

23/02 2017

1.0.2

1.0.2.0

Just a simple pricelist functionality that makes it possible to create products and have them listed in specific pricelists. No e-commerce functions.

  Sources   Download

MIT

The Requires

 

silverstripe list product price catalogue pricelist price list

17/02 2017

1.0.1

1.0.1.0

Just a simple pricelist functionality that makes it possible to create products and have them listed in specific pricelists. No e-commerce functions.

  Sources   Download

MIT

The Requires

 

silverstripe list product price catalogue pricelist price list

03/02 2017

1.0.0

1.0.0.0

Just a simple pricelist functionality that makes it possible to create products and have them listed in specific pricelists. No e-commerce functions.

  Sources   Download

MIT

The Requires

 

silverstripe list product price catalogue pricelist price list

23/09 2016

0.2.1

0.2.1.0

Just a simple pricelist functionality that makes it possible to create products and have them listed in specific pricelists. No e-commerce functions.

  Sources   Download

MIT

The Requires

 

silverstripe list product price catalogue pricelist price list

21/09 2016

0.2.0

0.2.0.0

Just a simple pricelist functionality that makes it possible to create products and have them listed in specific pricelists. No e-commerce functions.

  Sources   Download

MIT

The Requires

 

silverstripe list product price catalogue pricelist price list

21/09 2016

0.1.0

0.1.0.0

Just a simple pricelist functionality that makes it possible to create products and have them listed in specific pricelists. No e-commerce functions.

  Sources   Download

MIT

The Requires

 

silverstripe list product price catalogue pricelist price list