Patch Notes for CloudCraze 4.6

Patch notes for CloudCraze.

Required Editions

Salesforce Compatibility Salesforce Classic and Lightning Experience for Enterprise, Performance, Unlimited, and Developer editions.

B2B Commerce Compatibility

Any org installing a patch for CloudCraze 4.6

Important
Important These patch notes are provided for maintaining existing CloudCraze 4.6 solutions. However, most information in these help topics applies only to B2B Commerce for Visualforce Summer ’18 (version 4.9) or later.
Tip
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.119.3 in a sandbox, ensure that you also install build 3.119.3 in production.
  • The installation URLs for these patches—in either a sandbox org or production org—are available only by submitting a case through Support & Services.

3.119.37—April 13, 2023

ID Fix
W-11148821 Upgraded the versions of these JavaScript libraries distributed with the managed package: jquery-ui-custom.js from 1.12.1 to 1.13.2 and jquery.validate.js from 1.14.0 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 and jquery.validate.js release notes.

3.119.36—December 16, 2021

ID Fix
W-9877365 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.8.3 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 and underscore.js release notes.
W-9811724 Fixed a potential vulnerability related to the My Orders section of the My Account page.
W-9811551 Fixed an issue where an admin could potentially inject cross-site scripting (XSS) when creating custom configuration modules.

3.119.35—February 23, 2021

ID Fix
W-8509435

Upgraded the version of the following default third-party JavaScript libraries that the managed package distributes:

  • bootstrap.js to 3.4.1 (for Bootstrap 3-enabled themes only)
  • handlebars.js to 4.7.6
  • jquery-ui-custom.js to 1.12.1

This change updates the ccrz.cc_hk_UserInterface.standardIncludes extension point method. For more information about the changes in these versions, see the appropriate release notes:

3.119.33—September 30, 2020

ID Fix
W-7976775

Enabled the Secure attribute for the following cookies:

  • apex__cc_anonymous_Country
  • apex__cc_anonymous_Currency
  • apex__cclgtkn
  • apex__currCartId
  • apex__effacc
  • apex__CSRportalUserId

This attribute ensures that the managed package sends cookie data securely through an encrypted request over HTTPS protocol. For more information, see:

W-7566544

Updated the default ccrz.cc_hk_UserInterface extension point class to distribute the latest stable, secure versions of jQuery (3.5.1) and jQuery Migrate (3.3.0).

UPGRADE IMPACT: This upgrade also introduces a breaking change where non-void HTML elements that use self-closing tags, such as <div/>, no longer render. This HTML compatibility change affects the default Handlebars templates included in the managed package, and can affect front-end extensions or customizations that you've already developed. For more details about the jQuery upgrade and the impact on the HTML used in your storefront, see the Salesforce Knowledge article, Upgrade to jQuery 3.5.1 in B2B Commerce for Visualforce Spring ’20 (Version 4.12) or Earlier.

3.119.32—June 4, 2020

ID Fix
W-7453592

Fixed potential security vulnerabilities in some extension point classes.

UPGRADE IMPACT: This fix deprecates the ccrz.cc_hk_EffectiveAccount.fetchAccountData() method.

W-7371939 Fixed an out-of-date URL in an Apex method comment.

3.119.31—October 16, 2019

ID Fix
Multiple items

Fixed several issues that enhance the security of CloudCraze custom objects against unauthorized access. These fixes don’t require any action after you upgrade.

This patch removes a requirement to have the View All Users permission enabled on your storefront’s guest user profile. This permission was previously required to work around a Salesforce Communities security fix. If you previously enabled this permission, update your guest user profile to disable the View All Users permission. This change ensures that you’re providing the least privilege to guest users to help keep your storefront data secure, while still supporting self-registration.

3.119.29—July 16, 2019

ID Fix
W-6312086 Fixed an issue where the estimated tax amount that’s calculated during checkout could be circumvented.

3.119.27

ID Fix
PATCH-3339 Fixed multiple potential vulnerabilities related to cross-site scripting (XSS), and enforced a sharing rule to meet security standards.

3.119.26

ID Fix
PATCH-3044 Updated the ccrz.CCSiteIndex and ccrz.CCCatSiteMap Visualforce pages to render the XML UTF-8 declaration.
PATCH-3038 Updated the Home page so that <meta> elements in the HTML <head> reference the SEO keywords and description specified in your storefront's general settings.

3.119.25

ID Fix
PATCH-2984

Added page labels for the search placeholder text and filter search term breadcrumb on the Product List page.

