Forums / Setting Up Categories, Products, Attributes / Product Type Book (by moku)

Product Type Book (by moku)

Started by moku on 12 May 2006, 6:37 AM · Views: 203,732

Results 441 to 460 of 647
6 Sep 2008, 6:44 PM
#441
reza avatar

reza

Zen Follower

Join Date:
Aug 2006
Posts:
166
Plugin Contributions:
0

Product Type Book (by moku)

thanks hareslade
and what about the authors url link,
remember this question above:
"wel, when you see a product in product info display page, when you click on authors, it goes to show all books from this author (so, filter function), while in admin we can put a url (inetrnal, or external url) for this author, I don't find any place on the front page of site where I can find the url link to authors' url."

6 Sep 2008, 6:56 PM
#442
reza avatar

reza

Zen Follower

Join Date:
Aug 2006
Posts:
166
Plugin Contributions:
0

Re: Product Type Book (by moku)

oops, I AM SO SORRY. I found it now, actually the url and image of authors are displayed in apart sidebox
I think just the readme and how to use of book product should be enhanced, especially for some peoples like me will be very necessry, also i don't know for what can I use misc , misc-bool, and misc_int_5_1 on product Info,

6 Sep 2008, 10:00 PM
#443
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

Thats ok reza
For those wondering what we're on about, see my demo page
http://www.jphuk.co.uk/zc138a_t1/index.php?main_page=product_book_info&cPath=2&products_id=5

When an author has data, and when a book is displayed, there's an optional sidebox showing the author(s)... the author's site url is not separate, its a hyperlink attached to the authors name and nickname in the sidebox..

You're quite welcome to write up a user manual reza..

Regarding the 'spare' fields... thats what they are...spare.. if the textual 'defines' labels for those fields are changed to your choice e.g 'paper quality' then you can put in your own book data entries.. in other words, you choose what you use them for.

Some fields are set up as preset dropdowns, so you can run a preselected set of options in admin to choose from. Other spare fields are just text-input fields. These fields were added in when I did the coding, because to add just one field from scratch is a lot of work, (in various php files) but doing say 10 extra is just adding extra process to the job already being done.

Many of these extra fields can be made 'private' so they only show on the admin pages for books. This was vaguely an attempt to make a flexible product type so that a user can tailor the data to their own needs. A programmer can also change the book type to their own choice, you don't have to always use it for books.

See down the page at
http://www.jphuk.co.uk/zc/index.php?main_page=document_general_info&cPath=54&products_id=490 it tells you about the fields

The 'defines' for the text displayed 'label' on the book product for a field, (and for the field label in admin) are kept in specific php files. You need to go through the uploaded book files to find them.

There are in fact a few word docs and other 'readme' type files if you go through the zip file folders. But what there isn't, is a global 'users doc', mainly because its a job making one. And then they'll change zencart version so it all has to be re-written..

16 Sep 2008, 2:30 AM
#444
jrf avatar

jrf

New Zenner

Join Date:
Jan 2007
Posts:
35
Plugin Contributions:
0

Re: Product Type Book (by moku)

I installed the latest book type and need to retrofit it to chemicals, not books. Am trying to use all the misc fields.
Questions:
can I change the mysql datatypes on the misc integer fields to be text fields? Will this mess up anything else?

