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 401 to 420 of 647
3 May 2008, 3:16 PM
#401
focus360 avatar

focus360

New Zenner

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

Product Type Book (by moku)

Ok I have worked out the only file I need to edit to show more variables on the index pages is class.productBookListing.php

Can anyone give me any pointers how to add one of the extra variables like product genre? :wink:

3 May 2008, 3:28 PM
#402
aenea avatar

aenea

New Zenner

Join Date:
Apr 2008
Posts:
11
Plugin Contributions:
0

Re: Product Type Book (by moku)

focus360:

Ok I have worked out the only file I need to edit to show more variables on the index pages is class.productBookListing.php

Can anyone give me any pointers how to add one of the extra variables like product genre? :wink:

In the ZenCart Admin, select Catalog | Product Types
Select Product Type Book
Then click on Edit Layout

This will take you to a page of Layout options where you can switch things on and off.
Genre is one of the standard options

You'll also need to refer to the notes on Paul Hailey's download page for the identity of some of the MISC fields (e.g. Misc 1 = where published, Misc 2 = Condition description, misc_3 = Edition, etc.)

3 May 2008, 3:40 PM
#403
focus360 avatar

focus360

New Zenner

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

Re: Product Type Book (by moku)

I should have said - not for the product_book_info page. I need extra variables to show on the product_listing pages. Thanks

5 May 2008, 5:41 AM
#404
focus360 avatar

focus360

New Zenner

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

Re: Product Type Book (by moku)

I have worked out how to add more variables to the product listings page. e.g. type, subject, etc. The only file I needed to edit was class.productBookListing.php , Thanks for everyone who responded with those helpful hints :huh:

9 May 2008, 6:55 AM
#405
ashishgandhi avatar

ashishgandhi

New Zenner

Join Date:
Oct 2007
Posts:
22
Plugin Contributions:
0

Re: Product Type Book (by moku)

hello,
I have been using product type book for products. It's working fine.
Now the issue raise in this product type is,whether it supports meta tags?,because I am not able to define meta tags for the book products type.
And if this product type supports meta tags then how can i define it?

plz reply me. It's urgent for me.
Thanks in advance

10 May 2008, 11:54 AM
#406
ashishgandhi avatar

ashishgandhi

New Zenner

Join Date:
Oct 2007
Posts:
22
Plugin Contributions:
0

Re: Product Type Book (by moku)

Anyone here for help who can answer my above question about product type book

16 May 2008, 5:46 PM
#407
bhaenel avatar

bhaenel

New Zenner

Join Date:
Apr 2006
Posts:
2
Plugin Contributions:
0

Re: Product Type Book (by moku)

chinesebks4children:

Mike and Hareslade,

I've mostly got what I want working and I wanted to thank you for your help.
Mike, if you get more of EasyPopulate working I'd like to know about that if you have a moment to pm me...

thanks again!

MikeFarrant:

I've just PM'd you on this topic - check your mail :)

Hi, folks -

I've been struggling with writing some new code to upload 3000+ books, using both Product Type Book and Easy Populate. On a hunch I wondered if anyone else has done this yet. Have either of you got anything you'd be willing to share in this regard? I'd sure appreciate some short cuts if you can offer any.

Thanks!

18 May 2008, 8:05 PM
#408
hdonald avatar

hdonald

New Zenner

Join Date:
Oct 2006
Posts:
32
Plugin Contributions:
0

Re: Product Type Book (by moku)

I want to start out saying this mod has really worked out well in my plans to upgrade my books listing. Now on to the problem.

I originally installed the mod on a fresh zc install and it worked beautifully. No errors, nothing. I then installed it on a working copy with other mods already installed. Still no errors, but spiffycal isn't working for the book type product. I have doubled and triple checked the code and it is correct. I have no idea on where to look for the problem. Any help would be greatly appreciated.

Thanks,
Heather

18 May 2008, 11:23 PM
#409
hdonald avatar

hdonald

New Zenner

Join Date:
Oct 2006
Posts:
32
Plugin Contributions:
0

Re: Product Type Book (by moku)

Never mind. I found the problem. Image Handler wasn't playing nice with Book Product. Once I un-installed IH spiffycal worked just fine. Even worked when I re-installed IH.

Heather

19 May 2008, 3:17 PM
#410
aenea avatar

aenea

New Zenner

Join Date:
Apr 2008
Posts:
11
Plugin Contributions:
0

Re: Product Type Book (by moku)

I am trying to install the grid listings layout but without success.
I have uploaded all the files and applied the SQL patch but there's no change in the displays.

I'm wondering if there is a problem with the category setting to 'book only'.
Each time I edit a category, the 'Restrict to Product Type' seems to have been set back to 'Product- General', despite my having set it to Product-Book' on the previous edit.

Can anyone tell me where this setting is stored in the SQL database , so that I can check whether it is being saved correctly?

My next thought was to set the layout to columns in the Admin module (as suggested in the Readme file) but . . . I can't find this option in the Admin.

