Re: Product Type Book (by moku)
Quote:
Originally Posted by
hareslade
point made, moku never did do the 'list of authors, with books',
its an obvious thing to do. Depends how complex it needs to be..
I found out on the forum that someone did a manufacturers page
http://www.isabelharris.co.nz/shop/i...in_page=brands
here's an explanation on how he did it.
http://www.zen-cart.com/forum/showthread.php?t=29085
I'd prefer it splitted in multiple pages, by first letter (All publishers with A..., with B..., etc).
Probably when you have the Publishers list done, it's easy to make the same with Authors.
I can't get to do it.
Can someone help, please? :lookaroun
Re: Product Type Book (by moku)
hrm..
maybe I didn't explain properly in the extended version's readme files, this url field was a late addition, its not the same as the normal zencart one, this one appears within the book data list for the product in cart. (not below, as with the zencart 'normal' url)
The code you give, won't work, don't know why you found that...this is what should be there...
Code:
<!--bof Product URL -->
<?php
if ($products_book_url != '') {
?>
<p id="productInfoLink" class="productBook centeredContent">
<?php echo sprintf($url_text, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_book_url), 'NONSSL', true, false)); ?></p>
<?php
}
?>
<!--eof Product URL -->
So the template you quote isn't the same as what it should be
(both of the book info display templates in classic and default template folders), should have the comment 'mar 2006 book url activated as misc 5 jph'
as the top line in the code. Check that yours has that..)
In any case, go to the admin book info product page, look just below 'Private Notes' field, you should find the url field labelled as 'Product URL
(without http) '
This field is actually 'misc_5', so if you haven't got the url field entry box showing in book product's collect info page, maybe it needs switching on in the book product type, 'edit layout' section
p.m me if you have continuing probs, unsure quite whats up..
Re: Product Type Book (by moku)
I have successfully installed the Book Product Type to Zen Cart 1.3.7 and even have the Image Handler 2 working with it. This is an awesome addition!
I am able to add publishers, authors, genres, and types when adding books. However I am not able to add color or condition. As this is a used book site I would really like to add the book's condition. How would I do that or have I done something wrong in the installation?
My cart is under construction but can be viewed at:
http://books.denner.ca
Thanks,
Cat =^..^=
Re: Product Type Book (by moku)
Please add the updated files to the downloads section when you get it operational. Thanks!!
Re: Product Type Book (by moku)
Quote:
Originally Posted by
Catharina
types when adding books. However I am not able to add color or condition. As this is a used book site I would really like to add the book's condition. How would I do that or have I done something wrong in the installation?
Yes, a condition field is highly desirable. GoogleBase now requires it.
Woody
Re: Product Type Book (by moku)
Is there a way to add stock numbers?
Thanks,
Cat =^..^=
Re: Product Type Book (by moku)
Catharina
I get confused myself... some of the original moku fields such as color appear on my own setups with different display labels.. 'genre' I label as 'type' for instance.
I probably relabelled colour as 'format'
There is a word doc EXTENDED_FIELD_COMPARISONS.doc in other_stuff folder that might help you if you need to assess or alter things (or it might not). You'll see book colour (format) and book condition both have dropdowns, ... so both need you to put some preset entries in the 'admin |extras | book condition' and 'admin |extras | book format' section....
[The book fields that are set up from a 'dropdown' in admin are still ordinary database fields.
Its just that some of the fields defined by dropdown value in admin are the ones that moku had set up as searchable, because one can create a 'search dropdown' in a sidebox ... which lists those same values. Hence the 'authors' sidebox search.]
Regarding specifically sorting out condition fields, first have a look in the admin book 'collect info' page, where you enter book details.
There are two fields for 'condition' in the database, both are text fields, but one of these is only ever populated from a dropdown. The other one is by pure text entry on the collect info page..
In admin book, there should be an entry line marked 'condition', with a dropdown by it.
Next to that is 'condition' again, with a text box, for inserting any manual condition descriptive text. (such as 'part eaten by mice')
If those two are not both there, look in 'admin | product types | book product | edit layout'
The admin entry boxes only appear if the fields are being used, they
should be already switched on in the above admin page.
The condition textual field is 'misc_2' so check that is switched on
. Also you'll see 'show book condition' which should be on.
The condition data display line in the cart book product is a switched one, it has some coding in the display template that concatenates several different fields into one line in the cart display. (I knew that one would be a pain...)
I think you need to have set up a 'used' book before the condition details will show. Obviously a new book condition is 'new' and is prest to show as such.
If I say much more it'll get even more confusing, if there are still probs p.m me maybe I can check out your admin settings.
--------
Philosophy (if there is such a thing..) of this add on
Its designed to install with a number of book fields active, but its not too difficult to switch the spare fields on, alter the existing defines labels as needed, and therefore add working fields, which should be ready to run.
The book template is fairly straightforward to 'code modify' for special setups, one you see how it works codewise. But in most cases you would not need to touch it, as all the existing fields are switchable on/off in the book type's edit layout, and defines labels can be altered.
There are plenty of spare 'admin dropdowns fields' on extended book, these exist because the 'gallery' clone version uses more of them. The word doc mentioned above would help with that.
If anyone desperately needs a bespoke setup, let me know by a p.m
Re: Product Type Book (by moku)
Quote:
Originally Posted by
Catharina
Is there a way to add stock numbers?
I've answered my own question by using the Misc 1 field. To display it I altered this line:
define('TEXT_PRODUCT_BOOK_MISC_1', 'Misc 1: ');
in the file includes/languages/english/product_book_info.php
Cat =^..^=
Product Type extended Book, fckeditor mod
Hi
For anyone installing fckeditor text editor add-on, for use in admin, the extended book product version 2 collect_info.php needs a replacement file.
This should also be useable on 136 extended book installs.
Here is the page, see the 'update fix' paragraph
http://www.hareslade.com/zc/index.ph...roducts_id=482
Re: Product Type Book (by moku)
Quote:
Originally Posted by
hareslade
Hi biscayne
sql a pain, isn't it, I'll pm you in a minute
Hi,
I want this book mod in my cart.But im not able to understand how could I do this.
It not clear to me.
1.What files I need to download.
2.In which folder those files should uploaded.
3.What sql querry are fired and how
Means i need a complete guide of this book mod.