Black choker necklace

Eugen Albrant

- Daensk
Daensk.de specializes in industrial and construction supplies, offering products like building materials, packaging solutions, and logistics equipment. Their range includes items for landscaping, road construction, and packaging, such as natural stone, mulch, pallets, and stretch film. The company emphasizes quality, sustainability, and efficient delivery across Germany.

Dynamic Product Price

Description:

The prices of each item in the cart has to be calculated based on cart weight, zone of the product, base price, shipping rate sheet, sequence of item in the cart.

Solution/Implementation

The full solution require different aspects of Shopify to be implemented. Following are the list of all the things that together made this entire project possibe.

  • Shopify Custom App
    • Dashboard for Admin to upload the rates (Excel file)
    • App proxy endpoints..
      • to handle the request from the storefront and return the prices
      • to handle the request from the storefront to get the delivery time
      • to validate the destination zip
    • Open endpoints...
      • to handle the request from the checkout and return the prices
      • to handle the request from the checkout to get the delivery time
      • to validate the destination zip
    • Shopify Function to set the correct prices
    • Checkout UI Extensions..
      • to show the delivery time
      • to validate the change of destination zip
      • to recalculate the prices based on the destination zip
      • to block the progress of the checkout if the destination zip is invalid or the price is not set as per the destination zip in the address
  • Storefront
    • Widget to show the delivery time
    • Widget to allow customer to set/change the destination zip
    • Widget to show the dynamic prices on the pdp as per the destination zip, quantity, cart, weight, rate sheet, sequence in the cart, etc.
  • Fly.io
    • To host the app
  • Sqlite
    • To store the rates, delivery time, etc.
SuccessPolarisAttentionReactAttentionadmin apiRead-onlyajax apiWarningfly.ioSuccessprismaEnabledremix.runInfosqliteInfostorefront apiNewShopify FunctionWarningCheckout UI ExtensionSuccessApp Proxy

Hurdles/Challenges:

  • One of the requirement was to have cart item in reverser order(the first item added to cart should remain at the top position, and the last item added to cart should remain at the bottom position). This was done easily in the storefront, but this change have negative affect on shopify function. The Shopify Function only works with the default order of the cart, We have talked with the Shopify Plus support for the same with no solution. So we ended up implementing custom logic to show the price for each cart item(without affecting the performance) on the cart drawer and cart page to show the correct prices for each item. This was a big hurdle as we need to make sure that the prices are correct for each item in the cart.

Client Review:

"Der gesamte Entwicklungsprozess verlief reibungslos und effizient. Von der ersten Kontaktaufnahme bis zur finalen Übergabe des Projekts war die Kommunikation stets klar und professionell. Besonders beeindruckend war Chirag´s die Fähigkeit, unsere spezifischen Anforderungen und Wünsche zu verstehen und umzusetzen. Der Entwickler hat nicht nur unsere Erwartungen erfüllt, sondern sie in vielerlei Hinsicht übertroffen. Unser Shop sieht nicht nur großartig aus, sondern funktioniert auch einwandfrei und bietet ein hervorragendes Nutzererlebnis. Die Expertise und das technische Know-how, die in das Projekt eingeflossen sind, haben unser Vertrauen in diesen Entwickler nur gestärkt. Jede Frage wurde prompt beantwortet und jede Herausforderung mit kreativen Lösungen gemeistert. Vielen Dank für die ausgezeichnete Arbeit und den herausragenden Service! Wir freuen uns auf zukünftige Projekte und eine langfristige Zusammenarbeit."