I've looked in admin | configuration | product listing
but there's no 'Layout Style' in the options.

I'm running version 1.3.8a.

Can anyone help?

19 May 2008, 3:49 PM
#411
aenea avatar

aenea

New Zenner

Join Date:
Apr 2008
Posts:
11
Plugin Contributions:
0

Re: Product Type Book (by moku)

Please ignore first part of my previous post.
I just worked out that I wasn't updating the 'Restrict to Product Type' option correctly (clicking on 'Save' instead of 'Add' ). :oops:
With that fixed, category listings are now appearing in grid format.

When I click ion the link to 'List all products' this remains in the original format, however, despite all my categories being books.

So, I'm still curious to locate the layout setting in the admin interface.

30 Jun 2008, 11:04 PM
#412
tekram avatar

tekram

Zen Follower

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

Re: Product Type Book (by moku)

I just upgraded to 1.3.8 and am now having issues with the book product type. For one, it does not add the authros to the search. I can no loner search by author. Secondly, i Can not add new product types of book. when I do that, it gives me the you do not have acces to this page error even when logged in as the admin.

1 Jul 2008, 11:31 PM
#413
tekram avatar

tekram

Zen Follower

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

Re: Product Type Book (by moku)

The first problem listed above has been solved.

Anyone else when they upgraded unableto search their books by the author name?

2 Jul 2008, 10:27 PM
#414
tekram avatar

tekram

Zen Follower

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

Re: Product Type Book (by moku)

So, slowly reading through the posts i realized there has been significant updates to the book type since the original one made by moku. is there an easy way to upgrade to the newest version if i am still using the old moku version?

4 Jul 2008, 5:57 PM
#415
tekram avatar

tekram

Zen Follower

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

Re: Product Type Book (by moku)

i started from scratch to build my site to get this contrib to work.

if we use the search to search by author name, should it work with this contribution?

4 Jul 2008, 7:45 PM
#416
tekram avatar

tekram

Zen Follower

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

Re: Product Type Book (by moku)

for that matter will any of the added attributes be searched by the main search?

1 Aug 2008, 4:36 AM
#417
elastic avatar

elastic

New Zenner

Join Date:
Dec 2007
Location:
New Jersey
Posts:
76
Plugin Contributions:
0

Re: Product Type Book (by moku)

has anyone else got this problem - using custom product type - the items are not deducting from products_quantity ???

hmmn. really?

1 Aug 2008, 7:11 PM
#418
elastic avatar

elastic

New Zenner

Join Date:
Dec 2007
Location:
New Jersey
Posts:
76
Plugin Contributions:
0

Re: Product Type Book (by moku)

a follow up answer. what happened was i have physical and non physical goods. a tech note is applied to each item in the cart, and there are various custom product types. because a download was assigned as an attribute, the item was considered somehow to be downloadable, and the code is set to not deduct from inventory.

      // do not decrement quantities if products_attributes_filename exists

$zco_notifier->notify('NOTIFY_ORDER_PROCESSING_STOCK_DECREMENT_BEGIN');

and specifically here - i had to change the else part of the statement. if you notice in the code, the else statement is identical so that stock gets pulled.

   if ((DOWNLOAD_ENABLED != 'true') || $stock_values->fields['product_is_always_free_shipping'] == 2 || (!$stock_values->fields['products_attributes_filename']) ) {
        $stock_left = $stock_values->fields['products_quantity'] - $this->products[$i]['qty'];
        $this->products[$i]['stock_reduce'] = $this->products[$i]['qty'];
      } else { 
        $stock_left = $stock_values->fields['products_quantity'] - $this->products[$i]['qty'];
      }

i think the key here is that in my case, the item being both physical and non physical is what caused this issue. this is a strong workaround, pretty invasive. but it worked. is there a better way?

hmmn. really?

9 Aug 2008, 5:46 PM
#419
tekram avatar

tekram

Zen Follower

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

Re: Product Type Book (by moku)

Anyone else having trouble with the search? I can not seem to search by author name. It does not seem to be able to find books by the author name.

19 Aug 2008, 11:04 PM
#420
michaelhl avatar

michaelhl

New Zenner

Join Date:
Oct 2005
Location:
Germany
Posts:
60
Plugin Contributions:
0

Re: Product Type Book (by moku)

I have the following problem:
When a normal item is deactivated in admins area and a customer visit it, coming from a search engine, he gets the message that the item isn't found and I hope (I don't know it) the search engine gets a 404 Header.
When I do the same with a book-product-type the product isn't away, when it is deactivated. Only the picture and the title and the description is hided, the special book content is shown anyway. So the search engine never gets a 404 Header.
With the older book-contribution I try to delete the link in google, but they don't accept it, because they get no 404 header and google is only a machine and not a human so you can't explain it to them.
Also when a item is deleted it in't really completly away. The message is "no picture available" and sold out. And also no 404 Header. It seems that the book-contribution not noticed the deactivation or the deletion.