product data

This commit is contained in:
CHIEFSOFT\ameye
2025-09-28 22:42:26 -04:00
parent 53e2171e0b
commit 008ddb53b4
+6
View File
@@ -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"