diff --git a/frontend/application/components/CheckoutPage.tsx b/frontend/application/components/CheckoutPage.tsx
index 82c4572..6797638 100644
--- a/frontend/application/components/CheckoutPage.tsx
+++ b/frontend/application/components/CheckoutPage.tsx
@@ -388,51 +388,92 @@ export default function CheckoutPage() {
شیوه پرداخت
-
- {[
- {
- id: 'card',
- label: 'کارت به کارت (واریز مستقیم)',
- desc: 'واریز به شماره کارت بانک سامان',
- icon:
- },
- {
- id: 'wallet',
- label: 'اعتبار حساب (کیف پول)',
- desc: `موجودی: ${toPersian((profile.walletBalance || 0).toLocaleString())} تومان`,
- icon:
- }
- ].map((pay) => (
- setPaymentMethod(pay.id)}
- className={cn("p-4 sm:p-6 rounded-2xl sm:rounded-3xl border-2 cursor-pointer transition-all group flex sm:flex-col items-center sm:items-start gap-4 sm:gap-0 relative", paymentMethod === pay.id ? "border-canina-blue bg-canina-blue/5" : "border-medical-gray-100 hover:border-canina-blue")}
- >
-
- {pay.icon}
+
+ {(() => {
+ const getText = useSettingsStore.getState().getText;
+ const allGateways = [
+ {
+ id: 'card',
+ label: getText('PAY_GATEWAY_CARD_LABEL', 'کارت به کارت (واریز مستقیم)'),
+ desc: getText('PAY_GATEWAY_CARD_DESC', 'واریز به شماره کارت بانک سامان'),
+ icon: ,
+ enabled: getText('PAY_GATEWAY_CARD_ENABLE', 'true') === 'true'
+ },
+ {
+ id: 'wallet',
+ label: getText('PAY_GATEWAY_WALLET_LABEL', 'اعتبار حساب (کیف پول)'),
+ desc: `موجودی: ${toPersian((profile.walletBalance || 0).toLocaleString())} تومان`,
+ icon: ,
+ enabled: getText('PAY_GATEWAY_WALLET_ENABLE', 'true') === 'true'
+ },
+ {
+ id: 'online',
+ label: getText('PAY_GATEWAY_ONLINE_LABEL', 'درگاه پرداخت آنلاین (شتاب)'),
+ desc: getText('PAY_GATEWAY_ONLINE_DESC', 'پرداخت مستقیم با کلیه کارتهای شتاب'),
+ icon: ,
+ enabled: getText('PAY_GATEWAY_ONLINE_ENABLE', 'false') === 'true'
+ },
+ {
+ id: 'cod',
+ label: getText('PAY_GATEWAY_COD_LABEL', 'پرداخت در محل (کارتخوان)'),
+ desc: getText('PAY_GATEWAY_COD_DESC', 'تحویل کالا و پرداخت درب منزل'),
+ icon: ,
+ enabled: getText('PAY_GATEWAY_COD_ENABLE', 'false') === 'true'
+ }
+ ];
+
+ const sortedGateways = [...allGateways].sort((a, b) => (b.enabled ? 1 : 0) - (a.enabled ? 1 : 0));
+
+ return sortedGateways.map((pay) => (
+ {
+ if (pay.enabled) {
+ setPaymentMethod(pay.id);
+ } else {
+ toast.info("این روش پرداخت به زودی فعال خواهد شد.");
+ }
+ }}
+ className={cn(
+ "p-4 sm:p-6 rounded-2xl sm:rounded-3xl border-2 transition-all group flex sm:flex-col items-center sm:items-start gap-4 sm:gap-0 relative",
+ pay.enabled
+ ? (paymentMethod === pay.id ? "border-canina-blue bg-canina-blue/5 cursor-pointer" : "border-medical-gray-100 hover:border-canina-blue cursor-pointer")
+ : "border-medical-gray-100 bg-medical-gray-50/60 opacity-60 cursor-not-allowed"
+ )}
+ >
+
+ {pay.icon}
+
+
+
+ {pay.label}
+ {!pay.enabled && (
+
+ به زودی
+
+ )}
+
+
+ {pay.desc}
+ {pay.id === 'wallet' && pay.enabled && (profile.walletBalance || 0) === 0 && (
+
+ )}
+
+
-
- {pay.label}
-
- {pay.desc}
- {pay.id === 'wallet' && (profile.walletBalance || 0) === 0 && (
-
- )}
-
-
-
- ))}
-
+ ));
+ })()}
+
{paymentMethod === 'card' && (
diff --git a/frontend/application/components/Footer.tsx b/frontend/application/components/Footer.tsx
index 9e66acd..80d3eff 100644
--- a/frontend/application/components/Footer.tsx
+++ b/frontend/application/components/Footer.tsx
@@ -134,7 +134,7 @@ export default function Footer({
{getText('footer_phone_label', "خط ویژه فروش")}
- {getText('footer_phone', "۰۲۱-۸۸۸۸ ۴۴۴۴")}
+ {getText('CONTACT_PHONE', getText('footer_phone', "۰۲۱-۸۸۸۸ ۴۴۴۴"))}
@@ -143,7 +143,7 @@ export default function Footer({
{getText('footer_email_label', "مکاتبات رسمی")}
- {getText('footer_email', "info@canina-iran.com")}
+ {getText('CONTACT_EMAIL', getText('footer_email', "info@canina-iran.com"))}
@@ -154,7 +154,7 @@ export default function Footer({
{getText('footer_address_label', "دفتر مرکزی")}
- {getText('footer_address', "تهران، جردن، خیابان سعیدی، ساختمان کانینا، طبقه ۵، واحد ۱۹")}
+ {getText('CONTACT_ADDRESS', getText('footer_address', "تهران، جردن، خیابان سعیدی، ساختمان کانینا، طبقه ۵، واحد ۱۹"))}
diff --git a/frontend/application/components/Header.tsx b/frontend/application/components/Header.tsx
index a1650eb..818b0b1 100644
--- a/frontend/application/components/Header.tsx
+++ b/frontend/application/components/Header.tsx
@@ -372,11 +372,15 @@ export default function Header({
{activeDropdown === 'company' && (
-
+
درباره کمپانی کانینا آلمان
+
+
+ نمادهای اعتماد و مجوزهای رسمی
+
|