Questions and Clarifications Regarding Tradly Documentation.
-
Shipping Methods:
In the documentation, it is not clear when and how we should set the price for a shipping method created via the admin panel. Could you please provide guidance on when and how to set the price for shipping methods, for example, if we want to charge RM 5 for a 1kg package? -
Add to Cart Feature:
I have noticed that the add to cart feature does not appear to accept any shipping methods via the API, despite the cart model having a field for shipping price. Can you clarify if this is the intended behavior or if there is a way to include shipping methods in the cart via the API? -
Handling Multiple Variants:
When a listing has multiple variants, the API allows us to add products to the cart seamlessly. However, in your React web application, it prompts an error asking users to select a variant first. I’m curious about how this error is handled. Does the React app perform the check on the client side, and if so, is this a security risk since the check is not handled by the API? -
Variant Information in “Add to Cart” API:
The “add to cart” API in Postman appears to only require a listing ID and quantity, without specifying how to include variant information. Could you provide information on how to correctly add listings with variants to the cart via the API?