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 541 to 560 of 647
15 Dec 2009, 5:52 AM
#541
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Product Type Book (by moku)

Is there any way to rearrange the field? Mine displays as follow:

Condition
ISBN
Publisher
Age Rating
Language

I would like to change it to:

Language
Format
ISBN-13
Publisher
Age Rating
Genres

Thanks...

15 Dec 2009, 9:17 PM
#542
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 folks
Nice to see you still turning the handles of the book gismo

In general book product is great within zencart, but if you add 'unknown' add-ons
the chances are you'd have to modify them, because book contains extra fields
in separate tables that are addtional to zencart's normal field setup.

anyway.. just to let you know i'm on a canal boat near devizes wiltshire uk,
sometime i will get back into a house, not sure where or when yet.

the links for the book demo's should be on my signature below here,
and the site to get the file zips from, is still
http://www.jphuk.co.uk/zc/

18 Dec 2009, 11:28 AM
#543
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Product Type Book (by moku)

Hello there,

Could someone please help me how to get this to work with Zen Lightbox.

Thank you

21 Dec 2009, 8:33 AM
#544
edizioninautilus avatar

edizioninautilus

New Zenner

Join Date:
May 2009
Location:
Italy
Posts:
19
Plugin Contributions:
0

Re: Product Type Book (by moku)

Berserker:

Hello there,

I have installed this module and everything seemed to went smoothly. After adding a book product, Tabbe Products Pro doesnt seem to work for it tho. How do I get it to work for that? Also, has anyone managed to get this to work with Ceon URI Mapping?

Lastly, I need an extra field called Age Rating. How can I achieve that?

All the best...

I have gotten this module to work together with the Ceon URI although I did the installation more than a year ago and don't remember if there was anything special I needed to do to enable it.

The Ceon module is, however, rather straightforward and well documented, so if you follow the instructions it'll work. See the website below for the example:

https://www.edizioninautilus.it

Jeremy

28 Dec 2009, 4:26 AM
#545
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Product Type Book (by moku)

Berserker:

Hello there,

I have installed this module and everything seemed to went smoothly. After adding a book product, Tabbe Products Pro doesnt seem to work for it tho. How do I get it to work for that? Also, has anyone managed to get this to work with Ceon URI Mapping?

Lastly, I need an extra field called Age Rating. How can I achieve that?

All the best...

Did you get Tabbed Products Pro to work? If yes...How?

Thanks, Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

28 Dec 2009, 9:12 AM
#546
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Product Type Book (by moku)

kburner:

Did you get Tabbed Products Pro to work? If yes...How?

Thanks, Kim

Unfortunately no...

28 Dec 2009, 8:42 PM
#547
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Product Type Book (by moku)

Berserker:

Is there any way to rearrange the field? Mine displays as follow:

Condition
ISBN
Publisher
Age Rating
Language

I would like to change it to:

Language
Format
ISBN-13
Publisher
Age Rating
Genres

Thanks...

Which file did you modify? Thanks,Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

28 Dec 2009, 8:45 PM
#548
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Product Type Book (by moku)

I have a bookstore that currently using regular product-general. I am trying to get this mod working. I really need it to be able to list everything. But, also need it to match for other products I have that are not books.

I use the MSRP pricing with product-general. Does anyone have product-book working with MSRP??

Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

20 Jan 2010, 1:08 AM
#549
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Product Type Book (by moku)

Loaded this mod and get redirected to page not found when I try to add a new product. I ran debug file and this error message.

securityToken|s:32:"42e4e32af6d8dbbc79288302ad6482ec";language|s:7:"english";languages_id|s:1:"1";languages_code|s:2:"en";selected_box|s:13:"configuration";html_editor_preference_status|s:9:"FCKEDITOR";admin_id|s:1:"1";messageToStack|s:0:"";categories_products_sort_order|s:1:"1";display_categories_dropdown|i:0;

I only loaded the book main files. I have been using FCKEDITOR.

How do I fix this? Thanks, Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

20 Jan 2010, 1:10 AM
#550
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Product Type Book (by moku)

BTW, I am also trying to get MSRP to work with it. I modified these files.

I took this on with my test store. I followed the readme file for MRSP and tried to apply to product-book files.
Made these changes to get MSRP to work with product - book.

Sql file:

Originally added with product - general. I did not make any changes or additions to sql.

ALTER TABLE products ADD products_msrp DECIMAL( 15, 4 ) NOT NULL AFTER products_price ;

  1. admin/includes/lang/english/product_book. manually installed to end of file...

define('TEXT_PRODUCTS_MSRP', ' MSRP: ');
define('TEXT_PRODUCTS_OUR_PRICE', ' Our Price: ');
define('TEXT_PRODUCTS_SALE', ' Sale Price: ');
define('TEXT_PRODUCTS_SAVINGS', ' You Save: ');
define('TEXT_PRODUCTS_PRICE_MSRP', 'Products MSRP:');

  1. admin/modules/update_product.php
    This file does not have product_book one. Made changes to
    admin/includes/modules/update_product.php

