Closed aligent-lturner closed 2 years ago
Suburb field had potential to be confusing with city, and is not required by most users. Allow store delivery added no extra functionality other than the flag itself. This should be handled specifically within a project when needed. "Gallery" was not clear as to purpose. It was purely PageBuilder content.
As an FYI, Suburb and Allow Store Delivery could definitely have been project specific. Allow Store Delivery seemed like it might have a slight benefit to include for other users of the module.
Gallery was a 2nd pagebuilder attribute dedicated to more of a photographic display of the store, as opposed to a stand alone description field. It gave the flexibility to provide two pagebuilder areas to create different content for the GQL response. I can see your point it could be project specific but it seemed like a decent inclusion to expand this module for other uses.
@brettlaishley I'm not 100% against a "gallery" field, but I think it needs to be thought out better/more clearly. Having actual image urls (e.g. with an image uploader component) would allow for this with more flexibility that a pagebuilder component.
Feature Changes
Remove Suburb, Gallery, Allow Store Delivery fields
city
, and is not required by most users.postcode
input forstockists
GraphQL queryTechnical Changes
void
fromset
functions)foreach
instead ofarray_map
when returning stockist data