<commit_before><configure xmlns="http://namespaces.zope.org/zope"
           xmlns:five="http://namespaces.zope.org/five"
           xmlns:plone="http://namespaces.plone.org/plone"
           xmlns:zcml="http://namespaces.zope.org/zcml"
           xmlns:i18n="http://namespaces.zope.org/i18n"
           i18n_domain="bda.plone.shop">

  <i18n:registerTranslations directory="locales" />

  <!--
    Set this interface on desired content class in order to enable content
    action turning object into buyable.
  -->
  <!--
  <class zcml:condition="installed Products.Archetypes"
         class="Products.Archetypes.BaseObject.BaseObject">
    <implements interface="bda.plone.shop.interfaces.IPotentiallyBuyable" />
  </class>
  -->
  <!--
    Set this interface on desired content class in order to turn object
    into buyable directly.
  -->
  <!--
  <class zcml:condition="installed Products.Archetypes"
         class="Products.Archetypes.BaseObject.BaseObject">
    <implements interface="bda.plone.shop.interfaces.IBuyable" />
  </class>
  -->

  <include package="collective.z3cform.datagridfield" />
  <include package="plone.app.registry" />
  <include package="archetypes.schemaextender" />
  <include package="plone.behavior" file="meta.zcml"
           zcml:condition="installed plone.dexterity" />
  <include package="bda.plone.orders" />

  <include file="permissions.zcml" />
  <include file="profiles.zcml" />
  <include file="vocabularies.zcml" />

  <include package=".browser" />
  <include package=".user" />
  <include package=".upgrades" />

  <!-- indexing -->
  <adapter
    name="item_buyable"
    factory=".indexer.item_buyable" />

  <!-- checkout settings -->
  <adapter factory=".checkout.CheckoutSettings" />

  <!-- payment settings -->
  <adapter factory=".payment.PaymentSettings" />
  <adapter factory=".payment.CashOnDeliverySettings" />

  <!-- shipping settings -->
  <adapter factory=".shipping.ShippingSettings" />

  <!-- default shipping -->
  <adapter name="default_shipping" factory=".shipping.DefaultShipping" />

  <!-- cash and carry shipping -->
  <adapter name="cash_and_carry" factory=".shipping.CashAndCarryShipping" />

  <!-- flat rate shipping (B/C, default shipping offers same functionality) -->
  <adapter name="flat_rate" factory=".shipping.FlatRate" />

  <!-- cart related adapters -->
  <adapter factory=".cartdata.CartDataProvider" />
  <adapter factory=".cartdata.CartItemState" />

  <!-- notification settings adapter -->
  <adapter factory=".mailnotify.NotificationSettings" />

  <!-- notification text adapter -->
  <adapter factory=".mailnotify.BubbleItemNotificationText" />
  <adapter factory=".mailnotify.RegistryItemNotificationText" />
  <adapter factory=".mailnotify.BubbleGlobalNotificationText" />
  <adapter factory=".mailnotify.RegistryGlobalNotificationText" />
  <adapter factory=".mailnotify.RegistryPaymentText" />

  <!-- AT Extenders -->
  <adapter
    zcml:condition="installed Products.Archetypes"
    name="bda.plone.shop.buyable"
    factory=".at.BuyableExtender"
    provides="archetypes.schemaextender.interfaces.IOrderableSchemaExtender" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_net"
    factory=".at.default_item_net" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_vat"
    factory=".at.default_item_vat" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_display_gross"
    factory=".at.default_item_display_gross" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_comment_enabled"
    factory=".at.item_comment_enabled" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_comment_required"
    factory=".at.default_item_comment_required" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_quantity_unit_float"
    factory=".at.default_item_quantity_unit_float" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_quantity_unit"
    factory=".at.default_item_quantity_unit" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="bda.plone.shop.stock"
    factory=".at.StockExtender"
    provides="archetypes.schemaextender.interfaces.IOrderableSchemaExtender" /><commit_msg>register IFieldDefaultProvider for item_cart_count_limit as adapter<commit_after><configure xmlns="http://namespaces.zope.org/zope"
           xmlns:five="http://namespaces.zope.org/five"
           xmlns:plone="http://namespaces.plone.org/plone"
           xmlns:zcml="http://namespaces.zope.org/zcml"
           xmlns:i18n="http://namespaces.zope.org/i18n"
           i18n_domain="bda.plone.shop">

  <i18n:registerTranslations directory="locales" />

  <!--
    Set this interface on desired content class in order to enable content
    action turning object into buyable.
  -->
  <!--
  <class zcml:condition="installed Products.Archetypes"
         class="Products.Archetypes.BaseObject.BaseObject">
    <implements interface="bda.plone.shop.interfaces.IPotentiallyBuyable" />
  </class>
  -->
  <!--
    Set this interface on desired content class in order to turn object
    into buyable directly.
  -->
  <!--
  <class zcml:condition="installed Products.Archetypes"
         class="Products.Archetypes.BaseObject.BaseObject">
    <implements interface="bda.plone.shop.interfaces.IBuyable" />
  </class>
  -->

  <include package="collective.z3cform.datagridfield" />
  <include package="plone.app.registry" />
  <include package="archetypes.schemaextender" />
  <include package="plone.behavior" file="meta.zcml"
           zcml:condition="installed plone.dexterity" />
  <include package="bda.plone.orders" />

  <include file="permissions.zcml" />
  <include file="profiles.zcml" />
  <include file="vocabularies.zcml" />

  <include package=".browser" />
  <include package=".user" />
  <include package=".upgrades" />

  <!-- indexing -->
  <adapter
    name="item_buyable"
    factory=".indexer.item_buyable" />

  <!-- checkout settings -->
  <adapter factory=".checkout.CheckoutSettings" />

  <!-- payment settings -->
  <adapter factory=".payment.PaymentSettings" />
  <adapter factory=".payment.CashOnDeliverySettings" />

  <!-- shipping settings -->
  <adapter factory=".shipping.ShippingSettings" />

  <!-- default shipping -->
  <adapter name="default_shipping" factory=".shipping.DefaultShipping" />

  <!-- cash and carry shipping -->
  <adapter name="cash_and_carry" factory=".shipping.CashAndCarryShipping" />

  <!-- flat rate shipping (B/C, default shipping offers same functionality) -->
  <adapter name="flat_rate" factory=".shipping.FlatRate" />

  <!-- cart related adapters -->
  <adapter factory=".cartdata.CartDataProvider" />
  <adapter factory=".cartdata.CartItemState" />

  <!-- notification settings adapter -->
  <adapter factory=".mailnotify.NotificationSettings" />

  <!-- notification text adapter -->
  <adapter factory=".mailnotify.BubbleItemNotificationText" />
  <adapter factory=".mailnotify.RegistryItemNotificationText" />
  <adapter factory=".mailnotify.BubbleGlobalNotificationText" />
  <adapter factory=".mailnotify.RegistryGlobalNotificationText" />
  <adapter factory=".mailnotify.RegistryPaymentText" />

  <!-- AT Extenders -->
  <adapter
    zcml:condition="installed Products.Archetypes"
    name="bda.plone.shop.buyable"
    factory=".at.BuyableExtender"
    provides="archetypes.schemaextender.interfaces.IOrderableSchemaExtender" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_net"
    factory=".at.default_item_net" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_vat"
    factory=".at.default_item_vat" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_display_gross"
    factory=".at.default_item_display_gross" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_comment_enabled"
    factory=".at.item_comment_enabled" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_comment_required"
    factory=".at.default_item_comment_required" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_quantity_unit_float"
    factory=".at.default_item_quantity_unit_float" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_cart_count_limit"
    factory=".at.default_item_cart_count_limit" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="item_quantity_unit"
    factory=".at.default_item_quantity_unit" />

  <adapter
    zcml:condition="installed Products.Archetypes"
    name="bda.plone.shop.stock"
    factory=".at.StockExtender"
    provides="archetypes.schemaextender.interfaces.IOrderableSchemaExtender" />
{'fraction_non_alphanumeric': 0.1423229461756374, 'fraction_numerical': 0.0020396600566572236, 'mean_word_length': 3.961214165261383, 'pattern_counts': {'":': 0, '<': 122, '<?xml version=': 0, '>': 122, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4803196', 'n_tokens_mistral': 2836, 'n_tokens_neox': 2626, 'n_words': 402}