[TYPO3-commerce] Show all products of all categories

Ingo Schmitt is at marketing-factory.de
Mon Aug 16 06:57:39 CEST 2010


Hi Franz,

in the latest Forge Version you can display all products below one category. Also, the latest forge versions includes a complete documentation.

Best regards

Ingo
> Hi Georg,
> 
> I finally found the mistake: It is a bug, which still seems to be in the latest 
> 0.9.* version:
> 
> In line 452 of class.tx_commerce_pibase.php (latest 0.9.* version) you find the 
> following code:
> $tmpCategory=$this->cObj->substituteSubpart($tmpCategory,'###CATEGORY_ITEM_PRODUCTLIST###',
> $productList);
> But it should be
> $tmpCategory=$this->cObj->substituteMarker($tmpCategory,'###CATEGORY_ITEM_PRODUCTLIST###',
> $productList);
> Note "Marker" instead of "Subpart".
> I think this i a known bug, thus it does no more exist in the 0.11.* branch.
> 
> Thanks again for your help.
> 
> Greetings
> 
> Franz
> 
> 
> franzlst at yahoo.de
> http://www.roboshow.de
> http://www.jsg-abi2008.de
> http://www.kalender.jsg-abi2008.de
> 
> 
> 
> ----- Ursprüngliche Mail ----
>> Von: Georg Schönweger <georg.schoenweger at gmail.com>
>> An: TYPO3 commerce extension project <typo3-project-commerce at lists.typo3.org>
>> Gesendet: Sonntag, den 15. August 2010, 17:54:40 Uhr
>> Betreff: Re: [TYPO3-commerce] Show all products of all categories
>> 
>> hm then you can try to debug this by watching the source  code
>> .../ext/commerce/lib/class.tx_commerce_pibase.php in  "function
>> makeListView" around line 468 ... there is the logic for doing  this.
>> 
>> regards,
>> Georg
>> 
>> Am 15.08.2010 17:09, schrieb Franz  Steinmetz:
>>> Hi Georg,
>>> 
>>> thanks for this hint. I tried it  but it didn't work. I also can't find a 
>>> documentation of it.
>>> I  also had a short view in the source code but couldn't find any mistake. 
>> The 
>> 
>>> responsible lines have hardly changed to now. It cannot be a problem  with 
>> the 
>> 
>>> template, because I use the default template here for testing.  The values 
>> are 
>> 
>>> set correctly the TypoScript Object Browser  says.
>>> 
>>> Greetings
>>> 
>>> Franz  Steinmetz
>>> 
>>> 
>>> franzlst at yahoo.de
>>> http://www.roboshow.de
>>> http://www.jsg-abi2008.de
>>> http://www.kalender.jsg-abi2008.de
>>> 
>>> 
>>> 
>>> -----  Ursprüngliche Mail ----
>>> 
>>>> Von: Georg Schönweger <georg.schoenweger at gmail.com>
>>>> An: TYPO3 commerce extension project 
>> <typo3-project-commerce at lists.typo3.org>
>>>> Gesendet: Sonntag, den 15. August 2010, 15:12:47 Uhr
>>>> Betreff: Re:  [TYPO3-commerce] Show all products of all  categories
>>>> 
>>>> 
>>>> I think it's not possible to  select more than one category for  product
>>>> listing.
>>>> But you can show products of the subcategories, we are  using this  as
>>>> well. You can do this by setting this in your   TS-Setup:
>>>> plugin.tx_commerce_pi1.groupProductsByCategory=1
>>>> plugin.tx_commerce_pi1.hideProductsInList=0
>>>> plugin.tx_commerce_pi1.numberProductsInSubCategory  = how many  products
>>>> you want to show per subcategory..
>>>> 
>>>> If you want to  show products which are deeper in the three structure  i
>>>> think you have to  program this by your  own.
>>>> 
>>>> greetings,
>>>> Georg
>>>> 
>>>> Am 15.08.2010 13:34,  schrieb Franz  Steinmetz:
>>>> 
>>>>> Hey,
>>>>> 
>>>>> ok I came a bit   further:
>>>>> 
>>>>> If I directly select a subcategory, all  the products of  this category are 
>> 
>>>>> 
>>>> shown. 
>>>> 
>>>> 
>>>>> Thus  I intended to select all subcategories to  show all product, but you 
>> it 
>> 
>>>>> 
>>> 
>>>>> seems  that you are only allowed to select  one category. So:
>>>>> - Is  it possible to select more than one category for  the product  
>> listing?
>>>>> - If not, is it possible to show products of a   category, that are in a 
>>>>> subcategory of this  category?
>>>>> 
>>>>> I  would be very thankful for  advice.
>>>>> 
>>>>>  Greetings
>>>>> 
>>>>> Franz  Steinmetz
>>>>> 
>>>>> 
>>>>> franzlst at yahoo.de
>>>>> http://www.roboshow.de
>>>>> http://www.jsg-abi2008.de
>>>>> http://www.kalender.jsg-abi2008.de
>>>>> 
>>>>> 
>>>>> 
>>>>> -----  Ursprüngliche Mail ----
>>>>> 
>>>>> 
>>>>>> Von: Franz Steinmetz  <franzlst at yahoo.de>
>>>>>> An: typo3-project-commerce at lists.typo3.org
>>>>>>  Gesendet: Donnerstag, den 12. August 2010, 16:47:58 Uhr
>>>>>> Betreff:  [TYPO3-commerce] Show all products of all  categories
>>>>>> 
>>>>>>  Hi,
>>>>>> 
>>>>>> I work with commerce 0.9.8 and  Typo3  4.2.12.
>>>>>> 
>>>>>> Until now I've   had a shop with the  following navigation:
>>>>>> List of  categories => List of   products of selected category => Details 
>> of 
>> 
>>>>>> 
>>> 
>>>>>> selected   product
>>>>>> 
>>>>>> Now I  want to introduce a  new page, which  shows me all products, 
>> grouped 
>> 
>>>>>> 
>>>> by 
>>>> 
>>>> 
>>>>>> category. From here you get to  the product detail  page. This new page 
>> shell 
>> 
>>>>>> 
>>>> 
>>>>>> exist to the old   navigation.
>>>>>> 
>>>>>> Can someone explain me how  to do this?   When i add the product listing 
>>>>>> 
>>>> plugin 
>>>> 
>>>> 
>>>>>> to 
>>>>>> 
>>>>>> this page  with the root category as  category, only the subcategories 
>> are  
>> 
>>>>>> 
>>>> shown 
>>>> 
>>>> 
>>>>>> (equivalent to "List  of  categries" in the  existing navigation), but not 
>> 
>>>>>> 
>>>> their 
>>>> 
>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>>> products.
>>>>>> 
>>>>>>  Thanks
>>>>>> 
>>>>>>    Franz
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>  _______________________________________________
>>>>>>  TYPO3-project-commerce  mailing list
>>>>>> TYPO3-project-commerce at lists.typo3.org
>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>  _______________________________________________
>>>>> TYPO3-project-commerce  mailing list
>>>>> TYPO3-project-commerce at lists.typo3.org
>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
>>>>> 
>>>>> 
>>>> _______________________________________________
>>>> TYPO3-project-commerce  mailing list
>>>> TYPO3-project-commerce at lists.typo3.org
>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
>>>> 
>>>> 
>>> 
>>> _______________________________________________
>>> TYPO3-project-commerce  mailing list
>>> TYPO3-project-commerce at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
>>> 
>> _______________________________________________
>> TYPO3-project-commerce  mailing list
>> TYPO3-project-commerce at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
>> 
> 
> 
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
> 
> 


Mit freundlichen Gruessen
Ingo Schmitt

-- 
Marketing Factory Consulting GmbH  *   mailto:is at marketing-factory.de
Stephanienstrasse 36               *          Tel.: +49 211-361176-63
D-40211 Duesseldorf, Germany       *          Fax:  +49 211-361176-99
Amtsgericht Duesseldorf HRB 53971  * http://www.marketing-factory.de/

Geschaeftsfuehrer:    Peter Faisst   |   Katja Faisst
Karoline Steinfatt   |   Christoph Allefeld   |   Markus M. Kimmel



More information about the TYPO3-project-commerce mailing list