AeybelV / PartPal

A tool for generating, optimizing, management, and sharing of Bills of Materials (BOMs). Integrates with EDA tools to streamline component sourcing and assembly workflows.
GNU General Public License v3.0
5 stars 0 forks source link

Digikey Automatic Cart Generation and Cost Calculation #14

Open AeybelV opened 2 months ago

AeybelV commented 2 months ago

Currently, Partpal can successfully query Digi-Key for product details, allowing users to retrieve important information about components. The next step in functionality is to enable cart generation based on queried products. This should also include the ability to calculate the total cost of the components in the cart and estimate shipping costs.

3 Key things should be accomplished.

  1. Cart Generation: Implement functionality to automatically create a shopping cart on Digi-Key using their Order API
  2. Cost Generation: Calculate the total cost of all items in the cart, taking into account any volume discounts and taxes. Might be good idea to have locale support so we can calculate the total cost in different currencies.
  3. Shipping Cost Estimation: Estimate shipping costs based on the user's location and preferred shipping method. Need to provide a breakdown of shipping options, including estimated delivery times and costs.

Bonus if the order can be placed via PartPal.