Product Bundles Configuration
Create product bundles with complex pricing, component relationships, and validation rules for advanced product offerings
Product Bundles Configuration
Create product bundles with complex pricing, component relationships, and validation rules for advanced product offerings
Anforderungen
Voraussetzungen
- Base products exist
- Bundle templates defined
- Pricing rules configured
SAP Commerce Version
Erforderliche Module
Metadaten
Geschäftsauswirkung
Enables complex product bundling and advanced pricing strategies
Parameter
tools.sapCommerceImpexLibrary.ui.parameterGuide
Impex Code
# Product Bundles Configuration
# Creates product bundles with complex pricing and component relationships
# Create bundle templates
INSERT_UPDATE ProductBundleTemplate;code[unique=true];name[lang=en];description[lang=en];catalogVersion(catalog(id),version)
;SMARTPHONE_BUNDLE_TEMPLATE;Smartphone Bundle Template;Template for smartphone bundles;electronics:Staged
;LAPTOP_BUNDLE_TEMPLATE;Laptop Bundle Template;Template for laptop bundles;electronics:Staged
;GAMING_BUNDLE_TEMPLATE;Gaming Bundle Template;Template for gaming bundles;electronics:Staged
;OFFICE_BUNDLE_TEMPLATE;Office Bundle Template;Template for office bundles;electronics:Staged
# Create bundle components
INSERT_UPDATE ProductBundleComponent;code[unique=true];name[lang=en];description[lang=en];catalogVersion(catalog(id),version)
;SMARTPHONE_MAIN;Smartphone Main Component;Main smartphone in bundle;electronics:Staged
;SMARTPHONE_CASE;Smartphone Case Component;Protective case component;electronics:Staged
;SMARTPHONE_CHARGER;Smartphone Charger Component;Charging cable component;electronics:Staged
;SMARTPHONE_SCREEN_PROTECTOR;Screen Protector Component;Screen protection component;electronics:Staged
;LAPTOP_MAIN;Laptop Main Component;Main laptop in bundle;electronics:Staged
;LAPTOP_MOUSE;Laptop Mouse Component;Wireless mouse component;electronics:Staged
;LAPTOP_BAG;Laptop Bag Component;Carrying bag component;electronics:Staged
;GAMING_HEADSET;Gaming Headset Component;Gaming headset component;electronics:Staged
;GAMING_MOUSE;Gaming Mouse Component;Gaming mouse component;electronics:Staged
;GAMING_KEYBOARD;Gaming Keyboard Component;Gaming keyboard component;electronics:Staged
# Create product bundles
INSERT_UPDATE ProductBundle;code[unique=true];name[lang=en];description[lang=en];catalogVersion(catalog(id),version);bundleTemplate(code);approvalStatus(code)
;SMARTPHONE_COMPLETE_BUNDLE;Smartphone Complete Bundle;Complete smartphone bundle with accessories;electronics:Staged;SMARTPHONE_BUNDLE_TEMPLATE;approved
;LAPTOP_PROFESSIONAL_BUNDLE;Laptop Professional Bundle;Professional laptop bundle;electronics:Staged;LAPTOP_BUNDLE_TEMPLATE;approved
;GAMING_ULTIMATE_BUNDLE;Gaming Ultimate Bundle;Ultimate gaming bundle;electronics:Staged;GAMING_BUNDLE_TEMPLATE;approved
;OFFICE_STARTER_BUNDLE;Office Starter Bundle;Office starter bundle;electronics:Staged;OFFICE_BUNDLE_TEMPLATE;approved
# Configure bundle component assignments
INSERT_UPDATE ProductBundleComponentAssignment;bundle(code,catalogVersion(catalog(id),version))[unique=true];component(code,catalogVersion(catalog(id),version))[unique=true];quantity;required;defaultSelected
;SMARTPHONE_COMPLETE_BUNDLE:electronics:Staged;SMARTPHONE_MAIN:electronics:Staged;1;true;true
;SMARTPHONE_COMPLETE_BUNDLE:electronics:Staged;SMARTPHONE_CASE:electronics:Staged;1;true;true
;SMARTPHONE_COMPLETE_BUNDLE:electronics:Staged;SMARTPHONE_CHARGER:electronics:Staged;1;true;true
;SMARTPHONE_COMPLETE_BUNDLE:electronics:Staged;SMARTPHONE_SCREEN_PROTECTOR:electronics:Staged;1;false;true
;LAPTOP_PROFESSIONAL_BUNDLE:electronics:Staged;LAPTOP_MAIN:electronics:Staged;1;true;true
;LAPTOP_PROFESSIONAL_BUNDLE:electronics:Staged;LAPTOP_MOUSE:electronics:Staged;1;false;true
;LAPTOP_PROFESSIONAL_BUNDLE:electronics:Staged;LAPTOP_BAG:electronics:Staged;1;false;true
;GAMING_ULTIMATE_BUNDLE:electronics:Staged;GAMING_HEADSET:electronics:Staged;1;true;true
;GAMING_ULTIMATE_BUNDLE:electronics:Staged;GAMING_MOUSE:electronics:Staged;1;true;true
;GAMING_ULTIMATE_BUNDLE:electronics:Staged;GAMING_KEYBOARD:electronics:Staged;1;true;true
# Create bundle pricing rules
INSERT_UPDATE ProductBundlePricingRule;code[unique=true];name[lang=en];description[lang=en];bundle(code,catalogVersion(catalog(id),version));pricingType(code);discountPercentage;active
;SMARTPHONE_BUNDLE_PRICING;Smartphone Bundle Pricing;Pricing rule for smartphone bundles;SMARTPHONE_COMPLETE_BUNDLE:electronics:Staged;PERCENTAGE_DISCOUNT;15;true
;LAPTOP_BUNDLE_PRICING;Laptop Bundle Pricing;Pricing rule for laptop bundles;LAPTOP_PROFESSIONAL_BUNDLE:electronics:Staged;PERCENTAGE_DISCOUNT;10;true
;GAMING_BUNDLE_PRICING;Gaming Bundle Pricing;Pricing rule for gaming bundles;GAMING_ULTIMATE_BUNDLE:electronics:Staged;PERCENTAGE_DISCOUNT;20;true
;OFFICE_BUNDLE_PRICING;Office Bundle Pricing;Pricing rule for office bundles;OFFICE_STARTER_BUNDLE:electronics:Staged;FIXED_DISCOUNT;50;true
# Create bundle availability rules
INSERT_UPDATE ProductBundleAvailabilityRule;code[unique=true];name[lang=en];description[lang=en];bundle(code,catalogVersion(catalog(id),version));active
;SMARTPHONE_BUNDLE_AVAILABILITY;Smartphone Bundle Availability;Availability rule for smartphone bundles;SMARTPHONE_COMPLETE_BUNDLE:electronics:Staged;true
;LAPTOP_BUNDLE_AVAILABILITY;Laptop Bundle Availability;Availability rule for laptop bundles;LAPTOP_PROFESSIONAL_BUNDLE:electronics:Staged;true
;GAMING_BUNDLE_AVAILABILITY;Gaming Bundle Availability;Availability rule for gaming bundles;GAMING_ULTIMATE_BUNDLE:electronics:Staged;true
;OFFICE_BUNDLE_AVAILABILITY;Office Bundle Availability;Availability rule for office bundles;OFFICE_STARTER_BUNDLE:electronics:Staged;true
# Create bundle validation rules
INSERT_UPDATE ProductBundleValidationRule;code[unique=true];name[lang=en];description[lang=en];bundle(code,catalogVersion(catalog(id),version));validationType(code);active
;SMARTPHONE_BUNDLE_VALIDATION;Smartphone Bundle Validation;Validation rule for smartphone bundles;SMARTPHONE_COMPLETE_BUNDLE:electronics:Staged;COMPONENT_COMPATIBILITY;true
;LAPTOP_BUNDLE_VALIDATION;Laptop Bundle Validation;Validation rule for laptop bundles;LAPTOP_PROFESSIONAL_BUNDLE:electronics:Staged;COMPONENT_COMPATIBILITY;true
;GAMING_BUNDLE_VALIDATION;Gaming Bundle Validation;Validation rule for gaming bundles;GAMING_ULTIMATE_BUNDLE:electronics:Staged;COMPONENT_COMPATIBILITY;true
;OFFICE_BUNDLE_VALIDATION;Office Bundle Validation;Validation rule for office bundles;OFFICE_STARTER_BUNDLE:electronics:Staged;COMPONENT_COMPATIBILITY;true
tools.sapCommerceImpexLibrary.ui.sections.relatedSnippets
SAP Commerce Impex-Snippets finden
Zugriff auf Unternehmensklasse SAP Commerce Impex-Snippet-Bibliothek mit professionellen Vorlagen. Finden Sie Lösungen für häufige Aufgaben, Datenimporte und Systemkonfiguration. Funktionen umfassen kategorisierte Snippets, Dokumentation und Best Practices.
Funktionen
- Umfassende Impex-Bibliothek mit 20+ vorgefertigten Snippets
- Snippet-Kategorien für alle wichtigen SAP Commerce-Bereiche
- Erweiterte Such- und Filterfunktionen
- Snippet-Vorschau und Parameter-Konfiguration
- Risikobewertung und Schwierigkeitsgrade
- SAP Commerce-Versionskompatibilität
- Modul-Anforderungsvalidierung
- In-Zwischenablage-kopieren-Funktionalität
- Favoriten und Nutzungsverlauf-Tracking
- Unternehmensklasse-Vorlagen und Beispiele
Anleitung
- Durchsuchen Sie Snippets nach Kategorie oder verwenden Sie die Suche für spezifische Funktionalität
- Vorschau der Snippet-Details einschließlich Parameter und Voraussetzungen
- Überprüfen Sie SAP Commerce-Versionskompatibilität und Modul-Anforderungen
- Konfigurieren Sie Snippet-Parameter für Ihre spezifische Umgebung
- Kopieren Sie Impex-Code in Ihr SAP Commerce HAC Import/Export-Tool
- Testen Sie in der Entwicklungsumgebung vor dem Produktionseinsatz
- Speichern Sie Favoriten-Snippets für schnellen Zugriff und Wiederverwendung
FAQ
Was ist SAP Commerce Impex?
Impex ist SAP Commerce's Datenimport-/Export-Framework, das CSV-ähnliche Syntax verwendet, um Commerce-Daten einschließlich Produkte, Kunden, Bestellungen und Systemkonfigurationen zu erstellen, zu aktualisieren und zu verwalten.
Sind diese Impex-Snippets sicher für die Produktion?
Alle Snippets enthalten Risikobewertungen und Voraussetzungen. Überprüfen Sie immer sorgfältig, testen Sie zuerst in der Entwicklung, stellen Sie ordnungsgemäße Backups sicher und validieren Sie Parameter vor dem Produktionseinsatz.
Kann ich die Snippets für meine spezifischen Bedürfnisse modifizieren?
Ja, Sie können jedes Snippet kopieren und nach Ihren Anforderungen modifizieren. Das Parameter-System ermöglicht eine einfache Anpassung des Snippet-Verhaltens und der Werte.
Welche SAP Commerce-Versionen werden unterstützt?
Snippets unterstützen mehrere SAP Commerce-Versionen von 6.7 bis 2211. Jedes Snippet zeigt kompatible Versionen und erforderliche Module für ordnungsgemäße Funktionalität.
Wie führe ich ein Impex-Snippet aus?
Kopieren Sie den Snippet-Code, fügen Sie ihn in das SAP Commerce HAC (Hybris Administration Console) Import/Export-Tool ein, konfigurieren Sie Parameter und führen Sie aus. Testen Sie immer zuerst mit Dry-Run.
Was sind die verschiedenen Risikostufen?
Risikostufen zeigen potenzielle Auswirkungen: Niedrig (sichere Operationen), Mittel (moderate Änderungen), Hoch (erhebliche Auswirkungen), Kritisch (große Systemänderungen, die sorgfältige Planung erfordern).