Ecommerce - Generic Template Addition
------------------------------------- Key: OFBIZ-737 URL: https://issues.apache.org/jira/browse/OFBIZ-737 Project: OFBiz (The Open for Business Project) Issue Type: Improvement Components: ecommerce Affects Versions: SVN trunk Environment: CentOS Reporter: Ashish Vijaywargiya Priority: Trivial Attachments: GenericTemplateEcommerce.patch The section for custom links will go on the categorydetail page with it's own sub-screen for each "link", just like the sub-screen used for productsummary. These category links should go just above the product list, and should not show anything if there are no ProductCategoryLink records. The links should be ordered by the "sequenceNum" field. Each link should render the default category link sub-screen unless the "detailSubScreen" field on the ProductCategoryLink entity has a screen location#name in it, and then that one should be used. This is the override mechanism for the category links. The default sub-screen should be an FTL template that uses the following fields on the ProductCategoryLink entity: The linkTypeEnumId should point to a link type of "PCAT_LINK_TYPE". Right now there are only 2: PCLT_SEARCH_PARAM: do a product search so the linkInfo will only have the search parameters in it, to be appended to the request-map uri for the search results request PCLT_ABS_URL: this would represent an absolute URL that can just go directly into the href attribute Regards Ashish Vijaywargiya Aditisoft Technology Laboratory http://www.adititechlabs.com -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Vijaywargiya updated OFBIZ-737: -------------------------------------- Attachment: GenericTemplateEcommerce.patch > Ecommerce - Generic Template Addition > ------------------------------------- > > Key: OFBIZ-737 > URL: https://issues.apache.org/jira/browse/OFBIZ-737 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: ecommerce > Affects Versions: SVN trunk > Environment: CentOS > Reporter: Ashish Vijaywargiya > Priority: Trivial > Attachments: GenericTemplateEcommerce.patch > > > The section for custom links will go on the categorydetail page with it's own sub-screen for each "link", just like the sub-screen used for productsummary. > These category links should go just above the product list, and should not show anything if there are no ProductCategoryLink records. > The links should be ordered by the "sequenceNum" field. > Each link should render the default category link sub-screen unless the "detailSubScreen" field on the ProductCategoryLink entity has a screen location#name in it, and then that one should be used. This is the override mechanism for the category links. > The default sub-screen should be an FTL template that uses the following fields on the ProductCategoryLink entity: > The linkTypeEnumId should point to a link type of "PCAT_LINK_TYPE". Right now there are only 2: > PCLT_SEARCH_PARAM: do a product search so the linkInfo will only have the search parameters in it, to be appended to the request-map uri for the search results request > PCLT_ABS_URL: this would represent an absolute URL that can just go directly into the href attribute > Regards > Ashish Vijaywargiya > Aditisoft Technology Laboratory > http://www.adititechlabs.com -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474017 ] Jacques Le Roux commented on OFBIZ-737: --------------------------------------- Hi Ashish, Have you any seed data for this (to demonstrate) ? > Ecommerce - Generic Template Addition > ------------------------------------- > > Key: OFBIZ-737 > URL: https://issues.apache.org/jira/browse/OFBIZ-737 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: ecommerce > Affects Versions: SVN trunk > Environment: CentOS > Reporter: Ashish Vijaywargiya > Priority: Trivial > Attachments: GenericTemplateEcommerce.patch > > > The section for custom links will go on the categorydetail page with it's own sub-screen for each "link", just like the sub-screen used for productsummary. > These category links should go just above the product list, and should not show anything if there are no ProductCategoryLink records. > The links should be ordered by the "sequenceNum" field. > Each link should render the default category link sub-screen unless the "detailSubScreen" field on the ProductCategoryLink entity has a screen location#name in it, and then that one should be used. This is the override mechanism for the category links. > The default sub-screen should be an FTL template that uses the following fields on the ProductCategoryLink entity: > The linkTypeEnumId should point to a link type of "PCAT_LINK_TYPE". Right now there are only 2: > PCLT_SEARCH_PARAM: do a product search so the linkInfo will only have the search parameters in it, to be appended to the request-map uri for the search results request > PCLT_ABS_URL: this would represent an absolute URL that can just go directly into the href attribute > Regards > Ashish Vijaywargiya > Aditisoft Technology Laboratory > http://www.adititechlabs.com -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David E. Jones reassigned OFBIZ-737: ------------------------------------ Assignee: David E. Jones > Ecommerce - Generic Template Addition > ------------------------------------- > > Key: OFBIZ-737 > URL: https://issues.apache.org/jira/browse/OFBIZ-737 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: ecommerce > Affects Versions: SVN trunk > Environment: CentOS > Reporter: Ashish Vijaywargiya > Assigned To: David E. Jones > Priority: Trivial > Attachments: GenericTemplateEcommerce.patch > > > The section for custom links will go on the categorydetail page with it's own sub-screen for each "link", just like the sub-screen used for productsummary. > These category links should go just above the product list, and should not show anything if there are no ProductCategoryLink records. > The links should be ordered by the "sequenceNum" field. > Each link should render the default category link sub-screen unless the "detailSubScreen" field on the ProductCategoryLink entity has a screen location#name in it, and then that one should be used. This is the override mechanism for the category links. > The default sub-screen should be an FTL template that uses the following fields on the ProductCategoryLink entity: > The linkTypeEnumId should point to a link type of "PCAT_LINK_TYPE". Right now there are only 2: > PCLT_SEARCH_PARAM: do a product search so the linkInfo will only have the search parameters in it, to be appended to the request-map uri for the search results request > PCLT_ABS_URL: this would represent an absolute URL that can just go directly into the href attribute > Regards > Ashish Vijaywargiya > Aditisoft Technology Laboratory > http://www.adititechlabs.com -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474138 ] David E. Jones commented on OFBIZ-737: -------------------------------------- This was committed in SVN rev 509167. > Ecommerce - Generic Template Addition > ------------------------------------- > > Key: OFBIZ-737 > URL: https://issues.apache.org/jira/browse/OFBIZ-737 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: ecommerce > Affects Versions: SVN trunk > Environment: CentOS > Reporter: Ashish Vijaywargiya > Assigned To: David E. Jones > Priority: Trivial > Fix For: SVN trunk > > Attachments: GenericTemplateEcommerce.patch > > > The section for custom links will go on the categorydetail page with it's own sub-screen for each "link", just like the sub-screen used for productsummary. > These category links should go just above the product list, and should not show anything if there are no ProductCategoryLink records. > The links should be ordered by the "sequenceNum" field. > Each link should render the default category link sub-screen unless the "detailSubScreen" field on the ProductCategoryLink entity has a screen location#name in it, and then that one should be used. This is the override mechanism for the category links. > The default sub-screen should be an FTL template that uses the following fields on the ProductCategoryLink entity: > The linkTypeEnumId should point to a link type of "PCAT_LINK_TYPE". Right now there are only 2: > PCLT_SEARCH_PARAM: do a product search so the linkInfo will only have the search parameters in it, to be appended to the request-map uri for the search results request > PCLT_ABS_URL: this would represent an absolute URL that can just go directly into the href attribute > Regards > Ashish Vijaywargiya > Aditisoft Technology Laboratory > http://www.adititechlabs.com -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David E. Jones closed OFBIZ-737. -------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Thanks Ashish, this was a good start. I did a fair number of cleanups and additions to this, and also added some demo data to test/etc. > Ecommerce - Generic Template Addition > ------------------------------------- > > Key: OFBIZ-737 > URL: https://issues.apache.org/jira/browse/OFBIZ-737 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: ecommerce > Affects Versions: SVN trunk > Environment: CentOS > Reporter: Ashish Vijaywargiya > Assigned To: David E. Jones > Priority: Trivial > Fix For: SVN trunk > > Attachments: GenericTemplateEcommerce.patch > > > The section for custom links will go on the categorydetail page with it's own sub-screen for each "link", just like the sub-screen used for productsummary. > These category links should go just above the product list, and should not show anything if there are no ProductCategoryLink records. > The links should be ordered by the "sequenceNum" field. > Each link should render the default category link sub-screen unless the "detailSubScreen" field on the ProductCategoryLink entity has a screen location#name in it, and then that one should be used. This is the override mechanism for the category links. > The default sub-screen should be an FTL template that uses the following fields on the ProductCategoryLink entity: > The linkTypeEnumId should point to a link type of "PCAT_LINK_TYPE". Right now there are only 2: > PCLT_SEARCH_PARAM: do a product search so the linkInfo will only have the search parameters in it, to be appended to the request-map uri for the search results request > PCLT_ABS_URL: this would represent an absolute URL that can just go directly into the href attribute > Regards > Ashish Vijaywargiya > Aditisoft Technology Laboratory > http://www.adititechlabs.com -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |