ProductPage
Base for own product pages
Description
Used in Cart, ProductList and ListItems.
- $productPage->orderInfo() Summary info string about the orders including this product Used for the orders tab in the product page
- $productPage->orders() Orders including this product with enriched cart information
- $productPage->price() Price for a pricing rule
- $productPage->prices() Returns a collection of Price objects created from the price field
- $productPage->reduceStock() Lowers the stock by the quantity ordered
- $productPage->stock() How many of this product are left, from its `stock` field
- $productPage->tax() Returns the Tax object associated with this product.
- $productPage->taxRule() Content field: Key of the tax rule that applies to this product, `default` when empty