Changeup Cartridge for Salesforce B2C Commerce
News & UpdatesCompany
  • Welcome to ChangeUp
  • Salesforce B2C Commerce
    • Cartridge Overview
    • Cartridge Installation
      • Data Import
      • Code Integration
      • Cartridge Paths and Permissions
      • Staging to Production
    • Setup and Configuration
      • Site Preferences
        • API Key
        • Enable ChangeUp
        • Supersize Options
        • Product Page Donations
      • Configuration Dashboard
        • Donate-at-Checkout
          • Donation Types
          • Charity Search
          • Cart Settings
          • Supersize Donation
          • Customize Checkout Text
        • Product Page Donations
          • Charity Selection
          • Logo Hover State
          • Display Logos
          • Percentage of Product
          • Customize Text
        • Thank You Page
      • Donation Reporting
    • Testing
    • Other Notes
      • Failover
      • Dashboard Migration
      • Release Notes
  • RESOURCES
    • Security Practices
    • APIs
Powered by GitBook
On this page
  1. Salesforce B2C Commerce
  2. Other Notes

Failover

If the ChangeUp API experiences a failure, users will be given the option of donating only to the default selected charity.

Known Issues

Array.prototype.every = function (callback) { const { length } = this;
    for (let index = 0; index < length; index += 1) { 
        const value = this[index];
            if (!callback(value, index, this)) { return false;}
    }
    return true;
};

If the client-side Javascript needs to be recompiled for the bm_changeup cartridge, a code update is needed in an autocomplete.js file node_modules > autocomplete.js > zepto.js. This update needs to go in on line 7 of the file above. This is due to Business Manager utilizing the Prototype.js library that overrides the default functionality of the Array.prototype.every function.

This leads to client-side script errors when autocomplete.js tries to initialize its DOM elements.

PreviousOther NotesNextDashboard Migration

Last updated 2 years ago