getOption (cart)

ON THIS PAGE

Description

Get current configuration of the cart widget.

Usage

To get all settings.

var flbSessionCart = new Funnelback.SessionCart({collection: 'my-collection'});
flbSessionCart.getOption();

To get specific setting pass as method argument name of setting.

var flbSessionCart = new Funnelback.SessionCart({collection: 'my-collection'});
flbSessionCart.getOption('collection'); // Will return 'my-collection'

© 2015- Squiz Pty Ltd