Share page:
Fees eCommerce SPI Add CUSTOM TAXES and More to Cart
The Wix Wiz
May 8, 2023
9
Tags:
eCommerce, Online store
Hi there, in this video I introduce the new Wix Additional Fees eCommerce SPI which allows you to add custom additional fees to the cart and checkout pages using the Wix Stores app.
What is a Velo SPI? As stated by Wix:
A Velo SPI is an SPI that allows you to extend the functionality of your Wix website by injecting your own custom logic into existing app flows and integrating external services with your Wix site. With Velo, the services you provide can be custom logic for your own Velo app flows or integration with 3rd-party services. Each extension consists of a set of backend code files that utilize SPI functions for implementing the extension. Wix apps call the functions automatically at specific points in their flows. The functions receive and return data in a specific format. The returned data is then integrated by the Wix app into its flow. In this sense, custom extensions fulfill a kind of contract. The Wix user commits to providing data in a certain format, and the
Wix app commits to using this data in its flows at specific points. https://support.wix.com/en/article/velo-tutorial-ecommerce-additional-fees-custom-extension
With the Additional Fees custom extenstion, you can define the additional fees that fit your site's needs.
You can also customize code to calculate different types of additional fees.
For example, you can add some of the following additional fees to your checkout flow:
Gift wrapping fees
Shipping insurance fees
Item warranty fees
Credit card service fees
Shipping and handling fees
Fragile packaging fees
Carbon offset fees
In this video I will show you:
1. How to add an extension to your site.
2. How to write custom logic that will calculate when to add fees and how much.
3. How to deploy the extension to your live site