Steps:
Go to --> /atg/registry/ContentRepositories component and remove the value in the initialRepositories property that references the /atg/commerce/gifts/Giftlist component.
Go to --> /atg/commerce/gifts/GiftlistTools component and set the giftlistRepository property to null.
Go to --> userProfile.xml file and remove properties that reference items in the Giftlists repository. The userProfile.xml file is located in the Commerce configuration layer. Remove the following tables.
1. dcs_user_wishlist
2. dcs_user_giftlist
3. dcs_user_otherlist
eg:
Remove below repository entries
<!-- key into private wishlist -->
<table name="dcs_user_wishlist" type="auxiliary"
id-column-name="user_id">
<property category="Commerce - Lists" name="wishlist"
item-type="gift-list"
repository="/atg/commerce/gifts/Giftlists"
column-name="giftlist_id"cascade="insert,update,delete"
display-name="Wish list"/>
</table>
<!-- key into user created giftlists -->
<table name="dcs_user_giftlist" type="multi"
id-column-name="user_id" multi-column-name="sequence_num">
<property category="Commerce - Lists" name="giftlists"
data-type="list" component-item-type="gift-list"
repository="/atg/commerce/gifts/Giftlists"
column-name="giftlist_id" display-name="Gift list"/>
</table>
<!-- key into giftlists found for other customers -->
<table name="dcs_user_otherlist" type="multi"
id-column-name="user_id" multi-column-name="sequence_num">
<property category="Commerce - Lists" name="otherGiftlists"
data-type="list" component-item-type="gift-list"
repository="/atg/commerce/gifts/Giftlists"
column-name="giftlist_id"
display-name="Other gift lists"/>
</table>
Go to --> updateGiftRepository and sendGiftPurchased processors from the commerce pipeline and Remove these processors . These processors are found in the processOrder pipeline chain. After these entries have been removed from the chain definition, create a link from the authorizePayment processor to the addOrderToRepository processor.
Thats it, Gift list has been disabled permanently in your application.
1 comment:
Bonus Codes 2021 - Casino Bonuses
Exclusive welcome bonus 슬롯사이트 for all new players: $500 in free spins on the first three deposits. netteller Up w88comlogin to $500. Free spins on a 12bet first deposit is awarded after 트 위치 룰렛
Post a Comment