HCL Commerce Enterprise

Enregistrement de nouvelles implémentations de commande dans le registre de commandes

Ajoutez une série d'entrées de registre de commande au magasin existant afin que les professionnels puissent créer des conditions tarifaires pour un contrat donné à l'aide de méthodes nouvelles ou existantes.

Les méthodes sont les suivantes :

  1. Dans le Management Center, créez une règle de tarification, puis attribuez-la à un contrat. Il s'agit de la nouvelle méthode prise en charge par HCL Commerce Version 7 Feature Pack 2.
  2. Créez des conditions tarifaires à l'aide d'une autre méthode, antérieure à HCL Commerce Version 7 Feature Pack 2. Par exemple, utilisez le filtre de catalogue HCL Commerce Accelerator dans le contrat pour spécifier les ajustements de prix pour certaines portions du catalogue ou pour la totalité du catalogue.

Pour une liste de conditions tarifaires nouvelles et existantes, voir Modalités du contrat.

Ces commandes permettent également au filtre de catalogue pris en charge dans le Management Center pour autorisation d'utiliser les produits d'être appliqué à tous les contrats.

Pourquoi et quand exécuter cette tâche

Cette tâche s'applique aux éléments suivants :
  • Magasins uniques (opposés aux magasins de site étendu)
  • Sites étendus

Les commandes que vous devez enregistrer dépendent du type de magasin. Utilisez le tableau suivant pour déterminer les commandes à enregistrer :

Type de magasin Instructions d'enregistrement des commandes
  • Magasins uniques (opposés aux magasins de site étendu)
  • Magasin de ressources de vitrine
Enregistrer les commandes de 1 à 16
  • Magasins de ressources catalogue
Enregistrer uniquement la commande 16.
  • Magasins de site étendu
N'enregistrer aucune commande. Les magasins de site étendu héritent ces commandes des magasins de ressources.

Procédure

  1. Exécutez les instructions SQL suivantes pour enregistrer les commandes. Dans chaque instruction, remplacez la variable STOREENT_ID par l'ID réel du magasin cible :

    Commande 1 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetContractUnitPriceCmd', 
    'com.ibm.commerce.price.commands.CatalogFilterGetContractUnitPriceCmdImpl');

    Commande 2 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetProductContractUnitPriceCmd', 
    'com.ibm.commerce.price.commands.CatalogFilterGetContractUnitPriceCmdImpl');

    Commande 3 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetContractSpecialPriceCmd', 
    'com.ibm.commerce.price.commands.CatalogFilterGetContractUnitPriceCmdImpl');

    Commande 4 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetContractUnitPriceCmd+AfterCatalogFilter', 
    'com.ibm.commerce.price.commands.CompositeGetContractUnitPriceCmdImpl');

    Commande 5 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetProductContractUnitPriceCmd+AfterCatalogFilter', 
    'com.ibm.commerce.price.commands.CompositeGetContractUnitPriceCmdImpl');

    Commande 6 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetContractSpecialPriceCmd+AfterCatalogFilter', 
    'com.ibm.commerce.price.commands.CompositeGetContractUnitPriceCmdImpl');

    Commande 7 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetContractUnitPriceCmd+AfterCompositeSecondary', 
    'com.ibm.commerce.price.commands.GetContractUnitPriceCmdImpl');

    Commande 8 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetProductContractUnitPriceCmd+AfterCompositeSecondary', 
    'com.ibm.commerce.price.commands.GetContractUnitPriceCmdImpl');

    Commande 9 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetContractSpecialPriceCmd+AfterCompositeSecondary', 
    'com.ibm.commerce.price.commands.GetContractUnitPriceCmdImpl');

    Commande 10 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetContractUnitPriceCmd+AfterCompositePrimary', 
    'com.ibm.commerce.price.commands.EnsureOffersExistGetContractUnitPriceCmdImpl');

    Commande 11 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetProductContractUnitPriceCmd+AfterCompositePrimary', 
    'com.ibm.commerce.price.commands.PriceRuleGetContractUnitPriceCmdImpl');

    Commande 12 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetContractSpecialPriceCmd+AfterCompositePrimary', 
    'com.ibm.commerce.price.commands.EnsureOffersExistGetContractUnitPriceCmdImpl');

    Commande 13 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetContractUnitPriceCmd+AfterEnsureOffersExist', 
    'com.ibm.commerce.price.commands.PriceRuleGetContractUnitPriceCmdImpl');

    Commande 14 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetContractSpecialPriceCmd+AfterEnsureOffersExist', 
    'com.ibm.commerce.price.commands.PriceRuleGetContractUnitPriceCmdImpl');

    Commande 15 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.commands.GetContractUnitPriceCmd+IBM_Store_CatalogEntrySearch', 
    'com.ibm.commerce.price.commands.CompositeGetContractUnitPriceCmdImpl');

    Commande 16 :

    INSERT INTO CMDREG (STOREENT_ID, INTERFACENAME, CLASSNAME) VALUES (STOREENT_ID, 
    'com.ibm.commerce.price.facade.server.commands.ComposePriceListCmd+IBM_PriceEntryDetailProfile', 
    'com.ibm.commerce.price.facade.server.commands.ComposePriceEntryDetailInExtendedPriceListCmdImpl');
  2. Redémarrez le serveur HCL Commerce pour que les modifications soient appliquées.
    Vous pouvez aussi utiliser la procédure Mise à jour des composants du registre, et sélectionner le composant Instructions Commerce.