In product types I checked misc int5_3 to display - it does in the admin and writes to the file, but not in the product listing, where I also need it to be so customers can see it. I will need all the fields to display (I might even need to add some, which is another issue I'd love advice on), but don't know why this field isn't displaying.

thank you very much for any help

16 Sep 2008, 1:01 PM
#445
jrf avatar

jrf

New Zenner

Join Date:
Jan 2007
Posts:
35
Plugin Contributions:
0

Re: Product Type Book (by moku)

Figured out the above problem of misc int 5_3 not displaying in case anyone else has this issue:
in approximately line 628 in tpl_prod_book_info_display.php the if statement tests for 0 when it should test for '' (empty string)

(since I changed the field type of misc int 5_3 from int to text)
here is the line:
echo (($flag_show_product_book_info_misc_int_5_3 == 1 and $products_book_misc_int_5_3 != '') ?

So since the test failed, even tho there was text data in the field, it wasn't displaying.

Possibly changing field types is not the best way to do this but I'm trying to create a new product type using all the fields.
J

28 Sep 2008, 12:31 PM
#446
dgcdesign avatar

dgcdesign

New Zenner

Join Date:
Aug 2005
Posts:
26
Plugin Contributions:
0

Re: Product Type Book (by moku)

Does anyone know where the download is for this product? The page that the current download link goes to is dead and has been every time I check. And, by the way, I've checked with multiple browsers on both Win and Mac platforms.

28 Sep 2008, 1:53 PM
#447
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

I very gently advise all newcomers the book download for 1.3.8 is at
http://www.jphuk.co.uk/zc/index.php?main_page=document_general_info&cPath=54&products_id=490
I put the general site link in my signature, see below

Although I've done a lot of work on book and currently look after the zip, I'm chicken about putting it as a zencart add on, you'll have to badger me, or tell me just how I get it there..

2 Oct 2008, 2:00 PM
#448
tekram avatar

tekram

Zen Follower

Join Date:
Feb 2006
Posts:
111
Plugin Contributions:
0

Re: Product Type Book (by moku)

If we are using the search box provided by Zen cart, should we be able to search by an author name? I can not see to be able to do that.

2 Oct 2008, 2:02 PM
#449
tekram avatar

tekram

Zen Follower

Join Date:
Feb 2006
Posts:
111
Plugin Contributions:
0

Re: Product Type Book (by moku)

so i checked on your site and it does seem like you can search by author name. I have the latest ZC installed. Any ideas?

2 Oct 2008, 2:10 PM
#450
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

tekram
so many reasons might stop it

check the product type settings for search
i think it may only find authors with books active i.e enabled, on the site
there used to be an issue with manufacturer, try adding manufacturer i.e publisher to the books

oh, maybe you need to use the authors search sidebox, enable it in the sideboxes list?

2 Oct 2008, 5:10 PM
#451
tekram avatar

tekram

Zen Follower

Join Date:
Feb 2006
Posts:
111
Plugin Contributions:
0

Re: Product Type Book (by moku)

i would prefer there would be one search box that could do all of the searches.

do you think the availability date matters? i can only set the date the book is available is tomorrow. i have no real catalog now except for three books. maybe the search result for setting the book date to tomorrow will work when the date has arrived. if i set any other date and then go back after saving it, it comes out blank.

2 Oct 2008, 5:15 PM
#452
tekram avatar

tekram

Zen Follower

Join Date:
Feb 2006
Posts:
111
Plugin Contributions:
0

Re: Product Type Book (by moku)

the availabilty date does not seem to be the problem.

i can find books by title and things in the descpritoin. but noy by subtite, author, author nickname..

2 Oct 2008, 7:59 PM
#453
credenscel avatar

credenscel

New Zenner

Join Date:
Aug 2008
Posts:
44
Plugin Contributions:
0

Re: Product Type Book (by moku)

Would someone please let me know if the book type product works with Easy Populate?

16 Oct 2008, 4:15 PM
#455
tekram avatar

tekram

Zen Follower

Join Date:
Feb 2006
Posts:
111
Plugin Contributions:
0

Re: Product Type Book (by moku)

Anyone able to get search to work? That is, if you use the search that comes with zen cart, can you do searches by author name? it seems like i maybe doing something strange because it used to work with the old plugin. i am using the latest version of both zen cart and the plugin. and to make sure, that is all i have installed for the time being.

16 Oct 2008, 11:44 PM
#456
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

thanks for that .. I think the 1.3.8 book version needs fixing, for finding authors in main search

17 Oct 2008, 4:02 PM
#457
beyoyo2 avatar

beyoyo2

New Zenner

Join Date:
Jan 2008
Posts:
16
Plugin Contributions:
0

Re: Product Type Book (by moku)

Is this still available?

30 Oct 2008, 6:49 PM
#459
thebasher avatar

thebasher

New Zenner

Join Date:
Dec 2007
Posts:
53
Plugin Contributions:
0

Re: Product Type Book (by moku)

I may be missing some files (or possibly brain cells). In the read me it says:

just upload the files in \catalogue to your cart,
apply the sql patch in folder RUN_THIS_FULL_INSTALL_SQL_PATCH_FOR_DATABASE
to your admin sql patch page in zencart.

In the files I downloaded I can't find "catalogue" or the sql patch. There is a folder called "1_Book_Main_Files" but there is nothing in it. There are a lot of other folders but most of it looks like extra stuff.

Not sure what to install. If anyone could point me in the right direction I would greatly appreciate it!

30 Oct 2008, 8:40 PM
#460
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Re: Product Type Book (by moku)

Hi thebasher

I just dl'd the book v138 zip myself to check, go to actually inside Folder 1_Book_Main_Files/catalogue/..
Inside /catalog is 3 folders /admin, /images, /includes,
Inside those are files, and more sub folders-with-files-in

Upload contents* of /catalogue to your zencart site folder, zencart already has those 3 folder names..
I'll alter the readme file maybe

Alongside the /catalogue folder see if you can see a QUIETLY named folder RUN_THIS_FULL_INSTALL_SQL_PATCH_FOR_DATABASE the required sql patch is inside that

Its ok, I get brain probs too.... are you ok now

Sometimes its better to reserve a fresh test zencart site for first attempts, in case it all goes terribly wrong

==============
v138: MAIN ZENCART SEARCH BOX, BOOK AUTHORS FIX

Due to popular request (that is, people keep asking me why it doesn't work)

I fixed the book file that does the authors search from the main zencart search box. Overlay this file on the already installed book one, for v138 zencart only. Its a minor change, due to changes in v138 that I didn't notice.

The DL on my site is a zip, get the file in the zip, put it in (site)/includes/classes/observers/

OR if about to upload the whole book fileset, replace the existing file in the fileset before uploading.

The 'fix' zip is at
http://www.jphuk.co.uk/zc125/downloads/fixes/oct_2008_fix_v138_class.productBookSearch.zip

let me know if any probs with this fix, it should work ok in getting the missing book data when a search for a specific author (or part) is done. Then you'll get the correct books shown in the resulting search list.