-
Notifications
You must be signed in to change notification settings - Fork 14
/
ext_typoscript_setup.txt
58 lines (52 loc) · 2.4 KB
/
ext_typoscript_setup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Mapping
# Note if more mappings are added, please add them to
# pxa_product_manager/Classes/Service/TypolinkBuilderService.php -> checkExtbaseMappings()
# function to, or else an exception may occur if first visit to site after a clear cache
# is a redirect with a Product or Category as target
config.tx_extbase {
persistence {
classes {
Pixelant\PxaProductManager\Domain\Model\Image {
mapping {
tableName = sys_file_reference
columns {
pxapm_type.mapOnProperty = type
}
}
}
Pixelant\PxaProductManager\Domain\Model\AttributeFile {
mapping {
tableName = sys_file_reference
columns {
pxa_attribute.mapOnProperty = attribute
}
}
}
Pixelant\PxaProductManager\Domain\Model\Category {
mapping {
tableName = sys_category
columns {
pxapm_products.mapOnProperty = products
pxapm_attributes_sets.mapOnProperty = attributesSets
pxapm_description.mapOnProperty = description
pxapm_image.mapOnProperty = image
pxapm_banner_image.mapOnProperty = bannerImage
pxapm_subcategories.mapOnProperty = subCategories
pxapm_tax_rate.mapOnProperty = taxRate
pxapm_content_page.mapOnProperty = contentPage
pxapm_content_colpos.mapOnProperty = contentColPos
pxapm_hidden_in_navigation.mapOnProperty = hiddenInNavigation
pxapm_hide_products.mapOnProperty = hideProducts
pxapm_hide_subcategories.mapOnProperty = hideSubCategories
pxapm_alternative_title.mapOnProperty = alternativeTitle
pxapm_meta_description.mapOnProperty = metaDescription
pxapm_keywords.mapOnProperty = keywords
}
}
}
}
}
}
# By default keep it disabled due to its huge effects on performance.
#module.tx_pxaproductmanager.persistence.updateReferenceIndex = 1
#plugin.tx_pxaproductmanager.persistence.updateReferenceIndex = 1