- ${item}
-
${item.word}
Free Shipping on orders Over $55
15% OFF on 4+ Items
20% OFF on 8+ Items
Free Global Shipping Over $55
15% OFF on 4+ Items
20% OFF on 8+ Items
Green Lenses
Blue Lenses
Brown Lenses
Grey Lenses
Hazel Lenses
Purple Lenses
Green Lenses
Blue Lenses
Brown Lenses
Grey Lenses
Hazel Lenses
Purple Lenses
Treva Collection
Alune Collection
Asyre Collection
Dreya Collection
Elnor Collection
Treva Collection
Alune Collection
Asyre Collection
Dreya Collection
Elnor Collection
Become a member
${benefitItem.name}
${benefitItem.desc}
Get discount code
Get discount code
Congratulations! You have received a discount code
Enjoy discounts when paying for your order
${data.discount_code}
${!!data[1].settings.not_login_prefix_content ? data[1].settings.not_login_prefix_content : "Welcome to"}
${!!data[1].settings.not_login_title ? data[1].settings.not_login_title : "yoyeelens"}
${benefitItem.name}
${benefitItem.desc}
${!!data[1].settings.login_tip_desc ? data[1].settings.login_tip_desc : "Already have an account?" }
By joining, you agree to receive our emails, and accept Terms of Use & Privacy Policy.
Spent
Reached maximum level
${data[2].settings.title}
Paid benefits
${data[1].campaign?.name} >
YOU EARN
YOU SAVE
THEY GET
${inviteInfo.title}
${recordsEntry}${inviteInfo.subtitle}
${rulesEntry}Benefits (${data.tier_detail.benefits.length})
${item.name}
${item.desc}
View coupon code>
Last name
${ data.member?.last_name ? data.member?.last_name : 'Please enter last name' }First name
${ data.member?.first_name ? data.member?.first_name : 'Please enter first name' }Birth of date
Phone
${data.member?.phone ? data.member?.phone : 'Please enter phone number'}Created on
Joined on
${data.title}
${function(){ let title = data.campaign.name; if (data.campaign.event_type === 'share_link') { let limit_reward_count = Number(data.campaign.campaign_rule.limit_reward_count); let participation_times = Number(data.participation_info.participation_times); if (limit_reward_count > 1) { title = `${title} (${limit_reward_count - participation_times}/${limit_reward_count})`; } } return title; }()}
${function(){ if (data.campaign.event_type === 'successful_order') { return `Available
Frozen
${function(){
const { use_global_config, is_expired, expired_method, day, month } = data[1].points_rule.point_expired_setting;
let date = `Permanent Validity`;
if (!use_global_config) {
date = `Each point is calculated separately according to the rules of the activity (details can be viewed in the point detail records)`;
} else {
if (is_expired) {
if (expired_method === 'after_x_months') {
date = `${month} months valid`;
} else if (expired_method === 'after_x_days') {
date = `${day} days valid`;
} else if (expired_method === 'on_specific_date') {
const dateElement = `
${function(){
const amount = new Intl.NumberFormat().format(data[0].point.earned_amount);
return `Accumulated
${data.points > 0 ? '+' : ''}${data.points}
No record yet
Get discount code
${data[0].campaign?.name}
${function(){
const { prerequisite_type, prerequisite_value } = data[0].campaign?.reward.discount_code_activity || {};
if (prerequisite_type === 'none') {
return `No threshold`;
}
if (prerequisite_type === 'quantity') {
return `The order is available when it contains at least ${parseInt(prerequisite_value)} items`;
}
if (prerequisite_type === 'subtotal') {
return `Available when the order amount exceeds
It will cost
Get discount code
Congratulations! You have received a discount code
Available when paying for an order
Discount
Conditions of use:
${x_content}
${function(){ if (!data[0].campaign) { return `${y_content}
${function(){ if (!data[0].campaign) { return `Validity period:
Valid for long termApplicable products:
All products${data.discount_code}
${function(){
const {obtain_type, obtain_value, prerequisite_type, prerequisite_value} = data;
if (prerequisite_type === 'quantity') {
return `Purchase the following items for a total of ${prerequisite_value} items`;
} else if (prerequisite_type === 'subtotal') {
return `Purchase the following items for a total of
${data.discount_code}
No offers yet
Amount threshold:
${function(){ if (data[1].campaign?.threshold) { return `Order total reachMaximum discount per order:
${function(){ if (data[1].campaign?.max_deduction) { return `Combination rules:
Can be combined with any discount.Deduction rules:
The minimum discount unit is cents, and the calculated points are rounded up.Points Refund Policy for Returns:
Coupon claimers
${new Intl.NumberFormat('en-US').format(data?.invitee_claimed_count || 0)}
Completed orders
${new Intl.NumberFormat('en-US').format(data?.paid_order_count || 0)}
Recent activity
${awardParts.join(' | ')}
` : ''; const tagHtml = data.inviter_award_status === 'granted' ? `${data.invitee_email}
${rewardHtml}No referral history yet
${data.discount_code}
${function(){
if (data.available_times === -1) {
return `Unlimited usage`;
} else if (data.available_times > 0) {
return `Can be used ${data.available_times} times`;
}
}()}
Next refresh time:
${data.benefit.name}
${data.benefit.desc}
${data.benefit.name}
${data.benefit.desc}
${function(){ const {execution_schedule, trigger_type} = data.benefit.benefit_config; const { type, date } = execution_schedule || {}; if (data.benefit.type === 'point') { if (trigger_type === 'onetime') { return `After you successfully purchase the benefit package, it will be immediately issued to your account.`; } else if (trigger_type === 'periodic') { if (type === 'monthly') { return `After successfully purchasing the benefit package, it will be automatically issued to your account every month.`; } else if (type === 'weekly') { return `After you successfully purchase the benefit package, it will be automatically issued to your account every week.`; } else if (type === 'cycle') { return `After you successfully purchase the benefit package, it will be automatically issued to your account every ${execution_schedule.days[0]} days.`; } } else if (type === 'specific_date') { return `The benefit will be issued to your account on ${ date } every year.`; } } else { if (trigger_type === 'onetime') { return `After you successfully purchase the benefit package, it will be immediately issued to your account.`; } else if (trigger_type === 'periodic') { if (type === 'monthly') { return `After you successfully purchase the benefit package, the discount code will be automatically refreshed monthly.`; } else if (type === 'weekly') { return `After you successfully purchase the benefit package, the discount code will be automatically refreshed weekly.`; } else if (type === 'cycle') { return `After you successfully purchase the benefit package, it will be automatically issued to your account every ${execution_schedule.days[0]} days.`; } } else if (type === 'specific_date') { return `The benefit will be issued to your account on ${ date } every year.`; } } }()}