[In-Commerce] Main product list is displayed in all sideboxes on a page

3 views
Skip to first unread message

Alexander Obuhovich

unread,
Dec 23, 2011, 4:40:52 AM12/23/11
to In-Portal Bugs
To separate data in the lists displayed on the page "special" concept is used. Usually special can be specified like this <inp2:p.special_PrintList/> on a template.
However this approach isn't used for products and "list_name" parameter is specified instead of it like this <inp2:p_PrintList list_name="pick_products"/>. In this case special is generated based on passed tag parameters and always used, when given "list_name" is specified.

Since In-Portal 5.1.0 concept of main list was introduced. Main list is the list on a page, that has pagination/sorting controls. It's main list, because there can be only one such list on a page. But when you have multiple product lists on a page, then their data can be mixed into a single list, when tag <inp2:p_InitList list_name="products_in_category" main_list="1"/> on top of the page.



Ready for testing.
list_mixing_fix.patch

Phil -- wbtc.fr --

unread,
Dec 23, 2011, 4:51:05 AM12/23/11
to in-port...@googlegroups.com
great! (yes, I'm in-commerce fan :)

2011/12/23 Alexander Obuhovich <aik....@gmail.com>
--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Dmitry A.

unread,
Dec 23, 2011, 1:10:02 PM12/23/11
to in-port...@googlegroups.com
Nice catch!

Tested in 5.2.0-B1


DA
Reply all
Reply to author
Forward
0 new messages