---
schema_version: "1"
id: 3b7db32286f68a1c41cee513ff060b0b23b1967cb585409d87e208667af67ea2
title: Patch Notes for B2B Commerce for Visualforce Winter ’21 (Version 4.13)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/b2b_commerce_rn_2021_winter_patches.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.b2b_commerce_rn_2021_winter_patches.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3f90752e72f3b43a4a9e2bc0bca01b6c33c96b52a5a622148dd3e61ee37c302d
description: Patch notes for B2B Commerce.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Patch Notes for B2B Commerce for Visualforce Winter ’21 (Version 4.13)

Patch notes for B2B Commerce.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;"><strong>Salesforce Compatibility</strong> Salesforce Classic and
            Lightning Experience for <strong>Enterprise</strong>, <strong>Performance</strong>,
            <strong>Unlimited</strong>, and <strong>Developer</strong> editions.
          </td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>
              <strong>B2B Commerce Compatibility</strong>
            </p>
            <p style="margin-bottom:0;">Any org updating to or installing
              a patch for B2B Commerce for Visualforce <strong>Winter ’21 (version
                4.13)</strong></p>
          </td>

        </tr>
      </tbody>
    </table>

![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-b2b_commerce_release_notes-264-0-0-production-enus/dd2bc651-f664-4278-bce2-a3d325362afb/images/icon_tip.png)

Tip

- If you install a particular build in a sandbox and test and validate against that version, ensure that you also install the _same_ build in production. For example, if you install build 3.149.1 in a sandbox, ensure that you also install build 3.149.1 in production.
- Make sure that you find the correct link for your org type before you proceed with installing a patch. For example, if you're already logged in to a production org, select the URL for a production org, not a sandbox. Reverting or canceling an installation isn't always possible..
- If you're installing B2B Commerce for Visualforce for the _first time_, install the most recent patch so that your implementation has the latest fixes. First, complete the _Set Up a Storefront_ steps in the [B2B Commerce for Visualforce Help](https://resources.docs.salesforce.com/rel1/doc/en-us/static/pdf/b2b_commerce_visualforce.pdf), and then complete any required upgrade steps for each patch that precedes the build you installed.
- Some fixes update default handlebars.js templates that render components on the storefront. If you've previously overridden a default template that receives a fix, reimplement your customizations based on the fixed version of the default template. This step ensures that custom code in your solution receives the benefit of the patch's fix.

## 3.149.13—August 17, 2023

- Sandbox org URL: https://sfdc.co/b2bcommerce-pkg-sandbox-3-149-13
- Production org URL: https://sfdc.co/b2bcommerce-pkg-prod-3-149-13

 
| ID | Fix |
| --- | --- |
| W-13907587 | Fixed an issue where a product URL in some Lightning components for B2B Commerce for Visualforce didn't resolve correctly. This issue affected the links to products in the B2B Commerce Featured Products and B2B Commerce Spotlight Product components. |

## 3.149.12—June 30, 2023

