diff --git a/components/layout/search/filters/sub-menu.tsx b/components/layout/search/filters/sub-menu.tsx index dd28f868a..274e396eb 100644 --- a/components/layout/search/filters/sub-menu.tsx +++ b/components/layout/search/filters/sub-menu.tsx @@ -39,7 +39,7 @@ const SubMenu = async ({ collection }: { collection: string }) => { if (collectionData.plpType === 'Product Type' && collectionData.lhnLinks) { displayField = 'make'; - title = 'Populer Makes'; + title = 'Popular Makes'; const response = await getMetaobjectsByIds(collectionData.lhnLinks); subMenu = sortOptions(response, displayField); } diff --git a/components/product/core-charge.tsx b/components/product/core-charge.tsx index 84a766e80..7d3c2ec3d 100644 --- a/components/product/core-charge.tsx +++ b/components/product/core-charge.tsx @@ -1,19 +1,20 @@ 'use client'; -import { InformationCircleIcon } from '@heroicons/react/20/solid'; import { ArrowPathRoundedSquareIcon } from '@heroicons/react/24/outline'; import Price from 'components/price'; import SideDialog from 'components/side-dialog'; -import { CORE_VARIANT_ID_KEY, CORE_WAIVER, phoneNumber } from 'lib/constants'; +import { CORE_VARIANT_ID_KEY, CORE_WAIVER } from 'lib/constants'; import { CoreChargeOption, ProductVariant } from 'lib/shopify/types'; import { cn, createUrl } from 'lib/utils'; import { usePathname, useRouter, useSearchParams } from 'next/navigation'; -import { useState } from 'react'; +import { ReactNode, useState } from 'react'; type CoreChargeProps = { variants: ProductVariant[]; + children: ReactNode; }; -const CoreCharge = ({ variants }: CoreChargeProps) => { + +const CoreCharge = ({ variants, children }: CoreChargeProps) => { const searchParams = useSearchParams(); const pathname = usePathname(); const router = useRouter(); @@ -70,68 +71,7 @@ const CoreCharge = ({ variants }: CoreChargeProps) => { -
-
-

What is a core charge?

-

- When you purchase a remanufactured transmission, the price assumes that you return - your old transmission. This old part is called a core. -

-

- The core charge is a refundable deposit that is added to the price of the part to - ensure that the old part is returned for proper disposal or remanufacturing. When - you return the old part, you receive a refund of the core charge. -

-
- -
-

Understanding our core waiver

-

- At Transmission Locator, we offer a 30-day core waiver option on some of our - transmissions. This means that you can choose to waive the core deposit for up to 30 - days after your purchase. As long as you return your old part within the 30-day - period, you will never need to pay the core charge. -

-

- If you don't manage to return the old part within the 30-day period, we will - then charge you the core charge. This keeps more money in your pocket upfront. -

-
- -
-

Returning your core

-

- We will pick up your core at no cost to you. Simply let us know that the core is - ready and we will send you a prepaid label, as well as a driver to pick up the core. -

-
- -
-
-
-
-
-
-

- Have questions? Speak to a specialist now: -

- -
-
-
-
-
+ {children}