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 Certified B2C Commerce Cloud Developer (Comm-Dev-101) Exam - Topic 3 Question 70 Discussion

The developer has been given the following business requirement:The shipping method, "Free Standard Ground Shipping" has an exclusion for products with 'category equals or is child of electronics-televisions.'The marketing department has scheduled a sale offering a "Free Standard Ground Shipping" method for brand XyzTv televisions for the next 3 months.What method accomplishes this while following best practices'
C) Extend the CheckoutShippingServices controller using module.superModule and add an exception for the specified brand.
A) Create a new shipping method and label it 'Free Standard Ground Shipping'. Give it the qualifier 'brand equals XyzTv', and add it to the checkout options.
B) Create an allow list for the existing shipping method by adding a product exclusion for 'brand equals XyzTv' to the exclusion list fo<' 'Free Standard Ground Shipping.'
D) Extend the code in cartridge/models/shipping/shippingMethod.js using module.superModule and add an exception for the specified brand.

Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) Exam - Topic 3 Question 70 Discussion

Actual exam question for Salesforce's Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) exam
Question #: 70
Topic #: 3
[All Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) Questions]

The developer has been given the following business requirement:

The shipping method, "Free Standard Ground Shipping" has an exclusion for products with 'category equals or is child of electronics-televisions.'

The marketing department has scheduled a sale offering a "Free Standard Ground Shipping" method for brand XyzTv televisions for the next 3 months.

What method accomplishes this while following best practices'

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Janae
6 months ago
I disagree with B, it complicates things unnecessarily.
upvoted 0 times
...
Willodean
6 months ago
Definitely going with A, it’s straightforward and clear.
upvoted 0 times
...
Benedict
7 months ago
Wait, can we really just add exceptions like that? Sounds risky.
upvoted 0 times
...
Tasia
7 months ago
I think B is better since it keeps the existing method intact.
upvoted 0 times
...
Keneth
7 months ago
Option A seems like the simplest solution.
upvoted 0 times
...
Socorro
7 months ago
I think option D might be the best practice since it directly modifies the shipping logic, but I’m not entirely confident about the specifics of module.superModule.
upvoted 0 times
...
Arletta
8 months ago
I’m a bit confused about the difference between options C and D. Both involve extending the code, but I can't recall which one is more appropriate for this scenario.
upvoted 0 times
...
Cathrine
8 months ago
I remember a similar question where we had to manage exclusions for shipping methods. I feel like option B could be the right choice since it modifies the existing method.
upvoted 0 times
...
Hildred
8 months ago
I think option A makes sense because it creates a new shipping method specifically for the brand, but I'm not sure if that's the best practice.
upvoted 0 times
...
Werner
8 months ago
This is a tricky one. I'm torn between options B and C. Extending the controller might give me more flexibility, but it also seems a bit more complex. I'll need to carefully consider the pros and cons of each approach before deciding.
upvoted 0 times
...
Shaun
8 months ago
Option D looks interesting, but I'm not sure if that's the best way to handle this. Extending the shipping method code directly feels a bit risky. I think I'll stick with option B - it seems the most straightforward and least likely to cause any unintended side effects.
upvoted 0 times
...
Lang
8 months ago
Hmm, I'm a bit unsure about this one. I'm leaning towards option A since it seems cleaner to create a new shipping method specifically for the XyzTv brand. But I'll need to double-check the best practices to be sure.
upvoted 0 times
...
Tegan
8 months ago
This seems like a straightforward question. I think option B is the way to go - it's the most direct approach to modifying the existing shipping method without creating a new one.
upvoted 0 times
...
Micheline
8 months ago
Okay, let me think this through step-by-step. The Total Rewards Design Process covers things like analyzing the current state, designing the rewards program, and implementing it. I believe the question is asking if you revisit the business strategy at the end of this process, so I'll carefully consider that.
upvoted 0 times
...
Mabel
1 year ago
Option B is definitely the way to go. It's the most efficient and follows best practices. Although, I do wonder if the marketing team will be happy with the 'brand equals XyzTv' exclusion. They might want something a bit more user-friendly.
upvoted 0 times
Lamonica
11 months ago
The marketing team might have some feedback on the 'brand equals XyzTv' exclusion though.
upvoted 0 times
...
Leanora
12 months ago
I agree, creating an allow list for the existing shipping method is a smart move.
upvoted 0 times
...
Marica
1 year ago
Option B is definitely the way to go. It's the most efficient and follows best practices.
upvoted 0 times
...
...
Sheridan
1 year ago
I'm all for option B. Simple and effective. Plus, creating a new shipping method just seems like a lot of unnecessary work. Why reinvent the wheel?
upvoted 0 times
Buddy
1 year ago
Option B is definitely the way to go, no need to complicate things with unnecessary steps.
upvoted 0 times
...
Tyra
1 year ago
Yeah, creating a new shipping method does seem like overkill in this situation.
upvoted 0 times
...
Billye
1 year ago
I agree, option B seems like the most straightforward solution.
upvoted 0 times
...
...
Vinnie
1 year ago
Hmm, I'm not sure. Option C or D might be a bit more elegant, but they could also be overkill. I'd have to think about the long-term maintainability and scalability of the solution.
upvoted 0 times
Cristy
1 year ago
Hmm, I think option A could work well for this scenario. It's a straightforward solution.
upvoted 0 times
...
Taryn
1 year ago
A) Create a new shipping method and label it 'Free Standard Ground Shipping'. Give it the qualifier 'brand equals XyzTv', and add it to the checkout options.
upvoted 0 times
...
...
Shawna
1 year ago
I agree with Ronny. Option B seems like the cleanest solution that follows best practices. Extending the code or creating a new shipping method just seems like overkill for this requirement.
upvoted 0 times
...
Ronny
1 year ago
I think option B is the way to go. It's the most straightforward and best practice approach, as it modifies the existing shipping method without creating a new one.
upvoted 0 times
Jesus
1 year ago
I see your point. It's important to consider scalability and maintenance when making this decision.
upvoted 0 times
...
Kenneth
1 year ago
That's true, but modifying the existing method might be easier to maintain in the long run.
upvoted 0 times
...
Lorriane
1 year ago
But wouldn't creating a new shipping method specifically for XyzTv televisions be cleaner?
upvoted 0 times
...
Rosalind
1 year ago
I agree, option B seems like the most efficient solution.
upvoted 0 times
...
...
Leota
1 year ago
I'm not sure, but I think option B could also work by creating an allow list for the existing shipping method.
upvoted 0 times
...
Sherell
1 year ago
I disagree, I believe option D is the correct approach as it extends the code in the shipping method to add the exception for the specified brand.
upvoted 0 times
...
Florinda
1 year ago
I think option A is the best choice because it creates a new shipping method specifically for XyzTv televisions.
upvoted 0 times
...

Save Cancel