Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam B2C Commerce Architect Topic 4 Question 44 Discussion

Actual exam question for Salesforce's B2C Commerce Architect exam
Question #: 44
Topic #: 4
[All B2C Commerce Architect Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Isaiah
3 days ago
Option C: Wrap each step in its own transaction, like a boss. Why complicate things when you can just break it down and tackle it piece by piece? Simple and efficient!
upvoted 0 times
...
Avery
6 days ago
What is this 'spi.basket.addResolveInSameResquest quota' you speak of? I'm just going to go with the option that involves the least amount of basket-juggling. Can't be that hard, right?
upvoted 0 times
...
Chantay
9 days ago
Hold up, are we seriously considering adding the item to the basket without the customer's consent? That's just plain wrong, man. Option A is a big no-go in my book.
upvoted 0 times
...
Rasheeda
12 days ago
I don't know, option D sounds like the best approach. Wrapping everything in a transaction and rolling it back keeps the business requirement intact without violating any quotas.
upvoted 0 times
...
Solange
13 days ago
Hmm, option B seems like the most straightforward solution. Why do all that extra work just to remove the item? Calculating the shipping cost on checkout makes more sense.
upvoted 0 times
...
Mari
17 days ago
That's a valid point, Tamera. But what if the customer wants to see the shipping costs upfront before deciding to add the item to the cart?
upvoted 0 times
...
Tamera
21 days ago
I disagree, I believe option B is more efficient. Why calculate shipping costs multiple times when the customer may not even proceed to checkout?
upvoted 0 times
...
Mari
22 days ago
I think option C is the best solution. It ensures each step is independent and can be rolled back if needed.
upvoted 0 times
...

Save Cancel