From aeee9b013639e1ab4edc590e60ac1b4f35615423 Mon Sep 17 00:00:00 2001 From: Jo Date: Mon, 10 Jun 2024 17:22:34 +0100 Subject: [PATCH 1/7] first draft --- .../eCommerce/pxm-dynamic-variables.md | 131 ++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 docs/studio/developers/eCommerce/pxm-dynamic-variables.md diff --git a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md new file mode 100644 index 00000000..1125dbb2 --- /dev/null +++ b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md @@ -0,0 +1,131 @@ +--- +title: Dynamic Variables for Product Experience Manager +nav_label: Dynamic Variables for Product Experience Manager +sidebar_position: 110 +--- + +You can dynamically set up your product detail (PDP) and product listing pages (PLP) using data from Product Experience Manager. + +The following table describes how the attributes in Product Experience Manager map to the dynamic variables in Studio that you can use to populate your PDPs and PLPs. + +## Product Experience Manager Products + +The following tables describe how the Product Experience Manager product attributes map to Studio dynamic variables. For more information on Product Experience Manager product attributes, see [Create a Product](/docs/api/pxm/products/create-product). + +### Products + +Product Experience Manager products have the following attributes. For more information on Product Experience Manager product attributes, see [Create a Product](/docs/api/pxm/products/create-product). + +| PXM Attribute | Studio Dynamic Variable | +| --- |--------------------------------------| +| external_ref | {{product.attributes.externalref}} | +| name | {{product.attributes.name}} | +| description | {{product.attributes.description}} | +| slug | {{product.attributes.slug}} | +| sku | {{product.attributes.sku}} | +| status | {{product.attributes.status}} | +| commodity_type | {{product.attributes.commoditytype}} | +| upc_ean | {{product.attributes.upcean}} | +| mpn | {{product.attributes.mpn}} | + +### Locales + +Product Experience Manager supports localization of products. For more information on Product Experience Manager localization attributes, see [Create a Product](/docs/api/pxm/products/create-product). + +| PXM Attribute | Studio Dynamic Variable | +|---------------|------------------------------------| +| property name | {{locale.attributes.propertyname}} | +| name | {{locale.attributes.name}} | +| description | {{locale.attributes.description}} | + +### Tags + +You can use product tags to store or assign a key word against a product. The product tag can then be used to describe or label that product. For more information on Product Experience Manager tag attributes, see [Create a Product](/docs/api/pxm/products/create-product). + +| PXM Attribute | Studio Dynamic Variable | +|---------------|----------------------------| +| tags | {{locale.attributes.tags}} | + +### Build Rules + +Product Experience Manager allows you to build a combination of child products associated with a product, based on build rules that you specify. For more information on Product Experience Manager variation attributes, see [Create a Product](/docs/api/pxm/products/create-product). + +| PXM Attribute | Studio Dynamic Variable | +|---------------|------------------------------| +| default | {{build.attributes.default}} | +| include | {{build.attributes.include}} | +| exclude | {{build.attributes.exclude}} | + +### Custom Inputs + +Product Experience Manager allows your shoppers to add custom text to a product when adding product items to a cart. For more information on Product Experience Manager custom attributes, see [Create a Product](/docs/api/pxm/products/create-product). + +| PXM Attribute | Studio Dynamic Variable | +|------------------|----------------------------------------| +| property name | {{custom.attributes.propertyname}} | +| name | {{custom.attributes.name}} | +| validation_rules | {{custom.attributes.vallidationrules}} | +| type | {{custom.attributes.type}} | +| options | {{custom.attributes.options}} | +| max_length | {{custom.attributes.maxlength}} | +| required | {{custom.attributes.required}} | + +### Components + +Product Experience Manager allows you to create and manage bundles. A bundle is a purchasable product, comprising of one or more products that you want to sell together. You can create multiple components within a bundle. Each component must have at least one or more options. Each option is a product and a quantity. For more information on Product Experience Manager bundle attributes, see [Create a Product](/docs/api/pxm/products/create-product). + +| PXM Attribute | Studio Dynamic Variable | +|---------------|----------------------------------------| +| property name | {{custom.attributes.propertyname}} | +| name | {{custom.attributes.name}} | +| min | {{custom.attributes.vallidationrules}} | +| max | {{custom.attributes.type}} | +| sort_order | {{custom.attributes.options}} | + +#### Options + +Each bundle component must have at least one or more options. Each option is a product and a quantity. For more information on Product Experience Manager bundle attributes, see [Create a Product](/docs/api/pxm/products/create-product). + +| PXM Attribute | Studio Dynamic Variable | +|---------------|---------------------------------| +| id | {{custom.attributes.id}} | +| type | {{custom.attributes.type}} | +| quantity | {{custom.attributes.quantity}} | +| sort_order | {{custom.attributes.sortorder}} | +| default | {{custom.attributes.default}} | + +## Product Experience Manager Hierarchies + +The following tables describe how the Product Experience Manager hierarchy and node attributes map to Studio dynamic variables. For more information on Product Experience Manager hierarchy attributes, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). + +### Hierarchies + +Product Experience Manager hierarchies have the following attributes. For more information on Product Experience Manager hierarchy attributes, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). + +| PXM Attribute | Studio Dynamic Variable | +|----------------|-------------------------------------| +| name | {{category.attributes.name}} | +| description | {{category.attributes.description}} | +| slug | {{category.attributes.slug}} | + +### Locales + +Product Experience Manager supports localization of hierarchies. For more information on Product Experience Manager hierarchy localization attributes, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). + +| PXM Attribute | Studio Dynamic Variable | +|---------------|------------------------------------| +| property name | {{locale.attributes.propertyname}} | +| name | {{locale.attributes.name}} | +| description | {{locale.attributes.description}} | + +### Relationships + +A hierarchy can have parent and child nodes. For more information on Product Experience Manager hierarchy parent/child attributes, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). + + +| PXM Attribute | Studio Dynamic Variable | +|---------------|-----------------------------------------| +| data | {{relationship.attributes.data}} | +| related | {{relationship.attributes.related}} | + + From 9161adf893657b17fe2f3d73014c4932a00db228 Mon Sep 17 00:00:00 2001 From: Jo Date: Tue, 11 Jun 2024 10:16:01 +0100 Subject: [PATCH 2/7] first draft --- .../developers/eCommerce/pxm-dynamic-variables.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md index 1125dbb2..f8672c6e 100644 --- a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md +++ b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md @@ -74,13 +74,13 @@ Product Experience Manager allows your shoppers to add custom text to a product Product Experience Manager allows you to create and manage bundles. A bundle is a purchasable product, comprising of one or more products that you want to sell together. You can create multiple components within a bundle. Each component must have at least one or more options. Each option is a product and a quantity. For more information on Product Experience Manager bundle attributes, see [Create a Product](/docs/api/pxm/products/create-product). -| PXM Attribute | Studio Dynamic Variable | -|---------------|----------------------------------------| -| property name | {{custom.attributes.propertyname}} | -| name | {{custom.attributes.name}} | -| min | {{custom.attributes.vallidationrules}} | -| max | {{custom.attributes.type}} | -| sort_order | {{custom.attributes.options}} | +| PXM Attribute | Studio Dynamic Variable | +|---------------|---------------------------------------| +| property name | {{custom.attributes.propertyname}} | +| name | {{custom.attributes.name}} | +| min | {{custom.attributes.validationrules}} | +| max | {{custom.attributes.type}} | +| sort_order | {{custom.attributes.options}} | #### Options From 98e4cbb7819f2a3550c1641b9d05ffc5b98e3061 Mon Sep 17 00:00:00 2001 From: Jo Date: Tue, 11 Jun 2024 16:30:49 +0100 Subject: [PATCH 3/7] first draft --- .../eCommerce/pxm-dynamic-variables.md | 191 +++++++++++++----- 1 file changed, 142 insertions(+), 49 deletions(-) diff --git a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md index f8672c6e..02995176 100644 --- a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md +++ b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md @@ -16,27 +16,27 @@ The following tables describe how the Product Experience Manager product attribu Product Experience Manager products have the following attributes. For more information on Product Experience Manager product attributes, see [Create a Product](/docs/api/pxm/products/create-product). -| PXM Attribute | Studio Dynamic Variable | -| --- |--------------------------------------| -| external_ref | {{product.attributes.externalref}} | -| name | {{product.attributes.name}} | -| description | {{product.attributes.description}} | -| slug | {{product.attributes.slug}} | -| sku | {{product.attributes.sku}} | -| status | {{product.attributes.status}} | -| commodity_type | {{product.attributes.commoditytype}} | -| upc_ean | {{product.attributes.upcean}} | -| mpn | {{product.attributes.mpn}} | +| PXM Attribute | Studio Dynamic Variable | +| --- |---------------------------------------| +| external_ref | {{product.attributes.external_ref}} | +| name | {{product.attributes.name}} | +| description | {{product.attributes.description}} | +| slug | {{product.attributes.slug}} | +| sku | {{product.attributes.sku}} | +| status | {{product.attributes.status}} | +| commodity_type | {{product.attributes.commodity_type}} | +| upc_ean | {{product.attributes.upc_ean}} | +| mpn | {{product.attributes.mpn}} | ### Locales Product Experience Manager supports localization of products. For more information on Product Experience Manager localization attributes, see [Create a Product](/docs/api/pxm/products/create-product). -| PXM Attribute | Studio Dynamic Variable | -|---------------|------------------------------------| -| property name | {{locale.attributes.propertyname}} | -| name | {{locale.attributes.name}} | -| description | {{locale.attributes.description}} | +| PXM Attribute | Studio Dynamic Variable | +|---------------|--------------------------------------| +| property name | {{product.attributes.property_name}} | +| name | {{product.attributes.name}} | +| description | {{product.attributes.description}} | ### Tags @@ -44,7 +44,7 @@ You can use product tags to store or assign a key word against a product. The pr | PXM Attribute | Studio Dynamic Variable | |---------------|----------------------------| -| tags | {{locale.attributes.tags}} | +| tags | {{product.attributes.tags}} | ### Build Rules @@ -52,23 +52,23 @@ Product Experience Manager allows you to build a combination of child products a | PXM Attribute | Studio Dynamic Variable | |---------------|------------------------------| -| default | {{build.attributes.default}} | -| include | {{build.attributes.include}} | -| exclude | {{build.attributes.exclude}} | +| default | {{product.attributes.default}} | +| include | {{product.attributes.include}} | +| exclude | {{product.attributes.exclude}} | ### Custom Inputs Product Experience Manager allows your shoppers to add custom text to a product when adding product items to a cart. For more information on Product Experience Manager custom attributes, see [Create a Product](/docs/api/pxm/products/create-product). -| PXM Attribute | Studio Dynamic Variable | -|------------------|----------------------------------------| -| property name | {{custom.attributes.propertyname}} | -| name | {{custom.attributes.name}} | -| validation_rules | {{custom.attributes.vallidationrules}} | -| type | {{custom.attributes.type}} | -| options | {{custom.attributes.options}} | -| max_length | {{custom.attributes.maxlength}} | -| required | {{custom.attributes.required}} | +| PXM Attribute | Studio Dynamic Variable | +|------------------|------------------------------------------| +| property name | {{product.attributes.property_name}} | +| name | {{product.attributes.name}} | +| validation_rules | {{product.attributes.vallidation_rules}} | +| type | {{product.attributes.type}} | +| options | {{product.attributes.options}} | +| max_length | {{product.attributes.max_length}} | +| required | {{product.attributes.required}} | ### Components @@ -76,23 +76,23 @@ Product Experience Manager allows you to create and manage bundles. A bundle is | PXM Attribute | Studio Dynamic Variable | |---------------|---------------------------------------| -| property name | {{custom.attributes.propertyname}} | -| name | {{custom.attributes.name}} | -| min | {{custom.attributes.validationrules}} | -| max | {{custom.attributes.type}} | -| sort_order | {{custom.attributes.options}} | +| property name | {{product.attributes.property_name}} | +| name | {{product.attributes.name}} | +| min | {{product.attributes.validationrules}} | +| max | {{product.attributes.type}} | +| sort_order | {{product.attributes.options}} | #### Options Each bundle component must have at least one or more options. Each option is a product and a quantity. For more information on Product Experience Manager bundle attributes, see [Create a Product](/docs/api/pxm/products/create-product). -| PXM Attribute | Studio Dynamic Variable | -|---------------|---------------------------------| -| id | {{custom.attributes.id}} | -| type | {{custom.attributes.type}} | -| quantity | {{custom.attributes.quantity}} | -| sort_order | {{custom.attributes.sortorder}} | -| default | {{custom.attributes.default}} | +| PXM Attribute | Studio Dynamic Variable | +|---------------|----------------------------------| +| id | {{product.attributes.id}} | +| type | {{product.attributes.type}} | +| quantity | {{product.attributes.quantity}} | +| sort_order | {{product.attributes.sort_order}} | +| default | {{product.attributes.default}} | ## Product Experience Manager Hierarchies @@ -112,20 +112,113 @@ Product Experience Manager hierarchies have the following attributes. For more i Product Experience Manager supports localization of hierarchies. For more information on Product Experience Manager hierarchy localization attributes, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). -| PXM Attribute | Studio Dynamic Variable | -|---------------|------------------------------------| -| property name | {{locale.attributes.propertyname}} | -| name | {{locale.attributes.name}} | -| description | {{locale.attributes.description}} | +| PXM Attribute | Studio Dynamic Variable | +|---------------|--------------------------------------| +| property name | {{category.attributes.property_name}} | +| name | {{category.attributes.name}} | +| description | {{category.attributes.description}} | ### Relationships -A hierarchy can have parent and child nodes. For more information on Product Experience Manager hierarchy parent/child attributes, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). +A hierarchy can have parent and child nodes. Relationships allow you to move between requests and includes links to the child nodes associated with a hierarchy or node. For more information on Product Experience Manager hierarchy relationship attributes, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). | PXM Attribute | Studio Dynamic Variable | |---------------|-----------------------------------------| -| data | {{relationship.attributes.data}} | -| related | {{relationship.attributes.related}} | +| data | {{category.attributes.data}} | +| related | {{category.attributes.related}} | + +### Meta + +A hierarchy can have meta data. For more information on Product Experience Manager hierarchy meta data, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). + + +| PXM Attribute | Studio Dynamic Variable | +|---------------|------------------------------------| +| created_at | {{category.attributes.created_at}} | +| updated_at | {{category.attributes.updated_at}} | +| owner | {{category.attributes.owner}} | + +### Nodes + +A hierarchy can have parent and child nodes. For more information on Product Experience Manager hierarchy parent/child nodes attributes, see [Create a node](/docs/api/pxm/products/create-node). + +| PXM Attribute | Studio Dynamic Variable | +|----------------|--------------------------------------| +| name | {{node.attributes.name}} | +| description | {{node.attributes.description}} | +| slug | {{node.attributes.slug}} | +| curated_products | {{node.attributes.curated_products}} | + +#### Locales + +Product Experience Manager supports localization of nodes. For more information on Product Experience Manager node localization attributes, see [Create a node](/docs/api/pxm/products/create-node). + +| PXM Attribute | Studio Dynamic Variable | +|---------------|-----------------------------------| +| property name | {{node.attributes.property_name}} | +| name | {{node.attributes.name}} | +| description | {{node.attributes.description}} | + +#### Relationships + +A hierarchy can have parent and child nodes. Relationships allow you to move between requests and includes links to the child/parent nodes and products associated with a node. For more information on Product Experience Manager node relationship attributes, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). + +##### Children + +| PXM Attribute | Studio Dynamic Variable | +|---------------|-----------------------------| +| data | {{node.attributes.data}} | +| related | {{node.attributes.related}} | + +##### Parent + +| PXM Attribute | Studio Dynamic Variable | +|---------------|-----------------------------| +| data | {{node.attributes.data}} | +| related | {{node.attributes.related}} | + +##### Products + +| PXM Attribute | Studio Dynamic Variable | +|---------------|-----------------------------| +| data | {{node.attributes.data}} | +| related | {{node.attributes.related}} | + +#### Meta + +A hierarchy can have meta data. For more information on Product Experience Manager hierarchy meta data, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). + +| PXM Attribute | Studio Dynamic Variable | +|---------------|---------------------------------| +| created_at | {{node.attributes.created_at}} | +| updated_at | {{node.attributes.updated_at}} | +| parent_name | {{node.attributes.parent_name}} | +| owner | {{node.attributes.owner}} | + +## Contacts + +| PXM Attribute | Studio Dynamic Variable | +|---------------|---------------------------------| +| id | {{node.attributes.created_at}} | +| type | {{node.attributes.updated_at}} | +| persona | {{node.attributes.parent_name}} | +| first_name | {{node.attributes.owner}} | +| last_name | | +| title | | +| email | | +| phone | | +| organization | | +| website | | +| address1 | | +| address2 | | +| city | | +| state | | +| zip | | +| country | | +| params | | + + + From 2b94765ea17297c87dd39b0b8761c709c9c010d3 Mon Sep 17 00:00:00 2001 From: Jo Date: Fri, 14 Jun 2024 14:20:05 +0100 Subject: [PATCH 4/7] first draft --- .../eCommerce/pxm-dynamic-variables.md | 55 +++++++++---------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md index 02995176..4846cc6b 100644 --- a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md +++ b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md @@ -8,11 +8,11 @@ You can dynamically set up your product detail (PDP) and product listing pages ( The following table describes how the attributes in Product Experience Manager map to the dynamic variables in Studio that you can use to populate your PDPs and PLPs. -## Product Experience Manager Products +# Product Experience Manager Products The following tables describe how the Product Experience Manager product attributes map to Studio dynamic variables. For more information on Product Experience Manager product attributes, see [Create a Product](/docs/api/pxm/products/create-product). -### Products +## Products Product Experience Manager products have the following attributes. For more information on Product Experience Manager product attributes, see [Create a Product](/docs/api/pxm/products/create-product). @@ -132,7 +132,6 @@ A hierarchy can have parent and child nodes. Relationships allow you to move bet A hierarchy can have meta data. For more information on Product Experience Manager hierarchy meta data, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). - | PXM Attribute | Studio Dynamic Variable | |---------------|------------------------------------| | created_at | {{category.attributes.created_at}} | @@ -150,7 +149,7 @@ A hierarchy can have parent and child nodes. For more information on Product Exp | slug | {{node.attributes.slug}} | | curated_products | {{node.attributes.curated_products}} | -#### Locales +### Locales Product Experience Manager supports localization of nodes. For more information on Product Experience Manager node localization attributes, see [Create a node](/docs/api/pxm/products/create-node). @@ -160,32 +159,32 @@ Product Experience Manager supports localization of nodes. For more information | name | {{node.attributes.name}} | | description | {{node.attributes.description}} | -#### Relationships +### Relationships A hierarchy can have parent and child nodes. Relationships allow you to move between requests and includes links to the child/parent nodes and products associated with a node. For more information on Product Experience Manager node relationship attributes, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). -##### Children +#### Children | PXM Attribute | Studio Dynamic Variable | |---------------|-----------------------------| | data | {{node.attributes.data}} | | related | {{node.attributes.related}} | -##### Parent +#### Parent | PXM Attribute | Studio Dynamic Variable | |---------------|-----------------------------| | data | {{node.attributes.data}} | | related | {{node.attributes.related}} | -##### Products +#### Products | PXM Attribute | Studio Dynamic Variable | |---------------|-----------------------------| | data | {{node.attributes.data}} | | related | {{node.attributes.related}} | -#### Meta +### Meta A hierarchy can have meta data. For more information on Product Experience Manager hierarchy meta data, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy). @@ -198,25 +197,25 @@ A hierarchy can have meta data. For more information on Product Experience Manag ## Contacts -| PXM Attribute | Studio Dynamic Variable | -|---------------|---------------------------------| -| id | {{node.attributes.created_at}} | -| type | {{node.attributes.updated_at}} | -| persona | {{node.attributes.parent_name}} | -| first_name | {{node.attributes.owner}} | -| last_name | | -| title | | -| email | | -| phone | | -| organization | | -| website | | -| address1 | | -| address2 | | -| city | | -| state | | -| zip | | -| country | | -| params | | +| PXM Attribute | Studio Dynamic Variable | +|---------------|--------------------------| +| id | {{contact.id}} | +| type | {{contact.type}} | +| persona | {{contact.persona}} | +| first_name | {{contact.first_name}} | +| last_name | {{contact.last_name}} | +| title | {{contact.title}} | +| email | {{contact.email}} | +| phone | {{contact.phone}} | +| organization | {{contact.organization}} | +| website | {{contact.website}} | +| address1 | {{contact.address1}} | +| address2 | {{contact.address2}} | +| city | {{contact.city}} | +| state | {{contact.state}} | +| zip | {{contact.zip}} | +| country | {{contact.country}} | +| params | {{contact.params}} | From 8416d6cc4917b8a9e1fc6804df564a4c624818af Mon Sep 17 00:00:00 2001 From: Jo Date: Wed, 26 Jun 2024 12:43:29 +0100 Subject: [PATCH 5/7] first draft --- .../eCommerce/pxm-dynamic-variables.md | 32 ++++++++++++------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md index 4846cc6b..b791bb95 100644 --- a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md +++ b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md @@ -16,17 +16,18 @@ The following tables describe how the Product Experience Manager product attribu Product Experience Manager products have the following attributes. For more information on Product Experience Manager product attributes, see [Create a Product](/docs/api/pxm/products/create-product). -| PXM Attribute | Studio Dynamic Variable | -| --- |---------------------------------------| -| external_ref | {{product.attributes.external_ref}} | -| name | {{product.attributes.name}} | -| description | {{product.attributes.description}} | -| slug | {{product.attributes.slug}} | -| sku | {{product.attributes.sku}} | -| status | {{product.attributes.status}} | -| commodity_type | {{product.attributes.commodity_type}} | -| upc_ean | {{product.attributes.upc_ean}} | -| mpn | {{product.attributes.mpn}} | +| PXM Attribute | Studio Dynamic Variable | +| --- |----------------------------------------------| +| ID | {{product.id}} | +| external_ref | {{product.attributes.external_ref}} | +| name | {{product.attributes.name}} | +| description | {{product.attributes.description}} | +| slug | {{product.attributes.slug}} | +| sku | {{product.attributes.sku}} | +| status | {{product.attributes.status}} | +| commodity_type | {{product.attributes.commodity_type}} | +| upc_ean | {{product.attributes.upc_ean}} | +| mpn | {{product.attributes.manufacturer_part_num}} | ### Locales @@ -38,6 +39,11 @@ Product Experience Manager supports localization of products. For more informati | name | {{product.attributes.name}} | | description | {{product.attributes.description}} | + + + ### Build Rules Product Experience Manager allows you to build a combination of child products associated with a product, based on build rules that you specify. For more information on Product Experience Manager variation attributes, see [Create a Product](/docs/api/pxm/products/create-product). @@ -197,6 +205,8 @@ A hierarchy can have meta data. For more information on Product Experience Manag ## Contacts +Studio identifies a person when a form is a submitted. If you configure a form in Studio that is then submitted by a shopper on your site, you can use the following dynamic variables to populate other pages on your site with the shoppers contact details. + | PXM Attribute | Studio Dynamic Variable | |---------------|--------------------------| | id | {{contact.id}} | From e8d1a4a704c26b3bea27a54e764936732e6d333a Mon Sep 17 00:00:00 2001 From: Jo Date: Wed, 26 Jun 2024 15:08:42 +0100 Subject: [PATCH 6/7] first draft --- .../eCommerce/pxm-dynamic-variables.md | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md index b791bb95..59f5538f 100644 --- a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md +++ b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md @@ -29,6 +29,10 @@ Product Experience Manager products have the following attributes. For more info | upc_ean | {{product.attributes.upc_ean}} | | mpn | {{product.attributes.manufacturer_part_num}} | + + ### Relationships @@ -152,6 +165,7 @@ A hierarchy can have parent and child nodes. For more information on Product Exp | PXM Attribute | Studio Dynamic Variable | |----------------|--------------------------------------| +| id| {{node.id}} | | name | {{node.attributes.name}} | | description | {{node.attributes.description}} | | slug | {{node.attributes.slug}} | From 2accb778dd1093dd12f184bfae951f662d9f565f Mon Sep 17 00:00:00 2001 From: Jo Date: Wed, 26 Jun 2024 16:43:58 +0100 Subject: [PATCH 7/7] first draft --- .../eCommerce/pxm-dynamic-variables.md | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md index 59f5538f..5aa23785 100644 --- a/docs/studio/developers/eCommerce/pxm-dynamic-variables.md +++ b/docs/studio/developers/eCommerce/pxm-dynamic-variables.md @@ -74,15 +74,15 @@ Product Experience Manager allows you to build a combination of child products a Product Experience Manager allows your shoppers to add custom text to a product when adding product items to a cart. For more information on Product Experience Manager custom attributes, see [Create a Product](/docs/api/pxm/products/create-product). -| PXM Attribute | Studio Dynamic Variable | -|------------------|------------------------------------------| -| property name | {{product.attributes.property_name}} | -| name | {{product.attributes.name}} | -| validation_rules | {{product.attributes.vallidation_rules}} | -| type | {{product.attributes.type}} | -| options | {{product.attributes.options}} | -| max_length | {{product.attributes.max_length}} | -| required | {{product.attributes.required}} | +| PXM Attribute | Studio Dynamic Variable | +|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| property name | {{product.attributes.custom_inputs.__}} where __ is the name for the custom text field that was specified when the product was [personalized](/docs/api/pxm/products/create-product#personalizing-products). | +| name | {{product.attributes..name}} | +| validation_rules | {{product.attributes..validation_rules.length}} | +| type | {{product.attributes.type}} | +| options | {{product.attributes.options}} | +| max_length | {{product.attributes.max_length}} | +| required | {{product.attributes.required}} | ### Components @@ -171,6 +171,10 @@ A hierarchy can have parent and child nodes. For more information on Product Exp | slug | {{node.attributes.slug}} | | curated_products | {{node.attributes.curated_products}} | + + ### Relationships A hierarchy can have parent and child nodes. Relationships allow you to move between requests and includes links to the child/parent nodes and products associated with a node. For more information on Product Experience Manager node relationship attributes, see [Create a hierarchy](/docs/api/pxm/products/create-hierarchy).