function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aditi Mohanty 5Aditi Mohanty 5 

How to implement " add to cart" and "buy" button functionality. Please explain with some code snippets

User-added image
ANUTEJANUTEJ (Salesforce Developers) 
Hi Aditi,

>> https://www.sfdcpanther.com/lightning-component-development-sessions-day-15/

I was able to find this implementation that you can try checking which is a similar use case.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.