# Stop Certain Products From Being Purchased Together on Shopify URL: https://geofraudshield.com/blog/prevent-products-purchased-together-shopify Published: 2026-10-03 Reading time: 7 min read Category: Tutorial Author: Robert John, Founder & CEO at Blockly (https://geofraudshield.com/about#robert-john) Publisher: Blockly (https://geofraudshield.com) ## TL;DR Some products should never share a cart. Learn how to block risky combinations like gift cards with discounted bundles, hazmat with air shipping, or pre-orders with in-stock items using Shopify Functions. ## Key points - hazmat for aerosols, batteries, and flammable items - pre-order for items not yet in stock - gift-card or the native gift card product type - bundle-promo for discounted bundles - subscription for subscription-only items ## Questions this answers - How does shopify work on Shopify? - How does checkout customization work on Shopify? - How does cart validation work on Shopify? - How does shopify functions work on Shopify? - How does pre orders work on Shopify? ## Primary sources referenced - Shopify Functions (Shopify developer docs): https://shopify.dev/docs/apps/build/functions ## Citation format Blockly (2026). Stop Certain Products From Being Purchased Together on Shopify. https://geofraudshield.com/blog/prevent-products-purchased-together-shopify