peterTrifecta

Results 13 issues of peterTrifecta

We’ve run into an issue with the reference component that uses the REST Connect API for searching that we need to use for a custom Category / Search Results. B2BSearchControllerSample.productSearch:...

https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/blob/741479e9eca0ba6b73f4bf503427fe3357ba34c1/examples/lwc/force-app/main/default/classes/B2BSearchControllerSample.cls#L25 That code still uses the REST API, but there is a method in Apex now. https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CommerceSearch_static_methods.htm#apex_ConnectAPI_CommerceSearch_productSearch_1

https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/blob/9a24bb0ab5ea1ac786f9a3d4939367d3fd06c24b/examples/checkout-sync/classes/B2BSyncDelivery.cls#L258

https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/blob/9a24bb0ab5ea1ac786f9a3d4939367d3fd06c24b/examples/checkout-sync/classes/B2BSyncDelivery.cls#L243

https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/blob/9a24bb0ab5ea1ac786f9a3d4939367d3fd06c24b/examples/checkout-sync/classes/B2BSyncDelivery.cls#L233

The reference implementation code has hard coded strings everywhere. The Salesforce recommended best practice is to use Custom Labels instead, since they are translatable and editable through configuration (no need...

The filters of the PLP display special characters such as & and " as their html entities & and ". The built-in Results Layout component does not have the same...

https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/blob/b8a34565d394a2b4460cee0bc587b2c720e87842/examples/checkout/integrations/classes/B2BDeliverySample.cls#L212

See https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/blob/b8a34565d394a2b4460cee0bc587b2c720e87842/examples/checkout/integrations/classes/B2BDeliverySample.cls#L199

Currently https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/tree/master/examples/lwc/force-app/main/default/classes has no unit tests. With the recommended pattern being to copy the reference component code as a starting point when customization is needed, it would be useful for...