-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
158 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0"?> | ||
<object name="portal_actions" | ||
meta_type="Plone Actions Tool" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n"> | ||
|
||
<!-- remove entries --> | ||
<object name="object_buttons" meta_type="CMF Action Category"> | ||
<object name="enableBuyable" meta_type="CMF Action" remove="true" /> | ||
<object name="disableBuyable" meta_type="CMF Action" remove="true" /> | ||
<object name="enableVendor" meta_type="CMF Action" remove="true" /> | ||
<object name="disableVendor" meta_type="CMF Action" remove="true" /> | ||
</object> | ||
|
||
<object name="user" meta_type="CMF Action Category"> | ||
|
||
<!-- reset permissions --> | ||
<object name="dashboard" meta_type="CMF Action" i18n:domain="plone"> | ||
<property name="permissions"> | ||
<element value="Portlets: Manage own portlets" /> | ||
</property> | ||
</object> | ||
|
||
<object name="preferences" meta_type="CMF Action" i18n:domain="plone"> | ||
<property name="permissions"> | ||
<element value="View" /> | ||
</property> | ||
</object> | ||
|
||
<!-- remove --> | ||
<object name="information" meta_type="CMF Action" remove="true" /> | ||
|
||
</object> | ||
|
||
</object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0"?> | ||
<layers> | ||
<layer | ||
name="bda.plone.shop" | ||
interface="bda.plone.shop.interfaces.IShopExtensionLayer" | ||
remove="true" /> | ||
</layers> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0"?> | ||
<object name="portal_catalog" meta_type="Plone Catalog Tool"> | ||
<index name="item_buyable" meta_type="BooleanIndex" remove="true"> | ||
<indexed_attr value="item_buyable" /> | ||
</index> | ||
<column value="item_buyable" remove="true" /> | ||
<column value="item_net" remove="true" /> | ||
<column value="item_buyable_start" remove="true" /> | ||
<column value="item_buyable_end" remove="true" /> | ||
</object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0"?> | ||
<object | ||
name="portal_controlpanel" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
i18n:domain="bda.plone.shop" | ||
purge="False"> | ||
|
||
<configlet | ||
title="Shop settings" | ||
action_id="bdashop" | ||
appId="bda.plone.shop" | ||
category="Products" | ||
url_expr="string:${portal_url}/@@shop_controlpanel" | ||
icon_expr="string:shop" | ||
visible="True" | ||
i18n:attributes="title" | ||
remove="true"> | ||
<permission>Manage portal</permission> | ||
</configlet> | ||
|
||
</object> |
28 changes: 28 additions & 0 deletions
28
src/bda/plone/shop/profiles/uninstall/memberdata_properties.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0"?> | ||
<object name="portal_memberdata" meta_type="Plone Memberdata Tool"> | ||
|
||
<!-- 5.2 complains that it shouldn't be remove --> | ||
<!-- <property name="fullname" remove="True"></property> --> | ||
<!-- <property name="location" remove="True"></property> --> | ||
|
||
<property name="gender" type="string" remove="true"></property> | ||
<property name="firstname" type="string" remove="true"></property> | ||
<property name="lastname" type="string" remove="true"></property> | ||
<property name="phone" type="string" remove="true"></property> | ||
<property name="company" type="string" remove="true"></property> | ||
|
||
<property name="street" type="string" remove="true"></property> | ||
<property name="zip" type="string" remove="true"></property> | ||
<property name="city" type="string" remove="true"></property> | ||
<property name="country" type="string" remove="true"></property> | ||
|
||
<property name="delivery_alternative_delivery" type="boolean" remove="true"></property> | ||
<property name="delivery_firstname" type="string" remove="true"></property> | ||
<property name="delivery_lastname" type="string" remove="true"></property> | ||
<property name="delivery_company" type="string" remove="true"></property> | ||
<property name="delivery_street" type="string" remove="true"></property> | ||
<property name="delivery_zip" type="string" remove="true"></property> | ||
<property name="delivery_city" type="string" remove="true"></property> | ||
<property name="delivery_country" type="string" remove="true"></property> | ||
|
||
</object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0"?> | ||
<registry> | ||
|
||
<records prefix="plone.bundles/bda-plone-shop" interface='Products.CMFPlone.interfaces.IBundleRegistry' remove="true" /> | ||
<records interface="bda.plone.shop.interfaces.IShopSettings" prefix="plone.shop" remove="true" /> | ||
<records interface="bda.plone.shop.interfaces.IShopCartSettings" remove="true" /> | ||
<records interface="bda.plone.shop.interfaces.IShopArticleSettings" remove="true" /> | ||
<records interface="bda.plone.shop.interfaces.IShopShippingSettings" remove="true" /> | ||
<records interface="bda.plone.shop.interfaces.IShopTaxSettings" remove="true" /> | ||
<records interface="bda.plone.shop.interfaces.INotificationTextSettings" remove="true" /> | ||
<records interface="bda.plone.shop.interfaces.IInvoiceSettings" remove="true" /> | ||
<records interface="bda.plone.shop.interfaces.IPaymentTextSettings" remove="true" /> | ||
|
||
</registry> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters