Require product price to change when shipping method changes

My company has a group of customers that have shipping costs built into the product price. This means that when choosing shipping methods such as Next Day Delivery, 5-7 Day Delivery, Delivery & Installation, we require that the product price should change, rather than a delivery surcharge being added.

Any idea how we could approach this with Shopify Plus?

Example:

Hi @NickKB ,

Simplest approach would be to use product options for shipping method on the product details page and make that a mandatory selection before adding to cart. For checkout page should be a shipping rule based on customer tag that eliminates the shipping cost.

Thank you for the reply. Unfortunately, the actual products often contain multiple variants already, such as Desk Top colour, Desk Leg colour, Desk Top Width, Desk Top Depth. Adding a new variant for delivery method would create multiple thousands of new product variants that don’t exist/couldn’t be synced from our PIM/ERP system and would need manual maintenance ongoing.

Have you encountered any custom applications that can handle this complexity of pricing rules? We originally looked at pulling in prices from our ERP system using liquid file edits to show them on the product pages, but the checkout functionality is locked down so we can’t ‘use’ those custom prices in the checkout.

Hi @NickKB ,

I then recommend automatic discounts that apply free shipping at checkout based on customer tag. Shopify Admin by default only lets you target customers for discount codes not automatic discounts. For this you will need an app that will run the conditional logic (customer tag == “free-shipping”) and apply the shipping discount.

Hi @AchieveApplabs

That’s a good way to stop shipping charges applying, but I’m still left with the issue where the product price needs to change when you select a shipping method - e.g. the chair costs £25 Next Day delivery, but £20 5-7 day delivery. It’s not a standard difference in price for all products, so there’s no rule I can give Shopify based on %. I’m thinking this may not be possible with Shopify.

@NickKB ,

You can run a cart line update mutation to handle price updates

@NickKB ,

Try this app https://apps.shopify.com/product-options

it lets you set prices product options. These are different than product variants. I outlined how you can apply automatic shipping discount based on customer tag. That should be a viable solution for any Shopify plan.

In Shopify Functions (an API you can use to build custom discounts), information about delivery groups is available at checkout, after a shipping method has been chosen.

I don’t know if this is available to product/order discounts; I’ve only used this with shipping discounts.

I would recommend creating an automatic product discount that reads the delivery groups in the cart, and then applies an automatic discount to the products if the desired shipping method is chosen.

This would require Shopify Plus, as you’d need to build a custom app for this.

Best,

Tobe