Changelog
2025-12-12
Added
-
Added the
enrichCustomerDatafunction.
This optional asynchronous function enriches theDATA.customerobject with customer profile information fetched from Shopify Admin GraphQL, including customer details, addresses, tags, order statistics, and optional customer metafields.
The customer object is available when a registered customer is logged in at checkout and is not included in the test data payload.See more information here.
2025-03-31
Changed
- Updated the
printfunction to be globally accessible without requiring an explicit import.
You can now callprint(...)directly from any module. console.log,console.error,console.warn, andconsole.infoare now automatically intercepted and routed throughprint.
See updated documentation here.
2025-03-24
Added
- Added the
processShopifyWebhookfunction.
This optional asynchronous function is used to handle webhook data from Shopify, supporting events such asorders/create,orders/edited,orders/fulfilled,orders/cancelled, andorders/paid.
See more information here.
2024-10-29
Added
- Added a function to access product metafields
fetchProductMetafields. The function is used to read product metafields with the metafield namespace as input argument. See more information here.
2024-10-07
Added
- Added Delivery Customization functions
- jsrates-delivery-customization - The new delivery customization feature allows you to hide shipping rate options using parameters not supported by the existing JsRates codes. This includes criteria like customer tags, customer login status, customer total spent, customer authentication status, cart discount, cart total price, and cart subtotal price. You can also hide rates based on method, name, code, or price. This is done with the new
saveDeliveryCustomizationsMetafieldfunction, which takes a configuration JSON as input, making JsRates even more powerful and flexible
- jsrates-delivery-customization - The new delivery customization feature allows you to hide shipping rate options using parameters not supported by the existing JsRates codes. This includes criteria like customer tags, customer login status, customer total spent, customer authentication status, cart discount, cart total price, and cart subtotal price. You can also hide rates based on method, name, code, or price. This is done with the new
2024-03-27
Added
- Added two plugins:
- getVisitorLocation - The
getVisitorLocationfunction utilizes IP geolocation to determine the location of a visitor, providing comprehensive geographical details. Get visitor location info - GeoData - The
GeoDataclass is designed to retrieve detailed information about a location from a comprehensive database, supporting multiple countries and offering precise geographical data. Retrieve geographical data
- getVisitorLocation - The
2024-03-15
Added
- Added the Alibaba real-time shipping rate plugin:
- Alibaba - The
Alibabaclass offers a solution for retrieving real-time shipping rates for products available on Alibaba. Ailbaba plugin
- Alibaba - The
