Product Type Book (by moku)
"Product Type Book" add support for books with a new product type (just like the core music product type, but with much more features)
A thread has been started in the previous forum, now in read-only. You can check it for records here.
FEATURES
- Easy installation without touching a single core file (thanks to ZC Override System);
- Multi language friendly;
- Search books and authors with the standard search sidebox (and genre and/or types);
- Shows authors names and ISBN on product listing;
- Book attributes:
- Author (can have more than one author by book)
- Genre ("Fantastic", "SciFi", "Shonen", "############", etc.) (many genres ok)
- Type ("Artbook", "Novel", "Manga", "Postcards", etc.) (many types ok)
- Color ("B&W", "Color", etc?)
- Language (many languages ok) (use another small contribution "Products Languages")
- Condition ("Brand new", "USED (good)", "USED (bad)", etc.)
- Pages ("123")
- Publication date ("2004", "31-12-1999", etc.)
- 2 customs text fields
- 2 customs boolean fields
- Publisher and ISBN are reusing Manufacturers and Model core fields
DEMO
Demo of product book for ZenCart
DOWNLOAD
The last version is available here: Product Type Book (product_type_book-moku-v?.?-YYYY-MM-DD) (both Zip and Tar.bz2 should be available)
Re: Product Type Book (by moku)
Hi!
I've just installed the new version, so far everithing seems to be working fine, the bugs mentioned in the old thread disapperared.
Well done!
:thumbsup:
One suggestion to the SQL script:
For those of You, who are upgrading from a previous version (as I did) You might want to delete all previously insterted rows from the database (configuration, sideboxes, etc). The SQL script fails at some point (maybe duplicate configuration values?) if you have old data.
Here is what I did to avoid it:
DELETE FROM product_type_layout WHERE product_type_id = 7;
DELETE FROM layout_boxes WHERE layout_box_name LIKE 'book%';
DELETE FROM configuration WHERE configuration_key LIKE '%book%';
DELETE FROM get_terms_to_filter WHERE get_term_name LIKE 'book%';
Re: Product Type Book (by moku)
Hi ,
I am using the Book Product mod on this site <http://jimsbooks.com>
I would like to be able to display the Authors name on the list view pages
<http://jimsbooks.com/index.php?main_page=products_new>
<http://jimsbooks.com/index.php?main_page=products_all>
<http://jimsbooks.com/index.php?main_page=index&cPath=1>
How do I do it?
Thanks, TOm
Re: Product Type Book (by moku)
Quote:
Originally Posted by loosefast
I am using the Book Product mod on this site <http://jimsbooks.com>
I would like to be able to display the Authors name on the list view pages
<http://jimsbooks.com/index.php?main_page=products_new>
<http://jimsbooks.com/index.php?main_page=products_all>
<http://jimsbooks.com/index.php?main_page=index&cPath=1>
How do I do it?
Hello Tom,
Your are not using my contribution but an older one wich I did not wrote, so I cannot be of any help, sorry. Good luck. ^^
PS: on my contribution authors name are shown by default in the products listings of a category or a search result as you can see here main_page=index&cPath=65 and here main_page=advanced_search_result&[...]&keyword=murata.
Actually products_new, products_all and featured_products are not supported. If somebody request it I will try to look inside this problem.
Re: Product Type Book (by moku)
I am also very interested in having the Author displayed on the New, All, Featured, and Search Results pages. I would see this as a neccessary feature for the book product type.
Thanks for your contibution.
Re: Product Type Book (by moku)
moku,
Thanks for the reply.
Do you have any recommendations on how it will or will not co-exist with the previous version of the Book Product in terms of the database tables?
Tom
Re: Product Type Book (by moku)
Hi,
Quote:
Originally Posted by smackjams
I am also very interested in having the Author displayed on the New, All, Featured, and Search Results pages. I would see this as a neccessary feature for the book product type.
OK, I added this to my TODO list!
(Search Results pages are already handled)
Quote:
Originally Posted by loosefast
Do you have any recommendations on how it will or will not co-exist with the previous version of the Book Product in terms of the database tables?
I don't remember well how this contrib worked in term of database, but the main thing you should check is that it does not use the ID 7 on the table "product_types" (my default is: "product_type_id = 7", as explained in the file "add_to_mysql.txt" of my contribution). Apart this, the names of the products type and keys should be differents.
Please let us know how it was!
Re: Product Type Book (by moku)
moku, what template are you using? Is it available for download?
Thanks,
Tom
Re: Product Type Book (by moku)
Quote:
Originally Posted by loosefast
moku, what template are you using? Is it available for download?
Tom, the current template on my website is only a temporary test!! ;-)
Starting from the template_default and modifying a very few files you will achieve a far better one! :-)
Re: seller accepts encrypted website payments only
how do I post my question on this forum as I dont know how yet