shopbuilder_api v0.1.27 ExSbapi.Product View Source
A Shopbuilder Product struct and functions.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %ExSbapi.Product{ description: body(), dimensions: dimensions(), image_product: images(), language: language(), new: new(), on_sale: on_sale(), price: price(), product: variations(), product_type: collections(), reference: ref(), same_price: same_price(), same_weight_dimensions: same_weight_dimensions(), seo: seo(), status: status(), suggested_products: suggested_products(), title: title(), type: type(), weight: weight() }
Link to this section Functions
Link to this function
new(title, variations, collections, description \\ "", status \\ "1", images \\ [], ref \\ "", language \\ "en", new \\ true, on_sale \\ false, same_price \\ false, price \\ nil, same_weight_dimensions \\ false, weight \\ nil, dimensions \\ nil, suggested_products \\ nil, seo \\ nil, type \\ "shop_builder_display")
View Source
Builds a new Shopbuilder Product