Zen Cart Logo
Forums / Features Wish List / Can I add searchable/displayable fields? Specific example cited

Can I add searchable/displayable fields? Specific example cited

Views: 62

Results 1 to 7 of 7
10 Feb 2021, 8:59 PM
#1
smencik avatar

smencik

New Zenner

Join Date:
Feb 2021
Posts:
7
Plugin Contributions:
0

Can I add searchable/displayable fields? Specific example cited

I'd like to be able to customize the product type to make it more useful for selling sportscards. I looked into using the BookX plugin, figuring I could change some of the names to be things I'd want, but it does not work with the current version of ZenCart. Since I don't want any unneeded security issues, I don't want to use an older version.

Anyway, descriptors I would like for each product are:

Sport, Year, Brand, Set, Subset, Card #, Player, Condition

Example:Sport = Baseball, Year = 1992, Set = main, subset = Diamond King, Card # = 5, Player = Cal Ripken Jr., Condition = Mint

Any or all of the fields should be searchable.

If this is already doable, I haven't figured it out. If so, tips are appreciated. Otherwise, just consider this an addition to the wishlist for the ability to add custom descriptors for products.

My ZenCart not operational yet.
Non-Zen site at http://mencik.com - has searchable database, folks can order cards, but no formal cart or ability to pay automatically. Developed using flat file database some 15 years ago.

11 Feb 2021, 2:26 AM
#2
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,953
Plugin Contributions:
8

Re: Can I add searchable/displayable fields? Specific example cited

smencik:

I'd like to be able to customize the product type to make it more useful for selling sportscards. I looked into using the BookX plugin, figuring I could change some of the names to be things I'd want, but it does not work with the current version of ZenCart. Since I don't want any unneeded security issues, I don't want to use an older version.

Anyway, descriptors I would like for each product are:

Sport, Year, Brand, Set, Subset, Card #, Player, Condition

Example:Sport = Baseball, Year = 1992, Set = main, subset = Diamond King, Card # = 5, Player = Cal Ripken Jr., Condition = Mint

Any or all of the fields should be searchable.

If this is already doable, I haven't figured it out. If so, tips are appreciated. Otherwise, just consider this an addition to the wishlist for the ability to add custom descriptors for products.

My ZenCart not operational yet.
Non-Zen site at http://mencik.com - has searchable database, folks can order cards, but no formal cart or ability to pay automatically. Developed using flat file database some 15 years ago.

going to be some work.

i would look at something like this:

https://www.zen-cart.com/downloads.php?do=file&id=1495

to get extra fields, else you could build your own custom product table with additional fields; or add said fields to either the products table or to products description table.

inputting the fields on the back send will not be 'too' hard. the question is whether the fields are text fields, numeric, predefined constants, etc. setting them us as predefined is more work at the beginning, but will be easier for filtering/searching in the long run.

getting it to display on the front end should not be that hard; but searching and/or filtering (along with sorting) will require more work as it digs deeper into the core of ZC.

i've done it before, but its not like it's easy out of the box...

best.

11 Feb 2021, 1:44 PM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Can I add searchable/displayable fields? Specific example cited

You didn't say which version of Zen Cart you are working with but, that mod is not quite ready for 1.5.7b.

11 Feb 2021, 2:14 PM
#4
smencik avatar

smencik

New Zenner

Join Date:
Feb 2021
Posts:
7
Plugin Contributions:
0

Re: Can I add searchable/displayable fields? Specific example cited

I'll take a look at that mod, but I have installed the latest version of Zen Cart.
Some of the fields I listed can be dealt with as categories and sub-categories, like sport, year and set. Manufacturer could also be used for set. The other info can go in the description and/or product title, but it is not as convenient.

So, if there are any actual working examples, I appreciate it, Otherwise, just consider this a wish list item.

11 Feb 2021, 3:31 PM
#5
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,953
Plugin Contributions:
8

Re: Can I add searchable/displayable fields? Specific example cited

smencik:

I'll take a look at that mod, but I have installed the latest version of Zen Cart.
Some of the fields I listed can be dealt with as categories and sub-categories, like sport, year and set. Manufacturer could also be used for set. The other info can go in the description and/or product title, but it is not as convenient.

So, if there are any actual working examples, I appreciate it, Otherwise, just consider this a wish list item.

vintage and appellation are separate fields; and you can choose the sort.

https://vinsrare.com/red-burgundy-wine-56.html?sortby=1

i'm big on just searching:

https://vinsrare.com/index.php?main_page=advanced_search_result&search_in_description=1&keyword=2001

this searches in the vintage field as well as others.

i did not do any filtering, as the for a product set of about 400, it just does not make much sense to me.

keyword searching has come a long way in ZC. as to whether users know how to use it? example, i searched for 'bou meur':

https://vinsrare.com/index.php?main_page=advanced_search_result&search_in_description=1&keyword=bou+meur

hope that helps.

11 Feb 2021, 10:21 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Can I add searchable/displayable fields? Specific example cited

I just got word that the mod previously mentionned is in final testing with release expected in days.

12 Feb 2021, 12:40 AM
#7
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,953
Plugin Contributions:
8

Re: Can I add searchable/displayable fields? Specific example cited

dbltoe:

I just got word that the mod previously mentionned is in final testing with release expected in days.

i used to like numinix's code. their release of FEC 2.4.3 in 7/2020 gives me no hope for any updates and/or usefulness for the aforementioned mod. i refer you to this post:

https://www.zen-cart.com/showthread.php?76557-Fast-and-Easy-Checkout&p=1374966#post1374966

best.