From c8a627d4548c421bf37fc4d837010f6b1cfb4a7d Mon Sep 17 00:00:00 2001 From: jrphilo Date: Tue, 9 Jul 2024 14:05:51 +0200 Subject: [PATCH] feat: try to add dynamic store name Signed-off-by: jrphilo --- components/product/delivery.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/product/delivery.tsx b/components/product/delivery.tsx index 2f8ba4b93..32ad1d680 100644 --- a/components/product/delivery.tsx +++ b/components/product/delivery.tsx @@ -10,7 +10,6 @@ import { ReactNode, useState } from 'react'; const options = ['Commercial', 'Residential'] as const; const { STORE_PREFIX, SITE_NAME } = process.env; -const storeName = SITE_NAME; // Conditional price values based on STORE_PREFIX const commercialPrice = STORE_PREFIX === 'reman-transmission' ? 299 : 0; @@ -137,8 +136,8 @@ const Delivery = () => { (excluding weekends and holidays). However, due to increased order volumes, weather conditions, or circumstances beyond our control, we will ship your order out as soon as possible. Please note all shipping times are estimates and not - guarantees. We will not be responsible for any additional fees that the carrier - may charge due to re-delivery or storage. + guarantees. {SITE_NAME} will not be responsible for any additional fees that the + carrier may charge due to re-delivery or storage.