clickandmortar/oro-platform-generic-address-bundle
address_line2, city, country) to be added dynamically via YAML/XML config. Supports validation rules (e.g., required fields, country-specific formats).candm_address and related entities. Schema migrations must be handled carefully to avoid conflicts with existing address tables (e.g., if OroCRM’s default CustomerAddress already exists).--force flag in oro:migration:data:load suggests potential data loss if not tested thoroughly. Pre-migration backups are critical.CustomerAddress, VendorAddress)? The bundle supports both but may require config tweaks.prefecture) or custom validation requirements? The bundle supports this via config but may need extension.autocomplete) and FOS JS Routing. If the frontend is React/Vue-based, the bundle’s Twig templates may need replacement or API exposure.CustomerAddress) to avoid conflicts.--force migrations.composer require "clickandmortar/oro-platform-generic-address-bundle:1.1.*"
fos_js_routing in config/packages/fos_js_routing.yaml:
fos_js_routing:
routes_to_expose: [..., candm_*]
php bin/console cache:clear
php bin/console fos:js-routing:dump
php bin/console doctrine:schema:update --force
php bin/console oro:entity-config:update --filter="ClickAndMortar*" --force
php bin/console oro:migration:data:load --bundles="ClickAndMortarGenericAddressBundle"
config/packages/oro_entity_config.yml):
oro_entity_config:
entity_definitions:
ClickAndMortar\GenericAddressBundle\Entity\Address:
label: Address
plural_label: Addresses
Address association to Customer).templates/ClickAndMortarGenericAddressBundle/address/_form.html.twig).4.2.* branch.1.1.* (default).1.0.* (deprecated; avoid unless necessary).symfony/ux).pdo_pgsql/pdo_mysql, intl, and xml (for Oro’s config system).Customer).composer.json to avoid unintended updates.php bin/console cache:clear --env=prod
How can I help you explore Laravel packages today?