getOption (cart)

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'