From 008ddb53b4546246e8dacb8f5fe443a0d7616063 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 28 Sep 2025 22:42:26 -0400 Subject: [PATCH] product data --- app/api/services/myproduct.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/api/services/myproduct.py b/app/api/services/myproduct.py index 4a6c757..de1e206 100644 --- a/app/api/services/myproduct.py +++ b/app/api/services/myproduct.py @@ -99,6 +99,7 @@ class MyProductsService(BaseService): response_data = { "product_id": product_id, "current_template_uid": memberSubscription.product_template if memberSubscription else None, + "custom_template_name": memberSubscription.custom_template if memberSubscription else '', "templates": template_data, "last_update": datetime.datetime.utcnow(), } @@ -372,6 +373,9 @@ class MyProductsService(BaseService): product_subscription_uid = memberSubscription.uid product_subscription_external_url = memberSubscription.external_url product_subscription_internal_url = memberSubscription.internal_url + product_template = memberSubscription.product_template + custom_template = memberSubscription.custom_template + # "banner": "banner.jpg", myproduct_data = { @@ -388,6 +392,8 @@ class MyProductsService(BaseService): "product_uid": product_data.uid, "promotion_text": "Start Free Today !", "subscription_uid": product_subscription_uid, + 'product_template': product_template, + 'custom_template': custom_template, "status": productDataStatus, "subscription_text": "Start with your goals in mind and then work possible.ith yand Goals. If the plan doesn\u2019t support the vision then change it!", "title": "Your personal professional web presence"