Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit e4b5d74

Browse files
product-interface-dynamic-links-mapping (#8342)
* product-interface-dynamic-links-mapping * udpate-product-changes * product-downloadable-capitalize-fixed Co-authored-by: Kevin Harper <keharper@users.noreply.github.com>
1 parent ba6aeca commit e4b5d74

17 files changed

+40
-36
lines changed

src/guides/v2.3/graphql/interfaces/bundle-product.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ redirect_from:
88

99
The `BundleProduct` data type implements the following interfaces:
1010

11-
- `ProductInterface`
12-
- `PhysicalProductInterface`
13-
- `CustomizableProductInterface`
11+
- [ProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html)
12+
- [PhysicalProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html#PhysicalProductInterface)
13+
- [CustomizableProductInterface]({{page.baseurl}}/graphql/interfaces/customizable-option-interface.html)
1414

1515
Attributes that are specific to bundle products can be used when performing a [`products`]({{page.baseurl}}/graphql/queries/products.html) query.
1616

src/guides/v2.3/graphql/interfaces/configurable-product.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ redirect_from:
88

99
The `ConfigurableProduct` data type implements the following interfaces:
1010

11-
- `ProductInterface`
12-
- `PhysicalProductInterface`
13-
- `CustomizableProductInterface`
11+
- [ProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html)
12+
- [PhysicalProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html#PhysicalProductInterface)
13+
- [CustomizableProductInterface]({{page.baseurl}}/graphql/interfaces/customizable-option-interface.html)
1414

1515
Attributes that are specific to configurable products can be used when performing a [`products`]({{page.baseurl}}/graphql/queries/products.html) query.
1616

src/guides/v2.3/graphql/interfaces/downloadable-product.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ The `DownloadableProduct` object contains the following attributes:
1414

1515
Attribute | Type | Description
1616
--- | --- | ---
17-
`downloadable_product_links` | [`DownloadableProductLinks`] | An array containing information about the links for this downloadable product
18-
`downloadable_product_samples` | [`DownloadableProductSamples`] | An array containing information about samples of this downloadable product
17+
`downloadable_product_links` | [[DownloadableProductLinks]](#DownloadableProductLinks) | An array containing information about the links for this downloadable product
18+
`downloadable_product_samples` | [[DownloadableProductSamples]](#DownloadableProductSamples) | An array containing information about samples of this downloadable product
1919
`links_purchased_separately` | Int | A value of 1 indicates that each link in the array must be purchased separately
2020
`links_title` | String | The heading above the list of downloadable products
2121

22-
### DownloadableProductSamples object
22+
### DownloadableProductSamples object {#DownloadableProductSamples}
2323

2424
The `DownloadableProductSamples` object contains the following attributes:
2525

@@ -32,7 +32,7 @@ Attribute | Type | Description
3232
`sort_order` | Int | A number indicating the sort order
3333
`title` | String | The display name of the sample
3434

35-
### DownloadableProductLinks object
35+
### DownloadableProductLinks object {#DownloadableProductLinks}
3636

3737
The `DownloadableProductLinks` object contains the following attributes:
3838

src/guides/v2.3/graphql/interfaces/gift-card-product.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ The `GiftCardProduct` data type defines properties of a gift card, including the
1111

1212
It implements the following interfaces:
1313

14-
- `ProductInterface`
15-
- `PhysicalProductInterface`
16-
- `CustomizableProductInterface`
14+
- [ProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html)
15+
- [PhysicalProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html#PhysicalProductInterface)
16+
- [CustomizableProductInterface]({{page.baseurl}}/graphql/interfaces/customizable-option-interface.html)
1717

1818
## GiftCardProduct object
1919

src/guides/v2.3/graphql/interfaces/grouped-product.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ redirect_from:
66
- /guides/v2.3/graphql/product/grouped-product.html
77
---
88

9-
The `GroupedProduct` data type implements `ProductInterface` and `PhysicalProductInterface`. As a result, attributes that are specific to grouped products can be used when performing a [`products`]({{page.baseurl}}/graphql/queries/products.html) query.
9+
The `GroupedProduct` data type implements [ProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html) and [PhysicalProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html#PhysicalProductInterface). As a result, attributes that are specific to grouped products can be used when performing a [products]({{page.baseurl}}/graphql/queries/products.html) query.
1010

1111
## GroupedProduct
1212

src/guides/v2.3/graphql/interfaces/product-interface-implementations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Product type | Implements | Has product-specific attributes?
1313
[BundleProduct]({{ page.baseurl }}/graphql/interfaces/bundle-product.html) | [ProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html), [PhysicalProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html#PhysicalProductInterface), [CustomizableProductInterface]({{ page.baseurl }}/graphql/interfaces/customizable-option-interface.html) | Yes
1414
[ConfigurableProduct]({{ page.baseurl }}/graphql/interfaces/configurable-product.html) | [ProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html), [PhysicalProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html#PhysicalProductInterface), [CustomizableProductInterface]({{ page.baseurl }}/graphql/interfaces/customizable-option-interface.html) | Yes
1515
[DownloadableProduct]({{ page.baseurl }}/graphql/interfaces/downloadable-product.html) | [ProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html), [CustomizableProductInterface]({{ page.baseurl }}/graphql/interfaces/customizable-option-interface.html) | Yes
16+
[GiftCardProduct]({{ page.baseurl }}/graphql/interfaces/gift-card-product.html) | [ProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html), [PhysicalProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html#PhysicalProductInterface),[CustomizableProductInterface]({{ page.baseurl }}/graphql/interfaces/customizable-option-interface.html) | Yes
1617
[GroupedProduct]({{ page.baseurl }}/graphql/interfaces/grouped-product.html) | [ProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html), [PhysicalProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html#PhysicalProductInterface), [CustomizableProductInterface]({{ page.baseurl }}/graphql/interfaces/customizable-option-interface.html) | Yes
1718
[SimpleProduct]({{ page.baseurl }}/graphql/interfaces/simple-product.html) | [ProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html), [PhysicalProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html#PhysicalProductInterface), [CustomizableProductInterface]({{ page.baseurl }}/graphql/interfaces/customizable-option-interface.html) | No
1819
[VirtualProduct]({{ page.baseurl }}/graphql/interfaces/virtual-product.html) | [ProductInterface]({{ page.baseurl }}/graphql/interfaces/product-interface.html), [CustomizableProductInterface]({{ page.baseurl }}/graphql/interfaces/customizable-option-interface.html) | No

src/guides/v2.3/graphql/interfaces/product-interface.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
group: graphql
33
title: ProductInterface attributes
44
redirect_from:
5-
- /guides/v2.3/graphql/product/product-interface.html
5+
- /guides/v2.3/graphql/product/product-interface.html
66
---
77

88
Any type that implements `ProductInterface` contains all the base attributes necessary for the frontend of the product model.
@@ -15,6 +15,7 @@ The `items` that are returned in a `ProductInterface` array can also contain att
1515
- [BundleProduct]({{ page.baseurl }}/graphql/interfaces/bundle-product.html)
1616
- [ConfigurableProduct]({{ page.baseurl }}/graphql/interfaces/configurable-product.html)
1717
- [DownloadableProduct]({{ page.baseurl }}/graphql/interfaces/downloadable-product.html)
18+
- [GiftCardProduct]({{ page.baseurl }}/graphql/interfaces/gift-card-product.html)
1819
- [GroupedProduct]({{ page.baseurl }}/graphql/interfaces/grouped-product.html)
1920
- [VirtualProduct]({{ page.baseurl }}/graphql/interfaces/virtual-product.html)
2021

src/guides/v2.3/graphql/interfaces/virtual-product.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ contributor_link: https://www.atwix.com/
77

88
The `VirtualProduct` data type implements the following interfaces:
99

10-
- `ProductInterface`
11-
- `CustomizableProductInterface`
10+
- [ProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html)
11+
- [CustomizableProductInterface]({{page.baseurl}}/graphql/interfaces/customizable-option-interface.html)
1212

1313
All `VirtualProduct` attributes are defined in the implemented interfaces.
1414

src/guides/v2.4/graphql/interfaces/bundle-product.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ redirect_from:
77

88
The `BundleProduct` data type implements the following interfaces:
99

10-
- `ProductInterface`
11-
- `PhysicalProductInterface`
12-
- `CustomizableProductInterface`
10+
- [ProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html)
11+
- [PhysicalProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html#PhysicalProductInterface)
12+
- [CustomizableProductInterface]({{page.baseurl}}/graphql/interfaces/customizable-option-interface.html)
1313

1414
Attributes that are specific to bundle products can be used when performing a [`products`]({{page.baseurl}}/graphql/queries/products.html) query.
1515

src/guides/v2.4/graphql/interfaces/configurable-product.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ redirect_from:
77

88
The `ConfigurableProduct` data type implements the following interfaces:
99

10-
- `ProductInterface`
11-
- `PhysicalProductInterface`
12-
- `CustomizableProductInterface`
10+
- [ProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html)
11+
- [PhysicalProductInterface]({{page.baseurl}}/graphql/interfaces/product-interface.html#PhysicalProductInterface)
12+
- [CustomizableProductInterface]({{page.baseurl}}/graphql/interfaces/customizable-option-interface.html)
1313

1414
Attributes that are specific to configurable products can be used when performing a [`products`]({{page.baseurl}}/graphql/queries/products.html) query.
1515

0 commit comments

Comments
 (0)