This Checkout Setting lets you add fees to a shopper's cart.
About
Fees enables you to transparently add mandatory fees to carts, such as passing on regulatory fees to shoppers.
This article uses the mandatory Colorado’s Delivery Fee and Mattress Recycling Fees as configuration examples, but these settings can be used in many different applications to enhance the checkout experience.
Colorado Delivery Fee
Add the Colorado Delivery fee to checkout using the steps below for your ecommerce platform.
Availability
Platform |
Supported Products |
BigCommerce
|
|
Custom Cart / Direct API
|
|
Adobe Commerce / Magento 2
|
|
Salesforce Commerce Cloud SFRA
|
|
WooCommerce
|
|
Setup
- From your product catalog tool or platform, navigate to the product on which you wish to attach the fee.
- Copy the product’s ID.
- Log in to the Merchant Dashboard.
- Navigate to Checkout. Select Configuration and go to Fees.
- Click Enable.
- Enter the product ID copied previously.
- Save your work.
The Colorado Delivery Fee is now enabled and will be added to the cart during checkout as a cart item.
- Log into the Merchant Dashboard.
- Create an individual item called “Colorado Delivery Fee.”
- Set the price of that item to $0.28. Set the item as non-taxable. Save your work.
- Copy the product’s ID.
- Log in to the Merchant Dashboard.
- Navigate to Checkout. Select Configuration and go to Fees.
- Click Enable.
- Enter the product ID copied previously.
- Save your work.
The Colorado Delivery Fee is now enabled and will be added to the cart during checkout as a cart item.
- Log into the Merchant Dashboard.
- Navigate to Settings. Then, go to Shipping and then click Add shipping zone.
- Choose Add custom zone and name it Colorado. You will need to duplicate all shipping methods for this specific zone.
- Select Selection of states or provinces as the Type.
- Enter United States as the country and Colorado as the state.
- Click Configure to the new zone and select Flat Rate. Set up the type of rate you want to offer, adding rates that account for the $0.28 fee. See BigCommerce’s Flat Rate article for details.
- Save your work. The rates you have configured will now only apply to Colorado customers.
- Create a new digital product SKU in the Adobe Dashboard to represent the delivery fee, e.g. “Colorado Delivery Fee,” 0.28, nontaxable.
- Set the item as
non-taxable
. Save your work.
- Copy the new product’s ID.
- Log into the Merchant Dashboard.
- Navigate to Checkout. Select Configuration and go to Fees.
- Click Enable.
- Enter the product ID copied previously.
- Save your work.
The Colorado Delivery Fee is now enabled and will be added to the cart during checkout as a cart item.
- In SFCC Business Manager, create a product to represent the delivery fee, e.g. “Colorado Delivery Fee,” 0.28, nontaxable.
- Save your work.
- Copy the new product’s ID.
- Log into the Merchant Dashboard.
- Navigate to Checkout. Select Configuration and go to Fees.
- Click Enable.
- Enter the product ID copied previously.
- Save your work.
- In the WordPress Admin dashboard, navigate to WooCommerce > Settings > Shipping > Shipping Zones and select Add Shipping Zone.
- Enter a descriptive Zone Name, and select Colorado in Zone Regions that apply.
- Select which Shipping Methods should be available to this zone. For the native shipping method for WooCommerce, add $0.28 to the total cost. For third-party plugin shipping methods (e.g., WooCommerce FedEx Shipping), use the Price Adjustment $ column to add a flat fee to the shipping quote or add handling fees to each method.
- Shipping zones are applied in the order they appear. The zones at the top will take precedence over the ones below. To ensure the tax is applied to Colorado shoppers, drag it to the top of the Shipping Zones list.
Mattress Recycling Fee
Various states require retailers to remit a mattress recycling fee. Use the steps below to add this fee to checkout.
Availability
Platform |
Supported Products |
BigCommerce
|
|
Custom Cart / Direct API
|
|
Adobe Commerce / Magento 2
|
|
Salesforce Commerce Cloud SFRA
|
-
Supported for Bolt Managed Checkout.
-
Bolt allows checkout integrations for site built with SFRA (Salesforce Resource Architecture).
-
Supported for Bolt’s SFRA v2 plugin only. Reach out to your Bolt Customer Success Manager to enable this feature.
|
WooCommerce
|
|
Setup
-
Create a new digital product SKU in the Adobe Dashboard for each fee
- Ex. “Mattress Removing Fee,” $5.00, non-taxable
-
Contact your Bolt CSM and provide them with the Product ID of the item(s) and the amount of the fee. Below is an example for your CSM to follow when adding custom rules to checkout.
Rule Type |
Expression |
Command |
Details |
UPDATE_ITEMS |
ShippingAddress.Region == "California" |
2054, 1050, filter(Items, {any(.Properties, {.Name == 'has_recycle_fee' and .Value == 'Yes'})}) |
This rule adds an item with product_id=2054 that costs $10.50 for every item in the cart with the Property has_recycle_fee=’Yes’ to orders shipping in California. |
UPDATE_ITEMS |
ShippingAddress.Region != "California" |
2054, 1050, 0 |
This rule disallows items with product_id=2054 and a cost of $10.50 to be added to carts shipping beyond California. |
-
Create a new [attribute][2] for each fee e.g., Has Removal Fee.
-
Apply the corresponding attributes to the products created in Step 1.
-
Navigate to Store > Configuration > Sales > Payment Methods > Bolt Pay and add the attributes to the **Product Attributes ** field separated by a comma, e.g., has_removal_fee
, has_removal_service
.
-
In the Bolt Merchant dashboard, navigate to Settings > Add-Ons.
-
Click Create add-on and select Service from the dropdown.
-
Fill out the required fields:
-
- External Reference ID: Product ID, found in your Adobe / M2 account.
-
- Unit Price: Product price, as configured within your Adobe / M2 account.
To setup a fee based on the item at checkout, contact your Customer Service Manager. Below are the feature flags and rules needed to add this type of fee with example values:
Feature Flags
- Enable product Add-Ons at Checkout
- Dynamic Rule Based Content
- Enable Update Fees API
Experiment
enable_conditional_display_add_ons
Rule Type |
Expression |
Command |
UPDATE_ITEMS |
ShippingAddress.Region != “Rhode Island” |
{Mattress Recycling Fee - Rhode Island PRODUCT ID}, {UNIT_PRICE_IN_CENTS}, 0 |
UPDATE_ITEMS |
ShippingAddress.Region == “Rhode Island” |
{Mattress Recycling Fee - Rhode Island PRODUCT ID}, {UNIT_PRICE_IN_CENTS}, filter(Items, {any(.Properties, {.Name == 'has_recycle_fee' and .Value == 'Yes'})}) |
UPDATE_ITEMS |
ShippingAddress.Region != “Connecticut” |
{Mattress Recycling Fee - Connecticut PRODUCT ID}, {UNIT_PRICE_IN_CENTS}, 0 |