UPGRADE IMPACT: To support localization, create the following page labels where Page Name is Products:

  • FeatFilt_SearchFor
  • FeatFilt_SearchTerm
PATCH-2925 Fixed an issue where placing an order that included complex products didn't correctly set a minor line item's order item ID. This fix ensures that the line item's order item ID is set from the corresponding cart item ID.
PATCH-2883 Fixed an issue where a cloned featured product showed an incorrect short description.
PATCH-2814 Fixed an issue where a redundant My Wallet section was available for a guest buyer in the Payment section of the Checkout page.

3.119.24

ID Fix
PATCH-2859 Fixed an issue where a coupon cart item's currency code didn't match the cart's currency code when a buyer applied the coupon.
PATCH-2853 Updated the place order logic to set the request date on minor order items to the requested delivery date selected during checkout.
PATCH-2772 Fixed an issue where the My Orders section of the My Account page showed an error. This issue occurred Filter Orders Based on Owner storefront setting was disabled and an account had more than 200 contacts relationships.

3.119.23

ID Fix
PATCH-2742 Updated the place order logic to set the request date on order items to the requested delivery date selected during checkout.
PATCH-2656 Improved performance for API versions 3–6 of the ccrz.ccApiProduct.fetch method.
PATCH-2595 Fixed an issue where the ccrz.cc_api_CartExtension extension hook class didn't allow the buyer to check out.

3.119.21

ID Fix
PATCH-2501 Fixed an issue where a buyer could apply a coupon even after the coupon expired.
PATCH-2390

Fixed an issue where a guest buyer lost their cart. This issue occurred when the following conditions were true:

  • The Redirect To Login configuration of the User Profile (Registration) module (ur.dirlogin) is TRUE.
  • The guest buyer registered for a storefront account after clicking Checkout from the Shopping Cart page.

3.119.20

ID Fix
PATCH-2432 Fixed an issue where the ccrz.ccApiCart.addTo method didn't add or remove a cart total coupon to a cart that contained dynamic kits.

3.119.19

ID Fix
PATCH-2466 Added an option to skip updating breadcrumb paths when refreshing the category index in CC Admin.

3.119.18

ID Fix
PATCH-2346 Fixed an issue that affected how the promotion API respected attachments for internationalization fallback behavior.

3.119.17

ID Fix
PATCH-2340 Fixed an issue where the Site Register page required the Company field even when E-Commerce Type storefront setting was set to B2C.
PATCH-2328 Fixed an issue where the My Subscriptions section of the My Account page didn't hide the Actions column. This issue occurred even when the My Subscriptions configuration of the Show Actions Column module (shact.subs) was FALSE.

3.119.16

ID Fix
PATCH-2249 Fixed an issue where the Home page didn't show a promotion with a Location Type value of Banner. This issue occurred only on a storefront that uses the Bootstrap 3 interface.
PATCH-1603 Added back-end validation for the shipping option that a buyer selected during checkout.
PATCH-1533 Removed an extra HTML <head> element from the one- and two-column page layouts.

3.119.15

ID Fix
PATCH-2216 Increased the amount of feature filters data that the Product List page can retrieve and show.
PATCH-2180 Added a page label, LocaleSwitcher_Modal_Title, for the title of the Locale Switcher widget.
PATCH-2174 Fixed an issue where the component products of an assembly product weren't added to the cart. This issue occurred only on a storefront that uses the Bootstrap 3 interface.
PATCH-2162 Fixed an issue where the rich text short and long descriptions for products and categories didn't display when Always Use RT Fields was enabled. This fix ensures that the rich text fields display when this storefront setting is enabled and the non-rich text description fields are empty. This fix also ensures that the correct localized rich text short description field displays even when the non-rich text short description field is empty.
PATCH-2132 Fixed an issue where clicking the Included Items link in LLI checkout for a composite product didn't show the included component products.
PATCH-2083 Fixed an issue where the wish list name and description labels in the My Templates section of the My Account page weren't editable. This issue occurred only on a storefront that uses the Bootstrap 3 interface.
PATCH-2059 Updated category caching to query only required data, which accommodates a larger number of categories. This fix also updates ccrz.ccApiCategory.fetch method to include the ccrz__CategoryID__c field in the ccrz.ccApi.SZ_S data size request.
PATCH-2041 Fixed an issue where adding a shipping address for LLI checkout opened more than one window. This issue occurred only on a storefront that uses the Bootstrap 3 interface.
PATCH-2017 Fixed an issue where the quantity of a product in the cart didn't change when a buyer entered a new quantity and clicked Update.
PATCH-1965 Updated the CloudCraze Admin permission set to include user access to create and build configuration caches in CC Admin.
PATCH-1941 Fixed an issue where fetching wish lists data potentially reached heap size limits. This fix updates the ccrz.ccApiWishLists.fetch method call within ccrz.cc_util_UITransformsWishlists to use a ccrz.ccApi.SZ_S data size request.
PATCH-1888 Fixed an issue where shipping details displayed after a buyer deleted an item from the cart.
PATCH-1793 Fixed an issue where the fetchCart remote action on the Shopping Cart didn't return the correct name fields on the ccrz__E_Cart__c record. This fix updates the fetchCart remote action so that the name field maps to the ccrz__Name__c object field and the sfdcName field maps to the standard Name object field.

