# ProductPage

> Base for own product pages

- Read more: <https://merx2.wagnerwagner.de/guide/getting-started/adding-products.md>
- Source: `src/ProductPage.php` <https://github.com/wagnerwagner/merx/blob/2.0.0-alpha.11/src/ProductPage.php>

## Description

Used in Cart, ProductList and ListItems.

## Pages

- [$productPage->orderInfo()](https://merx2.wagnerwagner.de/reference/classes/product-page/order-info.md): Summary info string about the orders including this product Used for the orders tab in the product page
- [$productPage->orders()](https://merx2.wagnerwagner.de/reference/classes/product-page/orders.md): Orders including this product with enriched cart information
- [$productPage->price()](https://merx2.wagnerwagner.de/reference/classes/product-page/price.md): Price for a pricing rule
- [$productPage->prices()](https://merx2.wagnerwagner.de/reference/classes/product-page/prices.md): Returns a collection of Price objects created from the price field
- [$productPage->reduceStock()](https://merx2.wagnerwagner.de/reference/classes/product-page/reduce-stock.md): Lowers the stock by the quantity ordered
- [$productPage->stock()](https://merx2.wagnerwagner.de/reference/classes/product-page/stock.md): How many of this product are left, from its `stock` field
- [$productPage->tax()](https://merx2.wagnerwagner.de/reference/classes/product-page/tax.md): Returns the Tax object associated with this product.
- [$productPage->taxRule()](https://merx2.wagnerwagner.de/reference/classes/product-page/tax-rule.md): Content field: Key of the tax rule that applies to this product, `default` when empty
