If you are using nShift Transsmart along with Checkout and have rates configured in Transsmart, you can utilize this feature to look up prices in Checkout. This way, any changes you make to the prices in your price files in Transsmart will automatically update your Checkout prices.
Activate price look-up in Checkout
Before you begin, please make sure you have an active rate configuration in Transsmart. Read our article about rates here. It is also a good idea to look at the Important notes below.
- Edit your Checkout configuration and click on a Delivery option.
- Expand the Carrier service section and check the box next to Lookup price.
-
Expand the Price section and write costprice in the field if you want to display buy/purchase from Transsmart, or write salesprice to display sell/sales rates from Transsmart. This can also be written in the Rule engine.
"Costprice" and "salesprice" are inspecting functions that can be used as a basis for calculation, e.g., cost price* 1.25. If no price is returned to the inspecting function, the options will not be shown.
- Repeat for any other delivery options that should retrieve prices from the rate calculation in Transsmart and save.
Setting a fallback price
You can set a fallback price that will be shown if no price is returned from the rates calculation in Transsmart.
Example: costprice(59)
With this setting, if there are no results, the delivery option will still be displayed, and the price will be 59.
Important notes
- The rates must be set up on the same actor/Member account in Transsmart as the one that is used on the Sender in Checkout.
- The weight must be sent in, so make sure to activate the weight_kg parameter.
- The same currency must be used in the rates file and the Checkout configuration.
- The same carrier service must be used.