Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/install/config.default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ ADD_S4OM=false
# config.opf.sh contains default values to use in your config.sh when ADD_OPF is true.
ADD_OPF=false
ADD_OPF_TOKENISATION=false
ADD_OPF_GIFT_CARD=false
ADD_CPQ_QUOTE=false
ADD_S4_SERVICE=false
ADD_PRODUCT_MULTI_DIMENSIONAL=false
Expand Down
4 changes: 4 additions & 0 deletions scripts/install/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ function add_opf {
if [[ "${ADD_OPF}" = true && "${ADD_OPF_TOKENISATION}" = true ]] ; then
ng add @spartacus/opf@${SPARTACUS_VERSION} --skip-confirmation --no-interactive --features "OPF-Tokenisation"
fi

if [[ "${ADD_OPF}" = true && "${ADD_OPF_GIFT_CARD}" = true ]] ; then
ng add @spartacus/opf@${SPARTACUS_VERSION} --skip-confirmation --no-interactive --features "OPF-Gift-Card"
fi
}

function add_punchout {
Expand Down
Loading