- Resolve JSHint errors and warnings. [thet]
- Fix cart item not removable, if comment is required. Fixes #17, fixes #12. [thet]
- Remove portlet's cartWrapper div node. It's not used at all and only introduces non-standard portlet HTML markup. [thet]
- By default, cart viewlet is hidden and gets displayed as soon as cart items are fetched. [rnix]
- Consider
hide cart if empty
setting on cart viewlet. [rnix] - Hide unset preview images for cart item. [rnix]
- Cart can display status message if cart data gets modified. [rnix]
- Cart might be rendered as viewlet in portal header instead of as portlet. [rnix]
- Do not expect
IShippingItem
to be implemented. See alsohttps://github.com/bluedynamics/bda.plone.shop/issues/31
[jensens] - No caching/merging of cart.translations.js [agitator]
- Quote/Unqote special characters in cart cookie only for cart item comment. Thus we can have any characters in comment. "Invalid comment characters" validation and error message no longer necessary. [rnix]
- Use
decodeURIComponent
instead of deprectaedunescape
incart.js
. [rnix] - Catch
ValueError
if given uid value is no validuuid.UUID
string inget_catalog_brain
. [rnix] - Let
get_catalog_brain
and thusget_object_by_uid
handleuuid.UUID
objects, hex strings like '8de81513431752d5f32c680db93dda0c' and UUID object representation strings like '8de81513-4317-52d5-f32c-680db93dda0c'. [thet] - Encode umlaut characters in cart item comment. [rnix]
- Add comment label in cart summary template. [rnix]
- Hide discount and shipping info in cart via JS if data changed respective. [rnix]
- Remove
include_shipping_costs
property fromCartView
. [rnix] - Always deliver shipping markup for cart, control with JS whether shipping costs are displayed. [rnix]
- Move
bda.plone.cart.browser.CURRENCY_LITERALS
tobda.plone.cart.CURRENCY_LITERALS
. [rnix] - Add
ICartDataProvider.max_artice_count
attribute and implement inCartDataProviderBase
. [rnix] - Add
bda.plone.cart.cart_item_shippable
utility. [rnix] - Implement
ICartDataProvider.include_shipping_costs
onCartDataProviderBase
usingbda.plone.shipping.interfaces.IShippingItem.shipping
flag for calculation. [rnix] - Add
ICartDataProvider.total
attribute and implement inCartDataProviderBase
. [rnix] - Use
readcookie
instead of expectingitems
request parameter inCartDataProviderBase.data
. [rnix] - Do not pass recent cart
items
parameter to@@cartData
view, contained value is included ascart
cookie anyways. [rnix] - Adopt shipping handling to
bda.plone.shipping
>= 0.4. [rnix] CartDataProviderBase
no longer provides default values forcurrency
,cart_url
,show_to_cart
,show_checkout
andshow_currency
. [rnix]- Add browser view rendering a JS snippet for Cart JS translations. Cart translations are now handled via message catalogs. [rnix]
- Fix validation of comment characters in cart JS. [rnix]
- Add a title property to the
ICartItemDataProvider
accessor interface to allow customizations of the cart item title. This can be used to give more context on the cart item, e.g. for a buyable within another content item. [thet]
- Cart validation considers
update
flag on error. [rnix] - Introduce
remove_item_from_cart
utility function. [rnix] validate_set
ofCartDataProviderBase
raisesNotImplementedError
. [rnix]- Hanlde
article_limit_reached
message on server side. [rnix] - Extend
bda.plone.cart.interfaces.ICartItemDataProvider
bycart_count_limit
. [rnix] - Fix and refactor max article count for cart. [rnix]
- Add
hide_cart_if_empty
property tobda.plone.cart.interfaces.ICartDataProvider
, integrate inbda.plone.cart.CartDataProviderBase
and consider in Cart JS. [rnix] - Add
display
property tobda.plone.cart.interfaces.ICartItemStock
and and expose it viabda.plone.cart.CartItemAvailabilityBase
[rnix] - Add
bda.plone.cart.CartItemDataProviderBase
class. [rnix] - Extend
bda.plone.cart.interfaces.ICartItemDataProvider
bydiscount_enabled
anddiscount_net
. [rnix] - Introduce
bda.plone.cart.interfaces.ICartDiscount
. [rnix] - Introduce
bda.plone.cart.interfaces.ICartItemDiscount
. [rnix] - Fix BrowserLayer order precedence. [thet]
- Add
get_item_delivery
helper function for looking upIItemDelivery
adapter. [rnix]
- Introduce
bda.plone.cart.interfaces.ICartItemState
. [rnix] - Introduce
bda.plone.cart.interfaces.ICartItemAvailability
. [rnix] - Introduce
bda.plone.cart.interfaces.ICartItemStock
. [rnix] - Allow the cart portlet in the left column too. [fRiSi]
- Add adapter for cart item preview images [petschki]
- initial work [rnix]