- Sandbox org URL: https://sfdc.co/b2bcommerce-pkg-sandbox-3-149-12
- Production org URL: https://sfdc.co/b2bcommerce-pkg-prod-3-149-12

 
| ID | Fix |
| --- | --- |
| W-13547255 | Fixed a potential vulnerability related to cross-site scripting (XSS). |
| W-13464590 | Upgraded the versions of these JavaScript libraries distributed with the managed package: jquery-ui-custom.js from 1.13.1 to 1.13.2 and jquery.validate.js from 1.19.4 to 1.19.5. This change updates the `ccrz.cc_hk_UserInterface.standardIncludes` method for both the Bootstrap 3 and classic interfaces. For more information about the changes in these versions, see the [jquery-ui.js release notes](https://jqueryui.com/changelog/1.13.2/) and [jquery.validate.js](https://github.com/jquery-validation/jquery-validation/releases/tag/1.19.5) release notes. |

## 3.149.10—June 23, 2022

- Sandbox org URL: https://sfdc.co/b2bcommerce-pkg-sandbox-3-149-10
- Production org URL: https://sfdc.co/b2bcommerce-pkg-prod-3-149-10

 
| ID | Fix |
| --- | --- |
| W-11148626 | Upgraded the versions of these JavaScript libraries distributed with the managed package: jquery-ui-custom.js from 1.12.1 to 1.13.1 and jquery.validate.js from 1.19.2 to 1.19.4. This change updates the `ccrz.cc_hk_UserInterface.standardIncludes` method for both the Bootstrap 3 and classic interfaces. For more information about the changes in these versions, see the [jquery-ui.js release notes](https://jqueryui.com/changelog/1.13.1/) and [jquery.validate.js](https://github.com/jquery-validation/jquery-validation/releases/tag/1.19.4) release notes. |

## 3.149.9—April 21, 2022

- Sandbox org URL: https://sfdc.co/b2bcommerce-pkg-sandbox-3-149-9
- Production org URL: https://sfdc.co/b2bcommerce-pkg-prod-3-149-9

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:20%">
          <col style="width:80%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d1082e341">ID</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d1082e344">Fix</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="ID" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e341 ">W-10735876</td>

            <td data-label="Fix" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e344 ">
              <p>Added the ability to filter the static resources that the <code>ccrz.cc_util_UserInterface</code> API
                utility class queries. This query includes static resources that
                contain your storefront's product images, theme files, and so on.
                This enhancement works around limits in your org if you've installed
                multiple managed packages, and allows you to specify the static
                resource namespaces that you want to query. </p>
              <p style="margin-bottom:0;">UPGRADE IMPACT: To
                implement this filter in your org, create metadata for a new
                configuration in the User Interface module that uses the API
                name <code>nsList</code>. Then, in your
                storefront settings, set the value of this configuration to a
                comma-separated list of the namespaces that you want to query.
                Avoid spaces between comma values, and be sure to include the
                default <code>ccrz</code> namespace in
                the list. For example, enter <code>ccrz,<var>other-namespace</var></code> where
                <code><var>other-namespace</var></code> is a custom
                namespace that you want to include. For more information, see <em>Create Metadata for the Namespace List Configuration Added in a Patch</em> in the <a href="https://resources.docs.salesforce.com/rel1/doc/en-us/static/pdf/b2b_commerce_release_notes.pdf" target="_blank">B2B Commerce for Visualforce Release Notes and Upgrade
                  Guide</a>.
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="ID" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e341 ">W-9904369</td>

            <td data-label="Fix" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e344 ">Fixed an issue with line-level independence (LLI) checkout where moving an item to a different shipping group didn't copy the country specified in the original shipping group.</td>

          </tr>
        </tbody>
      </table>

## 3.149.8—October 27, 2021

- Sandbox org URL: https://sfdc.co/b2bcommerce-pkg-sandbox-3-149-8
- Production org URL: https://sfdc.co/b2bcommerce-pkg-prod-3-149-8

 
| ID | Fix |
| --- | --- |
| W-9959967 | Added the `@JsonAccess` annotation to the default definitions of several utility classes in the B2B Commerce for Visualforce API. This change affects bean classes such as `ccrz.cc_bean_CartItem`, remote action classes such as `ccrz.cc_RemoteActionContext`, and certain subclasses, such as `ccrz.ccApiCart.LineData`. If you created any extensions that serialize or deserialize affected Apex objects, this fix restores the behavior from previous versions of B2B Commerce for Visualforce. For more information about the `@JsonAccess` annotation, see [JsonAccess Annotation](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_JsonAccess.htm) in Salesforce Developers documentation. |

## 3.149.7—September 27, 2021

- Sandbox org URL: https://sfdc.co/b2bcommerce-pkg-sandbox-3-149-7
- Production org URL: https://sfdc.co/b2bcommerce-pkg-prod-3-149-7

 
| ID | Fix |
| --- | --- |
| W-9811670 | Fixed a potential vulnerability related to the My Orders section of the My Account page. |
| W-9811563 | Fixed a potential vulnerability related to cross-site scripting (XSS) when modifying storefront settings in CC Admin. |
| W-9811503 | Fixed an issue where an admin could potentially inject cross-site scripting (XSS) when creating custom configuration modules. |
| W-9788517 | Updated the label for the `pri.masterpl` configuration setting to use the term Primary instead of Master. The new complete label is Create Primary Index for All Currencies. For compatibility, the API name for this configuration remains `pri.masterpl`. |
| W-9162616 | Fixed an issue where a guest user could get stuck during checkout. This issue occurred when the Address Owned by User configuration of the Checkout module (`co.uown`) was TRUE and the Allow Anonymous Checkout option in storefront settings was enabled. |

## 3.149.6—August 25, 2021

- Sandbox org URL: https://sfdc.co/b2bcommerce-pkg-sandbox-3-149-6
- Production org URL: https://sfdc.co/b2bcommerce-pkg-prod-3-149-6

 
| ID | Fix |
| --- | --- |
| W-9775967 | Upgraded the versions of these JavaScript libraries distributed with the managed package: handlebars.js from 4.7.6 to 4.7.7 and underscore.js from 1.11 to 1.13.1. This change updates the `ccrz.cc_hk_UserInterface.standardIncludes` method for both the Bootstrap 3 and classic interfaces. For more information about the changes in these versions, see the [handlebars.js release notes](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md) and [underscore.js release notes](https://github.com/jashkenas/underscore/releases/tag/1.13.1). |
| W-9729026 | Fixed an issue where the State dropdown menu incorrectly renders on the Checkout page. This issue occurred only in standard checkout when the Country dropdown menu didn't support selecting the United States. This fix updates the `CCRZ.views.UserInfoView` functions in the ccrz.CheckoutNew Visualforce page. |
| W-9705485 | Fixed an issue where the Add to Wishlist button didn't appear for cart items on the Scaled Cart page. This issue occurred even when the Show Add Button configuration of the Wishlists/Templates module (`wl.pkron`) was TRUE. |

## 3.149.4—July 20, 2021

- Sandbox org URL: https://sfdc.co/b2bcommerce-pkg-sandbox-3-149-4
- Production org URL: https://sfdc.co/b2bcommerce-pkg-prod-3-149-4

 
| ID | Fix |
| --- | --- |
| W-9493068 | Fixed an issue where the See All Invoices link on an invoice's details in the My Invoices section of the My Account page didn't work correctly. With this fix, the See All Invoices link correctly navigates back to the full list of invoices. This fix updates the default Handlebars template InvoicePayment-Single-Desktop. |

## 3.149.3—July 1, 2021

- Sandbox org URL: https://sfdc.co/b2bcommerce-pkg-sandbox-3-149-3
- Production org URL: https://sfdc.co/b2bcommerce-pkg-prod-3-149-3

 
| ID | Fix |
| --- | --- |
| W-9288787 | Fixed an issue where a buyer was redirected to the CC Site Login page instead of the storefront's Visualforce Home page after they selected an effective account. This issue occurred only for a storefront that didn't allow guest buyers and had configured their Experience Cloud site home page to use the CC Site Login page. In this scenario, the expected behavior after selecting an effective account was that the buyer was redirected to the storefront's Visualforce Home page. This fix ensures the expected behavior for an effective account. |
| W-9231601 | Fixed an issue where the quantity of a selected product in a dynamic kit didn't update correctly if the same product was already selected and had a quantity specified. This issue occurred only when the Dynamic Kit Flow Enabled configuration was `TRUE` and the storefront used a Bootstrap 3-enabled theme. |

## 3.149.2—May 19, 2021

- Sandbox org URL: https://sfdc.co/b2bcommerce-pkg-sandbox-3-149-2
- Production org URL: https://sfdc.co/b2bcommerce-pkg-prod-3-149-2

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:20%">
          <col style="width:80%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d1082e827">ID</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d1082e830">Fix</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="ID" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e827 ">W-9190629</td>

            <td data-label="Fix" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e830 ">Fixed an issue where the bot-enabled Product Detail page didn't
              load when the product specified a decimal value for a spec that used
              the Slider filter type.</td>

          </tr>
          <tr class="">
            <td data-label="ID" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e827 ">W-8951263</td>

            <td data-label="Fix" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e830 ">
              <p>Fixed an issue where the Shopping Cart page returned an error.
                This issue occurred after a buyer added a kit to the cart, the kit's
                price list item expired, and the buyer attempted to reload the
                Shopping Cart page. This issue affected the following versions of
                the Shopping Cart page: </p>
              <ul>
                <li>Scaled Cart page with synchronous pricing</li>
                <li>Shopping Cart page version 2.0</li>
                <li>Shopping Cart page version 1.0</li>
              </ul>
            </td>

          </tr>
        </tbody>
      </table>

## 3.149.1—April 20, 2021

- Sandbox org URL: https://sfdc.co/b2bcommerce-pkg-sandbox-3-149-1
- Production org URL: https://sfdc.co/b2bcommerce-pkg-prod-3-149-1

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:20%">
          <col style="width:80%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d1082e896">ID</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d1082e899">Fix</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="ID" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e896 ">W-9081892</td>

            <td data-label="Fix" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e899 ">Fixed an issue where autocomplete suggestions displayed on top of
              the Quick Order widget's input field, rather than below the field as
              expected.</td>

          </tr>
          <tr class="">
            <td data-label="ID" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e896 ">W-9077008</td>

            <td data-label="Fix" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e899 ">
              <p>Fixed an issue where autocomplete results in search boxes weren't
                compatible with contract pricing entitlements. With this fix,
                autocomplete is now compatible with contract pricing by default.
                This change affects autocomplete in the following components: </p>
              <ul>
                <li>Search Box in the header</li>
                <li>Search Box widget in a page column</li>
                <li>Quick Order widget in a page column</li>
                <li>Search Box widget in the B2B Commerce Header component for
                  an Experience Builder page</li>
              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="ID" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e896 ">W-9067854</td>

            <td data-label="Fix" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e899 ">Fixed an issue where the Search Within filter on the Product List
              page version 1.0 didn't update the number of matching results shown
              on the page. This issue occurred only when a buyer searched within a
              category using a query that matched a product that existed in the
              catalog but that wasn't included in the current category.</td>

          </tr>
          <tr class="">
            <td data-label="ID" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e896 ">W-9057285</td>

            <td data-label="Fix" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e899 ">Fixed an issue where the B2B Commerce Spotlight Product and B2B
              Commerce Featured Products components in an Experience Builder page
              didn't navigate to the Product Detail page on the Visualforce
              storefront as expected.</td>

          </tr>
          <tr class="">
            <td data-label="ID" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e896 ">W-8875804</td>

            <td data-label="Fix" class="slds-cell-wrap" style="vertical-align:top;" headers="d1082e899 ">Fixed an issue where older versions of the <code>ccrz.ccApiCart.fetch</code> global API
              method weren't compatible with the <code>ccrz.cc_hk_TaxCalculation.getTaxAmount</code> extension point
              method. This issue affected functionality of the Avalara AvaTax for
              B2B Commerce market template.</td>

          </tr>
        </tbody>
      </table>