Store Info
This method is used to obtain information about the specific store such as hours of operation.
getStoreData
The method returns the current store(set via setUp or useStore functions) data.
Example:
Buddi.getStoreData();
Caching: 5 mins
Events: store:loaded, store:loading-error
Returns:
{
address: "123 Main St",
city: "ACTON",
delivery_hours: {...},
delivery_windows: {...},
id: 137,
last_legal_age_year: 2006,
lat: "54.222",
long: "-113.222",
name: "Store 1",
parent_id: 136,
postal_code: "V5T 1K8",
province: "ONTARIO",
seo_data: {...},
timezone: "PST",
unit: "2",
work_hours: {...}
}