Hello, For my store, I use the Kaching Bundles app on Shopify to sell items in packs (e.g., a pack of 3 for €39.99, a pack of 6 for €49.99). To display the price for the 3-piece pack on collection and homepage pages, I need to set the price to €39.99 in Shopify, as I sell starting from 3 pieces.
Issue:
When customers add a single piece without going through the app bundle, either from the cart or directly from the collection page, it adds €39.99 instead of a unit price for a single piece (for example, €24.99). This means that the 3-piece bundle price is applied to a single item.
Need:
I would like to display a unit price ( €24.99) on Shopify, but show the price of the first bundle on collection pages. I want to control which price is visible on these pages while ensuring the correct pricing is applied for individual item additions to the cart.
This setup ensures the correct price logic applies based on whether the customer is buying an individual product or a bundle. Let me know if you run into any issues!
Ah, that’s probably because Shopify doesn’t show a price-type metafield by default in all configurations. No worries! We can use a text-type metafield to store the bundle price as a workaround, and we’ll treat it as a price in the code.
Create a Text Metafield:
Go to: Shopify Admin > Settings > Custom Data > Products
Add a Metafield:
Namespace and key: custom.bundle_price
Content type: Single line text
3. Update Product Card Template
Go to: Online Store > Themes > Actions > Edit Code.
Open: product-card.liquid (or your relevant product listing template).