Added:
$tmp_value = zen_db_prepare_input($_POST['products_msrp']);
$products_msrp = (!zen_not_null($tmp_value) || $tmp_value=='' || $tmp_value == 0) ? 0 : $tmp_value;
$tmp_value = zen_db_prepare_input($_POST['products_price']);
$products_price = (!zen_not_null($tmp_value) || $tmp_value=='' || $tmp_value == 0) ? 0 : $tmp_value;

Added:
'products_msrp' => $products_msrp,

  1. admin/modules/product/collect_info.php This file does not have product_book one. Changes made to
    admin/includes/modules/product/collect_info.php

Added:
'products_msrp' => '',

and added:
p.products_image, p.products_price, p.products_msrp, p.products_virtual, p.products_weight,

Could not find...

<tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_PRICE_GROSS; ?></td> <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_price_gross', $pInfo->products_price, 'OnKeyUp="updateNet()"'); ?></td> </tr>

Therefore...did NOT add
and add immediately above it:

<tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_PRICE_MSRP; ?></td> <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_msrp', $pInfo->products_msrp, ''); ?></td> </tr>
  1. includes/functions/functions_prices.php
    Did not make any changes to file and did not see one for product_book

  2. includes/languages/english/product_book.php
    Added:
    define('TEXT_PRODUCT_MSRP', 'Retail Price: ');
    define('TEXT_PRODUCT_SAVE', 'You save: ');
    define('TEXT_PRODUCT_OUR', 'Our Price: ');

  3. includes/languages/english.php
    No other files modified.

I can see MRSP when I choose product - book and can add price. But, price does not remain when I click on preview. And I do not see it on site.

I am no expert at this. Is there anyone that can give suggestions on how to get to work?

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

27 Jan 2010, 12:02 PM
#551
pink avatar

pink

New Zenner

Join Date:
May 2009
Posts:
64
Plugin Contributions:
0

Re: Product Type Book (by moku)

I have:
zc 1.3.8a
ML_ZC1_3_8_EXTENDED_BOOK_TYPE_V_4_LANGS_ISS2
ceon_uri_mapping_seo_3-2-4
multisite_module_0-4-2

My problem: When I do a search for "authors", then no result is displayed. I looked at the sql in the "book_authors_filter.php" and found out, that there is no result displayed because the table "books_to_authors" is empty!

How do I geht some data into this table? I do have authors, I do have books, and of course, I filled the author(s)-field when I added the book. Is this not enought?

27 Jan 2010, 12:22 PM
#552
johnk avatar

johnk

New Zenner

Join Date:
Feb 2005
Posts:
56
Plugin Contributions:
0

Re: Product Type Book (by moku)

I have never used the Author Field to enter author's names when adding a book. I did try it once, but seem to recall not being redirected back to the Book Entry screen. In other words, form memory, when you enter an author that way, you are taken to a special page where you enter all the Author details. If that's not happening, therein lies the problem.

The easiest way to enter Authors, is to go to Extras (next to Tools) and select Authors from there. Try to enter a few a
Authors at a time to save jumping to and thro. Then when you enter a book, you simply select the Author's mane from the drop down list. It works perfectly that way.

John

27 Jan 2010, 1:18 PM
#553
pink avatar

pink

New Zenner

Join Date:
May 2009
Posts:
64
Plugin Contributions:
0

Re: Product Type Book (by moku)

johnk:

I have never used the Author Field to enter author's names when adding a book....

The easiest way to enter Authors, is to go to Extras (next to Tools) and select Authors from there. ...

Then when you enter a book, you simply select the Author's mane from the drop down list. It works perfectly that way.

Oh, got it. I did it this way, but as I just had added one author, I didn't SELECT the author in the "add book" dialog. So that's why I got the problem. With two authors, it's more obviouse that one of them has to be selected.

Thanks for getting me to it.

By the way: Do you have any ideas where to get out the extra author info (photo, description, website of author) in the shop? I just get the author name at book display. But no link, no description, no photo for the author.

27 Jan 2010, 1:37 PM
#554
johnk avatar

johnk

New Zenner

Join Date:
Feb 2005
Posts:
56
Plugin Contributions:
0

Re: Product Type Book (by moku)

Have a look at this page on my site. I use Zen Cart as a catalogue only. Look at the top right of my site. I've changes Authors to read Contributors. As you can see "Canon" is listed as a contributor.

Go to (Tools/Layout Boxes Controller) and set the following side boxes to be displayed:
**
sideboxes/book_authors** displays an Author's dropdown (first item on the top right of my page)
**
sideboxes_authors_info** (second item)

The information will appear wherever you select in the left or right columns.

Hope that helps.

P.S. This is a fantastic contribution. When you select an Author from the list, all the products (books) by that Author are displayed automatically.

If you click a book at random, the Author's details will be displayed for that book. As some shoppers may not notice this, you could add a line like: "See Author's Biography in side bar (top right)".

27 Jan 2010, 5:43 PM
#555
sashafiero avatar

sashafiero

New Zenner

Join Date:
Jan 2010
Location:
In the glow of a big LCD monitor
Posts:
19
Plugin Contributions:
0

Re: Product Type Book (by moku)

