MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

crazy search-results?



******    message to minivend-users from Thomas Walter <tw@mail.itreff.de>     ******

Hi all.

I am trying to get a list of all categories in my products.asc. So I did
the following:

  [loop search="di=category/tf=category"]
  [loop-change category][condition][loop-field category][/condition]
    [loop-field category]<br>
  [/loop-change category][/loop] 

The index-file for the categories is created via the
INDEX-database-operator in the catalog.cfg.
This worked with a small products-file with about 10-20 products, but
after adding more products (now about 300) and more categories MV only
displays three of them?
If I take the tf away it displays more categories (now 5), but some of
them are double - and still not all categories are displayed. I have
also added ra=yes into the search-parameter, but this makes no
different.

This one works:
  [tag each products][sort products:category]
    [loop-change category][condition][loop-field category][/condition]
      [loop-field category]<br>
    [/loop-change category]
  [/tag] 

Can someone tell me why (not why this one works, but why the above does
not)?
  
     Balu

PS: Actually I am thinking of creating a category-database (containing
only categories and subcategories) when my customer uploads the new
products-file. I want to use
[tag op=log file="products/categories.index"]
But this gives me the following questions:
    - How Do I delete the old index-file and do not append to it?
    - How can I display if the building of the index was successfull or
not?
    - Can I nest more [tag]-tags (perhaps with with="" as in nested
[loop]-tags)?
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: