An ecommerce site has dynamic shipping cost calculation. it allows the customers to see their potential shipping costs on the Product Detail Page before adding an item to the cart.
For this feature, shipping touts are calculated using the following logic:
* Set the shipping method on the Basket
* Add the item to the basket, calculate the basket total and get the shipping cost for this method
* Remove the item from the Basket to restore the original state
* The above process is repeated for each shipping method
During the testing it was discovered that the above code violates the spi.basket.addResolveInSameResquest quota.
What should the Architect do to resolve this issue and maintain the business requirement?
To resolve the issue of violating the spi.basket.addResolveInSameRequest quota and to maintain the functionality of dynamically calculating shipping costs for items before they are added to the basket, the best approach is:
Option D: Wrapping the adding of product and shipping cost calculation in a transaction, which is then rolled back to restore the original state. This method ensures that the system can calculate potential shipping costs without permanently altering the state of the basket. This approach keeps the basket's original state intact while allowing for multiple shipping calculations, effectively managing the load on system resources and adhering to platform quotas.
An Architect is documenting the technical design for a single B2C Commerce storefront. The Client has a business requirement to provide pricing that is customized to specific groups:
* 50 different pricing groups of customers
* 30 different pricing groups of employees
* 10 different pricing groups of vendors
Which items should the Architect include in the design in order to set applicable price books based on these requirements''
Choose 2 answers
For handling multiple pricing groups with specific discounts or prices for different customer groups, the optimal approach involves setting up separate customer groups for customers, employees, and vendors (Answer A). This setup allows the storefront to apply specific price books to each group accurately based on their designation. Furthermore, utilizing campaigns and multiple promotions tailored to each customer group (Answer C) facilitates targeted marketing efforts and pricing strategies effectively. These practices ensure that each group receives relevant pricing adjustments and promotional offers, thereby enhancing the shopping experience and managing financial transactions efficiently within Salesforce B2C Commerce.
A developer is checking for Cross Site Scripting (XSS) and found that the quick search is not escaped (allows inclusion of Javascript) in the following script:

How would the developer resolve this issue?
To resolve the issue of Cross Site Scripting (XSS) where the quick search is not escaped, the developer should use the <isprint> tag with the 'jshtml' encoding option (Answer B). This method ensures that any JavaScript included in the search phrase is properly escaped, preventing the execution of potentially malicious scripts. The 'jshtml' encoding is specifically designed to encode text for HTML contexts where JavaScript is embedded, providing a secure way to handle user input in Salesforce B2C Commerce.
Given a website launched to production, the Architect can rely on several SFCC Business Manager tools that provide an automatic notification feature.
Which three tools have such a feature and do not require to be monitored manually?
Choose 3 answers
The Salesforce B2C Commerce Business Manager tools that feature automatic notifications are:
Option A (Job Schedules): Business Manager can send notifications based on job schedules, alerting users when a scheduled job has completed, failed, or met specific conditions. This feature helps in monitoring automated processes without manual oversight.
Option D (Pipeline Profiler): This tool provides automatic notifications regarding the performance of different pipelines, allowing architects and developers to monitor site performance and troubleshoot issues proactively.
Option E (Quota Status): Automatically notifies administrators when certain quotas are reached or exceeded, such as API call limits or data storage limits, which is crucial for maintaining site stability and performance.
These tools are essential for proactive site management, ensuring that administrators can address potential issues before they affect the site's operation.
An Architect to notify by the Business that order conversion dramatically dropped a few hours after go live. Further investigation points out that customers cannot proceed to checkout anymore. The Architect is aware that a custom inventory checks with a third-party API is enforced at the beginning of checkout, and that customers are redirected to the basket page when items are no longer in stock
Which tool can dearly confirm that the problem is indeed caused by the inventory check?
The appropriate tool to verify that the problem is indeed caused by the inventory check at the beginning of checkout is the Pipeline Profiler in Business Manager. This tool allows an architect to analyze the performance of specific code execution paths, including those involving third-party API calls. It helps identify bottlenecks and inefficiencies in the pipeline execution, particularly useful in situations where custom code like inventory checks may impact site functionality. The use of the Pipeline Profiler would enable the architect to pinpoint if the custom inventory check is causing the checkout process to fail or redirect users inappropriately.
Currently there are no comments in this discussion, be the first to comment!
Noe
14 days agoOnita
23 days agoGary
1 month agoAlline
1 month agoDarrin
2 months agoClay
2 months agoStephania
2 months agoErasmo
2 months agoSamuel
3 months agoElke
3 months agoJanella
3 months agoTaryn
3 months agoBlondell
4 months agoDomonique
4 months agoGail
4 months agoSherell
4 months agoLaura
5 months agoRory
5 months agoLashawnda
5 months agoAvery
5 months agoCallie
6 months agoKasandra
6 months agoAshley
6 months agoAzzie
6 months agoBeckie
7 months agoMinna
7 months agoLevi
7 months agoGlory
7 months agoVincenza
8 months agoCiara
8 months agoAimee
10 months agoStefania
11 months agoMoira
12 months agoAhmed
1 year agoLoren
1 year agoHollis
1 year agoShonda
1 year agoJules
1 year agoKyoko
1 year agoCrista
1 year agoVeronika
1 year agoMicheal
1 year agoLettie
1 year agoMartin
1 year agoNu
2 years agoBrigette
2 years agoKayleigh
2 years agoKiera
2 years agoEmily
2 years agoRaul
2 years agoAdell
2 years agoSolange
2 years agoFranchesca
2 years agoTwana
2 years agoTamekia
2 years agoTheron
2 years agoKyoko
2 years agoShawna
2 years agoEileen
2 years ago