Hey guys,
I am building a plugin in which I use a CPT called “Serial” and using a Repeater Field name “serial number” for that CPT.
So I can create 1 CPT post like “Product A” and add several “serial number” like: A01NV, A02XY, A03XK
There are hundreds of CPT, each has dozen of serial numbers.
Now I want to build a form in front-end. If user enter a serial it will compare to ALL serial numbers, if exist will return Product name and Image.
Do you guys have a solution for this? I am thinking of using loop but worry about performance to check and comapre hundreds of serials…
Br,