cunaedy / Cart-Engine

The small, yet powerful shopping cart based on PHP & MySQL.
https://www.c97.net/cart-engine-small-powerful-free-shopping-cart-script.php
5 stars 4 forks source link

A bit of confusion about categories/subcategories #5

Open WebbieFrank opened 4 years ago

WebbieFrank commented 4 years ago

Hi, In my shop I have a category "Study material", which has to be divided into "Beginners, Intermediate and Advanced", every one of those then has to be divided into "Sheet music" and "Audio". So far, I have done that by going to "Category" and then adding the children under the parent. So far, so good, the categories appear, but until I get to the contents, which are obviously in the last folders (Sheet Music or Audio), underneath the names of the other folders it says "We could not find what you were looking for".

Apart from that, everything works, but I would like to know where that error message comes from and how I could make it disappear. Thank you in advance. Frankie.

cunaedy commented 4 years ago

The string is located here: skins/default/shop_search_grid.tpl skins/default/shop_search_list.tpl, line 38:

https://github.com/cunaedy/Cart-Engine/blob/fb98e5f9c8cfdd2a29a69e877d2addb83cbcfe75/skins/default/shop_search_list.tpl#L38-L40

You can remove the lines or replace with other strings.

WebbieFrank commented 4 years ago

That's fine, but won't that stop the string from appearing where it is needed then? I mean, as I intend it to be, it should just show the subcategories with the intention of clicking through to the contents of it. Nothing is "Not found" at all, you are still looking through the (sub)category. Get my drift? :)

cunaedy commented 4 years ago

Unfortunately, there is no such feature. May be you can fill the empty screen with random items?

WebbieFrank commented 4 years ago

OK, thanks. Maybe an idea for a next update?