Hi all! We are migrating Shopify Scripts to Shopify Functions. We have the following case:
We have a product in the cart with different quantities. We want to split this product into groups of 3 items each. Previously, we used cart.line_items.insert in the script. Now, the most suitable approach is the Cart Transform function, where we can create bundles of 3 items by merging line_items.
Is there any other way to modify this, or is Cart Transform the only option?


