[ 
https://issues.apache.org/jira/browse/OFBIZ-3894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901327#action_12901327
 ] 

Bruno Busco commented on OFBIZ-3894:
------------------------------------

How the productstore and the email templates are linked together is just 
something I was looking at.

I have found the "EmailTemplateSetting" entity defined in the framework common 
component and the "ProductStoreEmailSetting" defined in the product component.

The "ProductStoreEmailSetting" entity is a copy of the "EmailTemplateSetting" 
since many fields are duplicated and it is used for instance in the 
"sendCreatePartyEmailNotification" service to send an email to newly added 
parties while "sendMailFromTemplateSetting" should have been used.

As a result of all this we have that the party component (where the 
"sendCreatePartyEmailNotification" is defined) depends on the product component 
(where the "ProductStoreEmailSetting" is defined).

Could we think to reuse the "EmailTemplateSetting" instead of duplicating it in 
the "ProductStoreEmailSetting" and then having the services defined in party 
only use the "EmailTemplateSetting" so to avoid dependence on the product 
component ?

I am still looking at having only the party and content (and a better myportal) 
components distributed with the framework and this would help.
Any ideas?

> Refactor Ecommerce and Order
> ----------------------------
>
>                 Key: OFBIZ-3894
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3894
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order, specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>            Reporter: BJ Freeman
>            Priority: Minor
>             Fix For: SVN trunk
>
>   Original Estimate: 1344h
>  Remaining Estimate: 1344h
>
> with the addition of the Website for each component 
> 1) create product store for Order entry, or use the B2C product store.
> 2) move the email  widgets from ecommerce to order compontent.
> 3) modify the seed data so that Order entry has it own emails from order 
> component.this would be to add emails to 
> note: as I go through the different items  this is turning out to be a bigger 
> project than I first anticipated.
> so consider this so far just ideas.
> Maybe break down in to small tasks as I have time to do something.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to