Skip to content

Commit

Permalink
(no ticket): [update] Node Sass Sunset, CTA (#64)
Browse files Browse the repository at this point in the history
<!-- Ticket number or summary of work -->
# (no ticket): [update] Node Sass Sunset, CTA


## What changed?
<!-- Provide a bulleted list in the present tense -->
* Update call to action.

## Release notes draft
<!-- Provide an entry for the release notes using simple, conversational
language. Don't be too technical. Explain how the change will benefit
the merchant and link to the feature.

Examples:
* The newly-released [X feature] is now available to use. Now, you’ll be
able to [perform Y action].
* We're happy to announce [X feature], which can help you [perform Y
action].
* [X feature] helps you to create [Y response] using the [Z query
parameter]. Now, you can deliver [ex, localized shopping experiences for
your customers].
* Fixed a bug in the [X endpoint]. Now the [Y field] will appear when
you click [Z option]. -->
* 

## Anything else?
<!-- Add related PRs, salient notes, additional ticket numbers, etc. -->

ping @bc-traciporter @slsriehl

---------

Co-authored-by: Tina Gomez <[email protected]>
Co-authored-by: Tina Gomez <[email protected]>
Co-authored-by: Traci Porter <[email protected]>
Co-authored-by: Sarah Riehl <[email protected]>
  • Loading branch information
5 people authored Jan 30, 2024
1 parent 0ee8bb9 commit 0add566
Show file tree
Hide file tree
Showing 7 changed files with 213 additions and 163 deletions.
51 changes: 0 additions & 51 deletions docs/api-docs/tax/tax-rates-zones.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -266,56 +266,6 @@ To delete tax zones, send a request to the [Delete tax zones](/docs/rest-managem
</Tab>
</Tabs>

### Check tax zone

You can find the tax zone that applies to a given region and customer group by sending a request to [Check tax zone](/docs/rest-management/tax-rates-and-zones/tax-zone-check#check-tax-zone).

The following example request returns the tax zone that applies to a shopper in the US; the endpoint does not return all tax zones that have the given the country code. Responses include only one tax zone.

<Tabs items={[`Request`, `Response`]}>
<Tab>
```http filename="Example request: Check tax zone" showLineNumbers copy
POST https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/tax/zonecheck
X-Auth-Token: {{ACCESS_TOKEN}}
Content-Type: application/json
Accept: application/json
{
"country_code": "US"
}
```
</Tab>
<Tab>
```http filename="Example response: Check tax zone" showLineNumbers copy
{
"data": {
"id": 3,
"name": "United States",
"enabled": true,
"price_display_settings": {
"show_inclusive": true,
"show_both_on_detail_view": true,
"show_both_on_list_view": true
},
"shopper_target_settings": {
"locations": [
{
"country_code": "US",
"subdivision_codes": [],
"postal_codes": []
}
],
"customer_groups": [
0
]
}
},
"meta": {}
}
```
</Tab>
</Tabs>

## Tax rates

After creating a zone, you can add rates to the zone. You can add multiple rates to a zone to help the store collect and report taxes to one or more taxation authorities. You can add a rate for each tax class in your store.
Expand Down Expand Up @@ -504,7 +454,6 @@ To delete tax rates, send a request to the [Delete tax rates](/docs/rest-managem
- [Update tax zones](/docs/rest-management/tax-rates-and-zones/tax-zones#update-tax-zones)
- [Get tax zones](/docs/rest-management/tax-rates-and-zones/tax-zones#get-tax-zones)
- [Delete tax zones](/docs/rest-management/tax-rates-and-zones/tax-zones#delete-tax-zones)
- [Check tax zone](/docs/rest-management/tax-rates-and-zones/tax-zone-check#check-tax-zone)

### Tax Rates reference
- [Create tax rates](/docs/rest-management/tax-rates-and-zones/tax-rates#create-tax-rates)
Expand Down
2 changes: 1 addition & 1 deletion docs/stencil-docs/installing-stencil-cli/node-sass.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ stencil push

**How long do I have? When will the legacy SCSS compiler (node-sass) be sunset?**

Please make these changes immediately; we are sunsetting support for the `node-sass` package on **January 31, 2024**. After this date, you must compile all SCSS files with Stencil's updated SCSS compiler engine. This upgrade is necessary to ensure the security of our platform and to ensure that you are not running out-of-date packages that may expose your projects to additional security vulnerabilities.
Please make these changes as soon as possible; we are sunsetting support for the `node-sass` package on **January 31, 2024**. After this date, your current production site will continue to function as designed, but all future updates will require you to address any SCSS compatibility issues with Node.js 18. This upgrade is necessary to ensure the security of our platform and to ensure that you are not running out-of-date packages that may expose your projects to additional security vulnerabilities.
16 changes: 8 additions & 8 deletions reference/catalog/product-modifiers_catalog.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -670,7 +670,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1300,7 +1300,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1613,7 +1613,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1721,7 +1721,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1993,7 +1993,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -2109,7 +2109,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -2481,7 +2481,7 @@ components:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down
22 changes: 11 additions & 11 deletions reference/catalog/product-variant-options_catalog.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -600,7 +600,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1065,7 +1065,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1315,7 +1315,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1528,7 +1528,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1643,7 +1643,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1690,7 +1690,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1818,7 +1818,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1925,7 +1925,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -1980,7 +1980,7 @@ paths:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -2160,7 +2160,7 @@ components:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down
4 changes: 2 additions & 2 deletions reference/catalog/products_catalog.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6362,7 +6362,7 @@ components:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down Expand Up @@ -6812,7 +6812,7 @@ components:
is_default:
type: boolean
description: |
The flag for preselecting a value as the default on the storefront.
The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.
example: false
label:
type: string
Expand Down
Loading

0 comments on commit 0add566

Please sign in to comment.