Does anyone know if there are any issues with scripts running when a user checksout from the Shopify Plus Wholesale channel? I have writtern a script that disables free shipping for customers tagged with wholesale if their order is < $1500. This works as expected when logged into the retail channel, however the script doesn't seem to run when the customer checksout from the wholesale channel.
TAG = "wholesale" #customer tag
WS_FREE_SHIPPING = Money.new(cents: 1500)*100
cartTotal = Input.cart.subtotal_price
customer = Input.cart.customer
if customer.tags.include?(TAG) && cartTotal < WS_FREE_SHIPPING
Input.shipping_rates.delete_if do |shipping_rate|
Output.shipping_rates = Input.shipping_rates
Any insight would be greatly appreciated!
... View more