Ensure Shopping Cart price recalculation
  • 23 Feb 2024
  • 1 Minute to read
  • Dark
    Light

Ensure Shopping Cart price recalculation

  • Dark
    Light

Article Summary

The only thing you will need to do to ensure existing shopping cart item prices are recalculated when a buyer logs you will need to do the following.

After setting up a storefront and when logged in to Salesforce:

  1. Open the developer console
  2. Click Open
  3. Choose Entity Type Pages
  4. Search for CommunitiesLanding and open it.
  5. Replace the content of the file with:
<apex:page id="communitiesLandingPage" controller="welisacommerce.ShopLandingController" action="{!forwardToStartPage}" title="{!$Label.site.site_login}">
</apex:page>
  1. Click File -> Save or press CTRL + S

That's it!