You are here:  » Map a category tree


Map a category tree

Submitted by affinity-group on Thu, 2018-10-04 15:00 in

Hi there,

What's the best way in price tapestry to easily map a category tree structure?

The separator in the category path is very random, it can be one of (for example) the following formats:

Main category > SubCategory -> SubSubCategory
Main category | SubCategory | SubSubCategory
Main category,SubCategory,SubSubCategory

I can't really match on the 'SubSubCategory' because it may live in different parent categories, for example SubSubCategory 'cables' may live in SubCategory 'Internet' and 'Telecom'.

Hope I explained the issue clearly, let me know if there's any questions.

Thanks in advance!

Submitted by support on Fri, 2018-10-05 09:16

Hi,

At import time the separator characters would be stripped by normalisation so all should be imported as;

Main category SubCategory SubSubCategory

...which should be suitable for mapping as either basic Category Mapping (which change the actual `category` value as imported), or for Category Hierarchy Mapping, so if you're not seeing the above for mapping, what are the example values that are being imported as this may have been affected by previous mods - I know you have been using the script for some time now? If using Category Hierarchy Mapping you can look at the actual feed values using Tools > Feed Utilities > Imported Analysis)...

Cheers,
David.
--
PriceTapestry.com

Submitted by affinity-group on Mon, 2018-10-15 08:25

Hi David,

Thanks a lot for your reply.

Indeed we've been using Price Tapestry for quite some while now and we're planning on updating it to the newest version.

In the past you have provided us with an extension so custom fields could also be mapped, unfortunately I can't find the extension anymore on your forum.

Any chance you can provide this extension again, or point me in the right direction?

Once again thanks for your time.

Cheers,

Submitted by support on Mon, 2018-10-15 09:16

Hi,

I've just forward the extension / mod again for you...

Cheers,
David.
--
PriceTapestry.com