First of all, many thanks for all the hard work that hareslade has put into this fantastic addition. I was actually pretty astonished to see that such a thing as Zen Cart didn't already have all this book functionality!

Also, many thanks to johnk, who seems to have been very helpful while hareslade is out and about, floating around for fun. ;)

I've read the instructions in the files, read the forum from about page 40 on up, and gotten the thing installed in a basically fresh copy of Zen Cart 1.3.8a. I haven't put in any addons, only messed with the layout to make it match how the client wants their site to look. (I did use the override system properly, not editing the original files.)

I realized that the upload of /admin/includes/stylesheet.css has overwritten a lot of perhaps newer admin styles, because my admin section became extremely plain and unstyled. What I tried to do was pick out what was marked as "added by jph" in the new stylesheet, and add it to the original one, and uploaded it. Voila, the admin page looks like it did before, but the Pick A Date Available little popup calendar is gone!

Here is what I found to put into the admin stylesheet, perhaps there is something more I am missing.

/* added by jph */
/* language colours */
td.maincolor1, tr.maincolor1{background-color:#FFFFCC;}
td.maincolor2, tr.maincolor2{background-color:#CCFF99;}
td.maincolor3, tr.maincolor3{background-color:#CCCCFF;}
td.maincolor4, tr.maincolor4{background-color:#FFCCFF;}
td.maincolor5, tr.maincolor5{background-color:#FFFFCC;}
td.maincolor6, tr.maincolor6{background-color:#99FFFF;}
/* warns is set to copy dropdown values across */
td.warncolor, tr.warncolor{background-color:#CC0033;
}

Thanks and appreciation in advance to whomever can help me! I am fairly familiar with CSS, and half half a handle on php, but this is my first experience with Zen Cart, and despite a bit of a challenge, I'm really liking it.

27 Jan 2010, 5:51 PM
#556
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Product Type Book (by moku)

sashafiero:

I was actually pretty astonished to see that such a thing as Zen Cart didn't already have all this book functionality!

I don't think it's very astonishing... a tiny handful (me included) of people who use zencart would ever need this highly-specific functionality.

Zencart "standard" must be kept "generic". It has to be (in most respects) a one-size-fits-all package.

The fact that such modules are available is more a testament to the clever folk who write such add-ons, and that ZC offers a robust platform upon which such customizations can be built in the first place.

20 years a Zencart User

27 Jan 2010, 5:56 PM
#557
sashafiero avatar

sashafiero

New Zenner

Join Date:
Jan 2010
Location:
In the glow of a big LCD monitor
Posts:
19
Plugin Contributions:
0

Re: Product Type Book (by moku)

Ah, yes, this is a very good point. We can't expect them to include every type of thing people sell out there! :)

And you're right, it does speak well for ZC that it IS possible to customize it so well.

27 Jan 2010, 6:33 PM
#558
johnk avatar

johnk

New Zenner

Join Date:
Feb 2005
Posts:
56
Plugin Contributions:
0

Re: Product Type Book (by moku)

It's an interesting comment Schoolboy, but why then does Zen Cart include music, record companies and the like? Surely there would be no more demand for a music shop than a book shop? Both are excellent on-line marketing opportunities.

Having said that, PJH has put an enormous amount of work into this module, although he is always quick to to thank Moku who we should not forget for the foundations.

sashafiero, when you say the Admin section got a little plain, I'm not quite sure of what you mean there. The overall admin section isn't affected, but Product Book admin page could do with a makeover. I actually did this a year or so ago and got it looking very snazzy. Unfortunately I managed to delete the entire store which was only running on a Wamp server at home. I'll probably get around to it again one day, but I hardly use any of the features in my Catalogue.

I also have to give a personal vote of thanks to Paul who answered al my emails and helped my through a few problems a year or so back.

27 Jan 2010, 6:46 PM
#559
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Product Type Book (by moku)

I am just a "sample of one" so my observations are probably more anecdotal than factual, but over the last 6 years I have built about 120 Zencart webshops for people all over the world.

Of these, about 35% have been to sell music - usually CD's and MP3 downloads - sometimes just music, other times alongside other products. So that's more than a third of all stores I have built that have required a "product - music" capability.

In the last 6 years I have only ever set up 3 bookshops, and of those only 2 requested the "product - book" module - even though I indicated its availability to the third owner.

So, in my experience, TEN TIMES the number of sites I have built have required the music product features, compared to sites that required the book product features.

I do agree it is a fantastic module - and I have thought about "cloning" it to suit things like car parts and accessories...

20 years a Zencart User

27 Jan 2010, 6:47 PM
#560
johnk avatar

johnk

New Zenner

Join Date:
Feb 2005
Posts:
56
Plugin Contributions:
0

Re: Product Type Book (by moku)

When I started using this module it drove me mad having to select Product-Book from a dropdown list before adding a new title.

I actually changed the database so that product-book was the default, but then I discovered an easier way.

Just edit the highest level category you can. Right at the bottom of the page you will see:

Restrict Product Type to "Product General".

Just click the little arrow next to "Product General" and select "Product Book".

You can then make the change to include or ignore sub-categories.

it works like a charm!