When working with promotions and promo codes in the shopping cart, it seems not possible to remove _one_ specific promo code from the cart neither through the ShoppingCart and its helpers and services, nor through the ProductPromoWorker.
ShoppingCart has the method
{{addProductPromoCode(String productPromoCodeId, LocalDispatcher dispatcher)}}
but no method to remove the added PromoCode. Is there any other worker, service or event that can be called to do this? And if not, is there a specifc reason (maybe relating to promotions application rules) for not implementing this?
Current provided method of dealing with removal of promotions is a so called brute force approach where removing all and adding not to be removed promotions again.
jleroux:
* in ecommerce no needs to be authentified to be abble to remove a promo code
* I also added a French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1493512 13f79535-47bb-0310-9956-ffa450edef68
How to use Janrain Engage Social Login.
======================================
1.Get API Key from http://www.janrain.com/products/engage/social-login.
2.Configure file setting : ecommerce.properties you can put it
Example:
--------------------------------------------------------------------------------
# -- Enable janrain engage (Y/ N) default N
janrain.enabled=N
# -- Janrain api key (secret)
janrain.apiKey=exampleKey
# -- Janrain application domain
janrain.baseUrl=https://example.rpxnow.com
# -- Janrain application name
janrain.appName=exampleAppName
--------------------------------------------------------------------------------
3.Restart the server.
How to test Janrain Engage Social Login.
=======================================
1. Go to Login screen.
2. Look the Social Login Widget and you can use these existing accounts to sign-in to your website.
3. First time if account does not exists then system will create new account.
4. After account existing in the system you can use "Social Login Widget" to login account.
===================================================================================================