feat: try to add dynamic store name

Signed-off-by: jrphilo <james.philo@me.com>
This commit is contained in:
jrphilo 2024-07-09 14:05:51 +02:00
parent 5d4402e744
commit c8a627d454
No known key found for this signature in database
GPG Key ID: A8BAD7933F97046F

View File

@ -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.
</p>
</section>