-
Notifications
You must be signed in to change notification settings - Fork 33
Add Quote Management merchant block documentation (3 blocks) #659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bdenham
wants to merge
2
commits into
releases/b2b-nov-release
Choose a base branch
from
feature/merchant-blocks-quote-management-v2
base: releases/b2b-nov-release
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
59 changes: 59 additions & 0 deletions
59
src/content/docs/merchants/blocks/commerce-b2b-negotiable-quote-template.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| --- | ||
| title: Negotiable Quote Template | ||
| description: Buyers save frequently ordered items as templates for faster reordering through this block. Place it on quote template pages. | ||
| sidebar: | ||
| label: Quote Template | ||
| --- | ||
|
|
||
| import Diagram from '@components/Diagram.astro'; | ||
|
|
||
| Buyers save frequently ordered items as templates for faster reordering through this block. Place it on quote template pages. | ||
|
|
||
| <Diagram caption="Negotiable Quote Template block."> | ||
|  | ||
| </Diagram> | ||
|
|
||
| ## Requirements | ||
|
|
||
| Customers must log in to access this block. Enable company features and negotiable quotes in **Stores** > **Configuration** > **General** > **B2B Features** > **Enable Company** and **Stores** > **Configuration** > **General** > **B2B Features** > **Enable B2B Quote**. | ||
|
|
||
| ## Configuration | ||
|
|
||
| No configurations available for this block. | ||
|
|
||
| ## Section metadata | ||
|
|
||
| Control the section styling, spacing, and layout that wraps your commerce block. All properties are optional: | ||
|
|
||
| <table style="width: 100%; min-width: 470px; max-width: 100%; table-layout: fixed; border-collapse: collapse;"> | ||
| <tbody> | ||
| <tr> | ||
| <td colspan="2" style="text-align: center; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5); background-color: var(--sl-color-gray-6); font-weight: 600;">section-metadata</td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Style</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">highlight <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Padding</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">medium <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Margin</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">small <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Column Width</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">30% <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Gap</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">small <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
|
|
||
| <div style="background-color: var(--sl-color-blue-low); border-left: 4px solid var(--sl-color-blue); padding: 0.75rem 1rem; border-radius: 0.25rem; margin: 1rem 0 2rem 0;"> | ||
| <strong>Learn more:</strong> See the <a href="/merchants/storefront-builder/section-metadata/">Section Metadata guide</a> for all available values and the <a href="/merchants/storefront-builder/page-metadata/">Page Metadata guide</a> for SEO and caching options. | ||
| </div> | ||
|
|
83 changes: 83 additions & 0 deletions
83
src/content/docs/merchants/blocks/commerce-b2b-negotiable-quote.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| --- | ||
| title: Negotiable Quote | ||
| description: Buyers request custom pricing and negotiate terms with your sales team through this block. Place it on quote pages. | ||
| sidebar: | ||
| label: Negotiable Quote | ||
| --- | ||
|
|
||
| import Diagram from '@components/Diagram.astro'; | ||
|
|
||
| Buyers request custom pricing and negotiate terms with your sales team through this block. Place it on quote pages. | ||
|
|
||
| <Diagram caption="Negotiable Quote block."> | ||
|  | ||
| </Diagram> | ||
|
|
||
| ## Requirements | ||
|
|
||
| Customers must log in to access this block. Enable company features and negotiable quotes in **Stores** > **Configuration** > **General** > **B2B Features** > **Enable Company** and **Stores** > **Configuration** > **General** > **B2B Features** > **Enable B2B Quote**. | ||
|
|
||
| ## Configuration | ||
|
|
||
| No configurations available for this block. | ||
|
|
||
| ## Page metadata | ||
|
|
||
| Configure page-level metadata in the document authoring table below: | ||
|
|
||
| <table style="width: 100%; min-width: 470px; max-width: 100%; table-layout: fixed; border-collapse: collapse;"> | ||
| <tbody> | ||
| <tr> | ||
| <td colspan="2" style="text-align: center; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5); background-color: var(--sl-color-gray-6); font-weight: 600;">metadata</td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Title</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Quotes</td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Robots</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">noindex, nofollow</td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Cache Control</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">no-store</td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
|
|
||
| ## Section metadata | ||
|
|
||
| Control the section styling, spacing, and layout that wraps your commerce block. All properties are optional: | ||
|
|
||
| <table style="width: 100%; min-width: 470px; max-width: 100%; table-layout: fixed; border-collapse: collapse;"> | ||
| <tbody> | ||
| <tr> | ||
| <td colspan="2" style="text-align: center; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5); background-color: var(--sl-color-gray-6); font-weight: 600;">section-metadata</td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Style</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">highlight <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Padding</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">medium <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Margin</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">small <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Column Width</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">30% <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Gap</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">small <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
|
|
||
| <div style="background-color: var(--sl-color-blue-low); border-left: 4px solid var(--sl-color-blue); padding: 0.75rem 1rem; border-radius: 0.25rem; margin: 1rem 0 2rem 0;"> | ||
| <strong>Learn more:</strong> See the <a href="/merchants/storefront-builder/section-metadata/">Section Metadata guide</a> for all available values and the <a href="/merchants/storefront-builder/page-metadata/">Page Metadata guide</a> for SEO and caching options. | ||
| </div> | ||
|
|
83 changes: 83 additions & 0 deletions
83
src/content/docs/merchants/blocks/commerce-b2b-quote-checkout.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| --- | ||
| title: Quote Checkout | ||
| description: Buyers complete negotiated quote purchases with approved pricing through this block. Place it on quote checkout pages. | ||
| sidebar: | ||
| label: Quote Checkout | ||
| --- | ||
|
|
||
| import Diagram from '@components/Diagram.astro'; | ||
|
|
||
| Buyers complete negotiated quote purchases with approved pricing through this block. Place it on quote checkout pages. | ||
|
|
||
| <Diagram caption="Quote Checkout block."> | ||
|  | ||
| </Diagram> | ||
|
|
||
| ## Requirements | ||
|
|
||
| Customers must log in to access this block. Enable company features and negotiable quotes in **Stores** > **Configuration** > **General** > **B2B Features** > **Enable Company** and **Stores** > **Configuration** > **General** > **B2B Features** > **Enable B2B Quote**. | ||
|
|
||
| ## Configuration | ||
|
|
||
| No configurations available for this block. | ||
|
|
||
| ## Page metadata | ||
|
|
||
| Configure page-level metadata in the document authoring table below: | ||
|
|
||
| <table style="width: 100%; min-width: 470px; max-width: 100%; table-layout: fixed; border-collapse: collapse;"> | ||
| <tbody> | ||
| <tr> | ||
| <td colspan="2" style="text-align: center; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5); background-color: var(--sl-color-gray-6); font-weight: 600;">metadata</td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Title</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Checkout</td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Robots</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">noindex, nofollow</td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Cache Control</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">no-store</td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
|
|
||
| ## Section metadata | ||
|
|
||
| Control the section styling, spacing, and layout that wraps your commerce block. All properties are optional: | ||
|
|
||
| <table style="width: 100%; min-width: 470px; max-width: 100%; table-layout: fixed; border-collapse: collapse;"> | ||
| <tbody> | ||
| <tr> | ||
| <td colspan="2" style="text-align: center; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5); background-color: var(--sl-color-gray-6); font-weight: 600;">section-metadata</td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Style</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">highlight <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Padding</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">medium <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Margin</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">small <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Column Width</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">30% <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| <tr> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);">Gap</td> | ||
| <td style="width: 50%; padding: 0.75rem; border: 1px solid var(--sl-color-gray-5);"><em style="color: var(--sl-color-gray-3); font-style: italic;">small <span style="font-size: 0.85em;">(optional)</span></em></td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
|
|
||
| <div style="background-color: var(--sl-color-blue-low); border-left: 4px solid var(--sl-color-blue); padding: 0.75rem 1rem; border-radius: 0.25rem; margin: 1rem 0 2rem 0;"> | ||
| <strong>Learn more:</strong> See the <a href="/merchants/storefront-builder/section-metadata/">Section Metadata guide</a> for all available values and the <a href="/merchants/storefront-builder/page-metadata/">Page Metadata guide</a> for SEO and caching options. | ||
| </div> | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This topic was in #661 , for sure. (I know because I retitled the topic.) Check if the others are repeats too.
The title/sidebar should be Negotiable Quote Checkout.