Shipping Rates Plugin

Boost customer trust and conversions by adding our shipping calculator plugin to your product pages. Upfront, real-time shipping costs help customers make informed purchase decisions, reducing the risk of abandoned carts.

Add our Shipping Calculator plugin to your product pages to increase your conversions!
Slide 1 of 3
TAG™ Towbar to suit Nissan Patrol Y62 Wagons (12/2012 - on)
TAG™ Towbar to suit Nissan Patrol Y62 Wagons (12/2012 - on)
$1,139.0035kg
Curt RockerBall™ - ShockDrop 50mm Tow Ball
Curt RockerBall™ - ShockDrop 50mm Tow Ball
$98.501.2kg
TRED Outdoors™ GT Compact Recovery Device (Green)
TRED Outdoors™ GT Compact Recovery Device (Green)
$159.003.9kg
TAG™ Towbar to suit Nissan Patrol Y62 Wagons (12/2012 - on)
TAG™ Towbar to suit Nissan Patrol Y62 Wagons (12/2012 - on)
$1,139.0035kg
Curt RockerBall™ - ShockDrop 50mm Tow Ball
Curt RockerBall™ - ShockDrop 50mm Tow Ball
$98.501.2kg
TRED Outdoors™ GT Compact Recovery Device (Green)
TRED Outdoors™ GT Compact Recovery Device (Green)
$159.003.9kg
TAG™ Towbar to suit Nissan Patrol Y62 Wagons (12/2012 - on)
TAG™ Towbar to suit Nissan Patrol Y62 Wagons (12/2012 - on)
$1,139.0035kg
Curt RockerBall™ - ShockDrop 50mm Tow Ball
Curt RockerBall™ - ShockDrop 50mm Tow Ball
$98.501.2kg
TRED Outdoors™ GT Compact Recovery Device (Green)
TRED Outdoors™ GT Compact Recovery Device (Green)
$159.003.9kg
Documentation

Add the Shipping Calculator JavaScript file just before the closing </body> tag in your HTML

<script src="//unpkg.com/@cartbot/shipping-calculator@latest/dist/shipping-calculator.js" async></script>
Copied!

Add the following Shopify Liquid code snippet to your product page template where you want it to appear. Configure using data attributes.

<shipping-calculator
      data-api-key="PARTBOT_API_KEY"
      data-sku="{{ product.selected_or_first_available_variant.sku }}"
      data-brand="{{ product.vendor }}"
      data-shopify-product-id="{{ product.id }}"
      data-shopify-variant-id="{{ product.selected_or_first_available_variant.id }}"
/>
Copied!
Configuration

Using data-* attributes on the shipping-calculator div container, you can configure the following options:

data-api-keyrequired
Your Partbot public API key. To obtain your API key contact our sales team.
data-skurequired
The product SKU or part number
data-brandrequired
The product brand or vendor
data-shopify-product-idoptional
Shopify Product ID
data-shopify-variant-idoptional
Shopify Variant ID
data-weightoptional
Product weight in kilograms
data-priceoptional
Product price in dollars
data-quantityoptional
The quantity of the product being shipped. Defaults to 1.
data-show-labeloptional
Whether or not to show the input label "Calculate Shipping". Defaults to true.
data-theme-coloroptional
Hexadecimal color value to change button and link colours. Defaults to #4f46e5.