3.119.10

ID Fix
PATCH-2119

Updated the ccrz.ccApiProduct.fetch data size request return data to improve performance.

UPGRADE IMPACT: This fix updates the ccrz.ccApiProduct.fetch return data so that:

  • The ccrz__LongDesc__c and ccrz__LongDescRT__c fields are included in a ccrz.ccApi.SZ_XL data request instead of ccrz.ccApi.SZ_L.
  • The Product_Inventory_Items__r related query is included in a ccrz.ccApi.SZ_XL data request instead of ccrz.ccApi.SZ_L.

If you previously relied on this data in your extensions or other subscriber code, update your customizations to accommodate the new data request size.

PATCH-2101 Fixed an issue that caused a SOQL limit error in the Featured Products widget.
PATCH-2029 Fixed an issue where the order confirmation email didn't send when the order included a minor line item that was an aggregated product.
PATCH-1988

Fixed an issue where the Product List page didn't sort by Newest correctly.

UPGRADE IMPACT: This fix updates the ccrz.ccApiProduct.fetch return data so that the ccrz__StartDate__c field is included in a ccrz.ccApi.SZ_S data request instead of ccrz.ccApi.SZ_L.

3.119.9

ID Fix
PATCH-2071 Fixed an issue where contacts of an account couldn't edit the address book for other contacts in the same account.
PATCH-1663 Updated the ccrz.ccLogicCartAddTo logic service provider.
PATCH-1587 Added page labels for supported locales on the storefront.
PATCH-1523 Fixed an issue where a selected locale wasn't propagated to the Site Login page.

3.119.8

ID Fix
PATCH-2011 Fixed an issue where the ccrz.ccServiceProduct data service provider caused errors after upgrading the org updated to CloudCraze 4.6.
PATCH-1733 Updated the settings for managing logic service provider classes in CC Admin to be storefront-specific.

3.119.7

ID Fix
PATCH-1864 Fixed an issue where cart items showed the wrong currency in CSR flow.
PATCH-1822 Fixed an issue where hard-coded text displayed next to a selected purchase order (PO) payment in the Payment section of the Checkout page.
PATCH-1555 Fixed an issue where the Related Products widget on the Checkout page showed duplicates of recommended products. This issue occurred when multiple products defined a CrossSell relationship to the same product.
PATCH-1507 Fixed an issue where a Visualforce error occurred when a category included too many products.

3.119.5

ID Fix
PATCH-1847 Updated the order confirmation email to reference a specific storefront in orgs that have multiple storefronts.
PATCH-1841 Fixed an issue that affected updates to the cart when the Skip Cart Validation configuration of the Cart module was TRUE.
PATCH-1830 Fixed an issue that affected cloning a storefront that was previously renamed.
PATCH-1775 Fixed an issue where clicking Remove Coupon on the Shopping Cart page didn't remove a previously applied percentage discount.
PATCH-1715 Fixed an issue where the selected currency didn't update after a guest buyer logged in. This fix ensures that the logged-in buyer's selected currency becomes active after they log in. Previously, the logged-in buyer's selected currency remained the default currency assigned when they were browsing anonymously.
PATCH-1639 Fixed an issue where incorrect products could display in ccrz_Products.

3.119.3

ID Fix
PATCH-1471 Fixed an issue that affected the JavaScript endsWith String function on Microsoft® Internet Explorer® 11.
PATCH-1459 Fixed an issue where the Create Wish List button remained visible even when wish lists were disabled.
PATCH-1406 Fixed an issue where a Too many query rows error displayed when an admin user viewed the Home page.
PATCH-1396 Fixed an issue where filters didn't display on the Product List page. This issue occurred when the results included a subscription product that didn't specify a Buy It Now price.