mirror of
https://github.com/vercel/commerce.git
synced 2025-05-12 12:47:50 +00:00
feat: try to add dynamic store name
Signed-off-by: jrphilo <james.philo@me.com>
This commit is contained in:
parent
5d4402e744
commit
c8a627d454
@ -10,7 +10,6 @@ import { ReactNode, useState } from 'react';
|
|||||||
|
|
||||||
const options = ['Commercial', 'Residential'] as const;
|
const options = ['Commercial', 'Residential'] as const;
|
||||||
const { STORE_PREFIX, SITE_NAME } = process.env;
|
const { STORE_PREFIX, SITE_NAME } = process.env;
|
||||||
const storeName = SITE_NAME;
|
|
||||||
|
|
||||||
// Conditional price values based on STORE_PREFIX
|
// Conditional price values based on STORE_PREFIX
|
||||||
const commercialPrice = STORE_PREFIX === 'reman-transmission' ? 299 : 0;
|
const commercialPrice = STORE_PREFIX === 'reman-transmission' ? 299 : 0;
|
||||||
@ -137,8 +136,8 @@ const Delivery = () => {
|
|||||||
(excluding weekends and holidays). However, due to increased order volumes,
|
(excluding weekends and holidays). However, due to increased order volumes,
|
||||||
weather conditions, or circumstances beyond our control, we will ship your order
|
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
|
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
|
guarantees. {SITE_NAME} will not be responsible for any additional fees that the
|
||||||
may charge due to re-delivery or storage.
|
carrier may charge due to re-delivery or storage.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user