How to Charge Variable Installation Fees Based on Cart Items in Shopify?

How to Charge Variable Installation Fees Based on Cart Items in Shopify?

EdmondHong
Tourist
9 0 2

Hi everyone,

 

I’m looking for a solution to charge installation fees for customers based on the following setup:

1. Minimum Installation Fee: $200 per trip to the customer’s site.
2. Item-Specific Installation Fees:
Installation of a TV costs $20 per unit.
Installation of a fridge costs $50 per unit

3. Pricing Logic:
If the calculated installation cost (based on the items in the cart) is less than $200, we charge the minimum fee of $200.
If the calculated installation cost is greater than $200, the customer is charged the higher amount.


Examples:

  1. If a customer adds 3 TVs and 2 fridges to their cart:
  • Installation cost = (3 × $20) + (2 × $50) = $60 + $100 = $160.
    Since $160 is less than $200, we charge the minimum fee of $200.

 

  • If a customer adds 5 TVs and 5 fridges to their cart:
    Installation cost = (5 × $20) + (5 × $50) = $100 + $250 = $350.
    Since $350 is greater than $200, we charge $350.

Question:
How can I set up this type of installation fee logic in Shopify? Are there any apps or custom solutions that allow for conditional fees based on cart contents? Ideally, I’d like to display the installation fee as a separate charge in the cart.

 

Any suggestions, app recommendations, or guidance would be much appreciated!

 

Thanks in advance!

Replies 2 (2)

KuldeepKumar20
Shopify Partner
312 37 65

Hi @EdmondHong , What plan are you using of Shopify?

 

 

 

For Design, Development and custom changes Hire Me.
If your problem solved then Like & Accept this Solution.
Email ID: codermail30@gmail.com
EdmondHong
Tourist
9 0 2

Hi @KuldeepKumar20 

 

Does The plan matter?