简体   繁体   English

获取产品的运费 - Shopify

[英]Get Shipping rates for a product - Shopify

I couldn't found an endpoint(Shopify API REST or Shopify GraphQL) to get the shipping rates available for a product, quantity, and zip code. I couldn't found an endpoint(Shopify API REST or Shopify GraphQL) to get the shipping rates available for a product, quantity, and zip code. The idea is a user in the PDP(Product detail page) select a quantity for a product, type a zip code and after that, I need to render the information (name of shipping and price) in PDP.这个想法是 PDP(产品详细信息页面)中的用户 select 产品数量,输入 zip 代码,然后,我需要在 PDP 中呈现信息(运输名称和价格)。 This functionality is using the Shopify Rates not CarrierService custom此功能使用 Shopify Rates not CarrierService custom

The answer to this was to use Draft Orders to simulate the Order and see the cost of Shipping对此的答案是使用草稿订单来模拟订单并查看运输成本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM