View Source ExCatalog.Product (ex_catalog v1.5.6)
Link to this section Summary
Functions
Create a New Product
Link to this section Functions
Create a New Product
examples
Examples
iex> price = Money.new(:USD, 100)
iex> product = %{sku: "12345", price: price, title: "test product", sub_title: "test product", description: "test product"}
iex> ExCatalog.Product.new(product)