Back to Medusa

Content

www/apps/resources/app/commerce-modules/pricing/admin-widget-zones/_content.mdx

2.14.22.7 KB
Original Source

import { Table } from "docs-ui"

<Table> <Table.Header> <Table.Row> <Table.HeaderCell className="w-1/3">Injection Zone Name</Table.HeaderCell> <Table.HeaderCell className="w-1/3">Description</Table.HeaderCell> <Table.HeaderCell className="w-1/3">Additional Props</Table.HeaderCell> </Table.Row> </Table.Header> <Table.Body> <Table.Row> <Table.Cell>
    `price_list.list.before`

  </Table.Cell>
  <Table.Cell>

    Added at the top of the Pricing list page.

  </Table.Cell>
  <Table.Cell>

    \-

  </Table.Cell>
</Table.Row>
<Table.Row>
  <Table.Cell>

    `price_list.list.after`

  </Table.Cell>
  <Table.Cell>

    Added at the bottom of the Pricing list page.

  </Table.Cell>
  <Table.Cell>

    \-

  </Table.Cell>
</Table.Row>
<Table.Row>
  <Table.Cell>

    `price_list.details.before`

  </Table.Cell>
  <Table.Cell>

    Added at the top of a price list's details page.

  </Table.Cell>
  <Table.Cell>
  
    Type `DetailWidgetProps<AdminPriceList>` imported from `@medusajs/framework/types`

    ```ts blockStyle="inline"
    {
      data, // AdminPriceList object
    }
    ```

  </Table.Cell>
</Table.Row>
<Table.Row>
  <Table.Cell>

    `price_list.details.after`

  </Table.Cell>
  <Table.Cell>

    Added at the bottom of a price list's details page.

  </Table.Cell>
  <Table.Cell>
  
    Type `DetailWidgetProps<AdminPriceList>` imported from `@medusajs/framework/types`

    ```ts blockStyle="inline"
    {
      data, // AdminPriceList object
    }
    ```

  </Table.Cell>
</Table.Row>
<Table.Row>
  <Table.Cell>

    `price_list.details.side.before`

  </Table.Cell>
  <Table.Cell>

    Added at the top of the second column in the price list details page.

  </Table.Cell>
  <Table.Cell>
  
    Type `DetailWidgetProps<AdminPriceList>` imported from `@medusajs/framework/types`

    ```ts blockStyle="inline"
    {
      data, // AdminPriceList object
    }
    ```

  </Table.Cell>
</Table.Row>
<Table.Row>
  <Table.Cell>

    `price_list.details.side.after`

  </Table.Cell>
  <Table.Cell>

    Added at the bottom of the second column in the price list details page.

  </Table.Cell>
  <Table.Cell>
  
    Type `DetailWidgetProps<AdminPriceList>` imported from `@medusajs/framework/types`

    ```ts blockStyle="inline"
    {
      data, // AdminPriceList object
    }
    ```

  </Table.Cell>
</Table.Row>

</Table.Body>

</Table>