ilscipio/scipio-erp

View on GitHub
applications/product/config/catalog.properties

Summary

Maintainability
Test Coverage
###############################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
###############################################################################

# ==== Catalog Application Properties ====


# -- Image upload path on the server
image.server.path=${sys:getProperty('ofbiz.home')}/framework/images/webapp/images/${tenantId}

# -- The prefix to put on auto-generated image urls (can be relative or absolute, whatever you want)
image.url.prefix=/images/${tenantId}
image.filename.format=${location}/${id}/${type}
image.filename.additionalviewsize.format=${location}/${id}/${viewtype}/${sizetype}

# -- Which default top category to display... --
top.category.default=CATALOG1
all.product.category=CATALOG1

# Flag to re-active products when they are received
reactivate.product.from.receipt=Y

# Image upload path on the image management
image.management.path=${sys:getProperty('ofbiz.home')}/framework/images/webapp/images/products/management
image.management.url=/images/products/management
image.management.nameofthumbnail=-100
image.management.autoApproveImage=Y
image.management.multipleApproval=N

# Automatic product price currency conversion
convertProductPriceCurrency=false

# SCIPIO: Options for product/category simple text content fields display
# - see @catalogStcLocFields ftl directive and GetCatalogLocFieldsInfo.groovy.
# expandCountries=true gives precise localeString selection, but is very verbose.
catalogLocFieldsInfo.general.localeOpts.expandCountries=false

# SCIPIO: 2018-01: default product page link, now configurable (TODO: configurable param names)
shop.default.link.product.uri=/shop/control/product
shop.default.link.product.prefix=/shop/control/product?product_id=
shop.default.link.category.uri=/shop/control/category
shop.default.link.category.prefix=/shop/control/category?category_id=

# SCIPIO: If set to "default", if an order (OrderHeader) - or any other record used as source data for an email -
# was created without a webSiteId stored with it, meaning only a productStoreId was recorded,
# notification emails will attempt to look up the default WebSite for the order's ProductStore;
# if "never", orders without a webSiteId recorded will not be able to send any emails;
# if "always" (used mainly for testing), the stored orderId is ignored and the default WebSite is always used for these emails. 
# FIXME: Not all possible emails are currently honoring this setting!
# NOTE: The default WebSite is considered to be the one linked to the store that is marked isStoreDefault="Y"
# or, if the store only has one website, its one website.
store.email.useStoreDefaultWebSite=default

# SCIPIO: ProductImageLocationInfo factory for client overrides
product.image.location.info.factory=com.ilscipio.scipio.product.image.ProductImageLocationInfo$Factory
# SCIPIO: CategoryImageLocationInfo factory for client overrides
category.image.location.info.factory=com.ilscipio.scipio.category.image.CategoryImageLocationInfo$Factory