Skip to content

Instantly share code, notes, and snippets.

@Hendrikv1990
Last active January 18, 2016 17:47
Show Gist options
  • Save Hendrikv1990/2f5d993da992a1a93166 to your computer and use it in GitHub Desktop.
Save Hendrikv1990/2f5d993da992a1a93166 to your computer and use it in GitHub Desktop.
Example for Category Hierarchies
Prefilter by Product Brands:
This is the hierarchy of the search
=Adidas (brand)
==Adidas Original (subbrand)
===Air (subsubbrand)
===Casual
==Adidas Performance
===Running
===Climbing
After that it can be filtered by Categories:
=Shoes
==Winter
==Summer
=T-Shirts
==Basic
==Printed
Example for Auto:
=Audi (brand)
==A4 (model)
===Engine Type 2000cc (engine type)
Then all results from the above, can be filterd by categories.
=Engine
==Exhaust
===Pipe
We have to make a search for the HSN/TSN number (something like: 1004/ACL)
This one is connected to the brand / model / and engine type
> also automatically import the brands and childeren
> Create a seperate db table, import all the data from the scrape
> Search for hsn/tsn number in that table. Return the brand / model and engine type.
> Make an import function to adjust it / or scrape
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment