Personalized checkout and custom promotions with Shopify Scripts
FREE_TAG = 'freeship' PRODUCT_ID = 66854371656 if Input.cart.shipping_address.country_code == 'US' Input.cart.line_items.select do |line_item| product = line_item.variant.product if product.id == PRODUCT_ID PRODUCT_ID = true Input.shipping_rates.each do |shipping_rate| next unless shipping_rate.source == "shopify" shipping_rate.apply_discount(shipping_rate.price * 100, message: "Discounted shipping") end end end end Output.shipping_rates = Input.shipping_rates
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By