Yes you can - here it is. Go to Admin > Themes > Edit HTML CSS. Find settings_schema.json on the left under Configs. Then:
If you have the BASIC version of the IP Redirect, paste this at the bottom of settings_schema.json, before the closing square bracket:
,{
"name": "Location Redirect",
"settings": [
{
"type": "checkbox",
"id": "redirect_use",
"label": "Use Redirect?"
},
{
"type": "checkbox",
"id": "redirect_force",
"label": "Force Redirect?"
},
{
"type": "text",
"id": "redirect_catch_all_countries",
"label": "Redirect Catch All"
},
{
"type": "text",
"id": "redirect_catch_all_url",
"label": "Redirect Catch All URL"
},
{
"type": "text",
"id": "redirect_catch_all_name",
"label": "Redirect Catch All Store Name"
},
{
"type": "text",
"id": "redirect_from_message",
"label": "Redirect You're in Message"
},
{
"type": "text",
"id": "redirect_to_message",
"label": "Redirect To Message"
},
{
"type": "text",
"id": "redirect_approve",
"label": "Approve Message"
},
{
"type": "text",
"id": "redirect_decline",
"label": "Decline Message"
},
{
"type": "color",
"id": "redirect_bg_color",
"label": "Background Color"
},
{
"type": "color",
"id": "redirect_color",
"label": "Text Color"
},
{
"type": "color",
"id": "redirect_link_color",
"label": "Link Color"
},
{
"type": "color",
"id": "redirect_link_hover_color",
"label": "Link Hover Color"
}
]
}
---
If you have the ADVANCED version of the IP Redirect, paste this at the bottom of settings_schema.json, before the closing square bracket:
--
,{
"name": "Location Redirect",
"settings": [
{
"type": "checkbox",
"id": "redirect_use",
"label": "Use Redirect?"
},
{
"type": "checkbox",
"id": "redirect_force",
"label": "Force Redirect?"
},
{
"type": "text",
"id": "redirect_1",
"label": "Redirect 1"
},
{
"type": "text",
"id": "redirect_2",
"label": "Redirect 2"
},
{
"type": "text",
"id": "redirect_3",
"label": "Redirect 3"
},
{
"type": "text",
"id": "redirect_4",
"label": "Redirect 4"
},
{
"type": "text",
"id": "redirect_5",
"label": "Redirect 5"
},
{
"type": "text",
"id": "redirect_6",
"label": "Redirect 6"
},
{
"type": "text",
"id": "redirect_7",
"label": "Redirect 7"
},
{
"type": "text",
"id": "redirect_8",
"label": "Redirect 8"
},
{
"type": "text",
"id": "redirect_9",
"label": "Redirect 9"
},
{
"type": "text",
"id": "redirect_10",
"label": "Redirect 10"
},
{
"type": "text",
"id": "redirect_catch_all_countries",
"label": "Redirect Catch All"
},
{
"type": "text",
"id": "redirect_catch_all_url",
"label": "Redirect Catch All URL"
},
{
"type": "text",
"id": "redirect_catch_all_name",
"label": "Redirect Catch All Store Name"
},
{
"type": "text",
"id": "redirect_from_message",
"label": "Redirect You're in Message"
},
{
"type": "text",
"id": "redirect_to_message",
"label": "Redirect To Message"
},
{
"type": "text",
"id": "redirect_approve",
"label": "Approve Message"
},
{
"type": "text",
"id": "redirect_decline",
"label": "Decline Message"
},
{
"type": "color",
"id": "redirect_bg_color",
"label": "Background Color"
},
{
"type": "color",
"id": "redirect_color",
"label": "Text Color"
},
{
"type": "color",
"id": "redirect_link_color",
"label": "Link Color"
},
{
"type": "color",
"id": "redirect_link_hover_color",
"label": "Link Hover Color"
}
]
}
0 Comments