product data
This commit is contained in:
@@ -99,6 +99,7 @@ class MyProductsService(BaseService):
|
|||||||
response_data = {
|
response_data = {
|
||||||
"product_id": product_id,
|
"product_id": product_id,
|
||||||
"current_template_uid": memberSubscription.product_template if memberSubscription else None,
|
"current_template_uid": memberSubscription.product_template if memberSubscription else None,
|
||||||
|
"custom_template_name": memberSubscription.custom_template if memberSubscription else '',
|
||||||
"templates": template_data,
|
"templates": template_data,
|
||||||
"last_update": datetime.datetime.utcnow(),
|
"last_update": datetime.datetime.utcnow(),
|
||||||
}
|
}
|
||||||
@@ -372,6 +373,9 @@ class MyProductsService(BaseService):
|
|||||||
product_subscription_uid = memberSubscription.uid
|
product_subscription_uid = memberSubscription.uid
|
||||||
product_subscription_external_url = memberSubscription.external_url
|
product_subscription_external_url = memberSubscription.external_url
|
||||||
product_subscription_internal_url = memberSubscription.internal_url
|
product_subscription_internal_url = memberSubscription.internal_url
|
||||||
|
product_template = memberSubscription.product_template
|
||||||
|
custom_template = memberSubscription.custom_template
|
||||||
|
|
||||||
|
|
||||||
# "banner": "banner.jpg",
|
# "banner": "banner.jpg",
|
||||||
myproduct_data = {
|
myproduct_data = {
|
||||||
@@ -388,6 +392,8 @@ class MyProductsService(BaseService):
|
|||||||
"product_uid": product_data.uid,
|
"product_uid": product_data.uid,
|
||||||
"promotion_text": "Start Free Today !",
|
"promotion_text": "Start Free Today !",
|
||||||
"subscription_uid": product_subscription_uid,
|
"subscription_uid": product_subscription_uid,
|
||||||
|
'product_template': product_template,
|
||||||
|
'custom_template': custom_template,
|
||||||
"status": productDataStatus,
|
"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!",
|
"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"
|
"title": "Your personal professional web presence"
|
||||||
|
|||||||
Reference in New Issue
Block a user