Given a single data field that contains multiple attributes joined together, Searchspring has the ability to extract this into individual fields to be used for in your Field Settings. However, your data entry must follow a consistent Pattern. Consider the example below:
CPU:3GHz|RAM:6GB|Cores:4|Case:Micro|Lifestyle:Gaming|Series:Aspire|Form Factor:Tower|CPU Brand:Intel|HD Size:2TB|Memory Speed:DDR4|OS:Mac
From this one data field assignment from your feed, we then split each pairing and define a new field based on the first part of the Pattern:
- product_specs_cpu => 3GHz
- product_specs_ram => 6GB
- product_specs_cores => 4
- product_specs_lifestyle => Gaming
- product_specs_series => Aspire
- product_specs_form_factor => Tower
- product_specs_cpu_brand => Intel
- product_specs_hd_size => 2TB
- product_specs_memory_speed => DDR4
- product_specs_os => Mac
You are not required to use Name:Value|Name:Value|Name:Value
as the Pattern from the example above; you may use any separating characters here as long as your Pattern is consistent. For example, this would also be valid: CPU = 3GHz##RAM = 6GB##Cores = 4##Case = Micro##Lifestyle = Gaming
To define which Attribute Names Searchspring extracts from this Pattern, we can either hardcode the Field List definition for you, or you can send us a Hosted URL to a TXT file which defines your Field Names, one name per line: Example - we recommend providing us this TXT file as you'll then have full control for future updates to this definition versus Searchspring Support needing to modify the hardcoded definition for you.
Comments
0 comments
Article is closed for comments.