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 Developer Topic 3 Question 81 Discussion

Actual exam question for Salesforce's B2C Commerce Developer exam
Question #: 81
Topic #: 3
[All B2C Commerce Developer Questions]

The developer has been given the following business requirement:

The shipping method, Free Standard Ground Shipping' has an exclusion for products *lth 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: A

Contribute your Thoughts:

Jesusita
1 months ago
This sounds like a classic case of 'the marketing team had a great idea, but they forgot to consult the developers'. Option C is definitely the way to go here. Extending the core code would be like trying to fit a square peg in a round hole - sure, you could do it, but it's going to be a mess.
upvoted 0 times
Trevor
15 days ago
Sure, you could do it, but it's going to be a mess.
upvoted 0 times
...
Lizbeth
24 days ago
Extending the core code would be like trying to fit a square peg in a round hole.
upvoted 0 times
...
Lera
1 months ago
Option C is definitely the way to go here.
upvoted 0 times
...
...
Kizzy
1 months ago
I bet the marketing team is just excited to offer 'free shipping' on their TVs. Who needs to worry about the details, right? Option C is the way to go, though. Hacking the core code would be like trying to assemble IKEA furniture with a hammer - sure, you could do it, but it's not going to end well.
upvoted 0 times
...
Felicidad
2 months ago
Ah, the classic 'marketing wants something, but the developer has to make it work' scenario. Option C is the clear winner here. Extending the core code just sounds like a recipe for future headaches. Now, if only the marketing team could come up with a sale that doesn't require any special exceptions...
upvoted 0 times
Eulah
16 days ago
Marketing always wants something special, but we have to make it work. Option C it is!
upvoted 0 times
...
Emmanuel
24 days ago
I agree, extending the core code seems risky. Let's keep it simple with Option C.
upvoted 0 times
...
Corinne
1 months ago
Option C is definitely the way to go. It's the simplest solution.
upvoted 0 times
...
...
Ashley
2 months ago
Option C is the way to go! Keeping the exclusion list updated is way easier than hacking the core shipping method. I wonder if the marketing team will remember to update the exclusion list when the sale is over, though. Perhaps we should set a calendar reminder for them.
upvoted 0 times
...
Willard
2 months ago
I'm curious to see how the developers will handle this. Hopefully, they'll come up with a solution that's both functional and maintainable. Extending the core code (Options A and B) seems like it could lead to some technical debt down the line.
upvoted 0 times
Veronika
14 days ago
A) Let's hope the developers find a solution that's both functional and maintainable for this business requirement.
upvoted 0 times
...
Hayley
24 days ago
C) Create an allow list for the existing shipping method by adding a product exclusion for 'brand equals XyzTV' sounds like a good approach.
upvoted 0 times
...
Ona
1 months ago
B) I agree, extending the CheckoutShippingservices controller using module.superModule seems like a better option.
upvoted 0 times
...
Hayley
2 months ago
A) Extend the code in cartridge/models/shipping/shippingMethod.js using module, super Module and add an exception for the specified brand.
upvoted 0 times
...
...
Annice
2 months ago
The marketing department's requirement seems straightforward, but the implementation needs to follow best practices. Option C looks like the most appropriate solution, as it allows for a targeted exception without modifying the core shipping method logic.
upvoted 0 times
...
Georgiann
2 months ago
Hmm, that makes sense too. It's important to consider the best practices for implementing this business requirement.
upvoted 0 times
...
Olive
2 months ago
I disagree, I believe option C is the way to go as it involves creating an allow list for the existing shipping method.
upvoted 0 times
...
Georgiann
3 months ago
I think option A is the best choice because it involves extending the code in the shipping method.
upvoted 0 times
...

Save Cancel