Published on : May 22, 2020

URL : https://loantap.in/dummy-app/sample-ps.loan_cities

Service Description: Fetch the loan cities provided by the groups present in the product config e.g city_group_a

Input 1 :

template.products

Usage :

[product_services.get-taxonomy.loan_cities product="template.products" o.set=template.x /]

Logic :

Gets the array of list from sublan calc which gets the data from common meta.

[sublan_eligibility.loan_city o.merge_r_with=template.loan_cities /]

Label : Label of city

Value : slug of city

Return the cities array.

Sample Output :

  array(15) 
[
    0  =>  array(2) 
        [
            "label" => string(9) "Bangalore"
            "value" => string(9) "bangalore"
        ]
    1  =>  array(2) 
    2  =>  array(2) 
    3  =>  array(2) 
    4  =>  array(2) 
    5  =>  array(2) 
    6  =>  array(2) 
    7  =>  array(2) 
    8  =>  array(2) 
    9  =>  array(2) 
    10 =>  array(2) 
    11 =>  array(2) 
    12 =>  array(2) 
    13 =>  array(2) 
    14 =>  array(2) 
]