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 301 to 320 of 647
6 Oct 2007, 7:39 PM
#301
berrybatens avatar

berrybatens

New Zenner

Join Date:
Jun 2007
Posts:
8
Plugin Contributions:
0

Product Type Book (by moku)

Hi,

Can someone help me out with the following:
The prices of my books are shown as follows.
Book price $ 8,63 ($9,95 Incl tax)
How can I show only the price including tax (without the ($.,.. Incl tax)and the red color) and not show the price excl tax.

Thanx...

6 Oct 2007, 11:07 PM
#302
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 Berrybattens

Yes I use a U.K oriented display for price,

this should work... if you locate line 283 in file
(your current template)/tpl_product_book_info_display.php

or close to where it says '//uses uk price function jph'mod

change the function that is called here...

zen_get_products_display_price_uk((int)$_GET['products_id']);

to

zen_get_products_display_price((int)$_GET['products_id']);

Note this line above, is part of a longer line of code..

This is the 'normal zencart price display, you can show tax or not, with an admin setting separately.

8 Oct 2007, 6:39 PM
#303
berrybatens avatar

berrybatens

New Zenner

Join Date:
Jun 2007
Posts:
8
Plugin Contributions:
0

Re: Product Type Book (by moku)

Thank you **very **much.
I was already looking at this for ages...

Now I am going to break my head on how to add the extra fields to the search function.

Regards,
Berry...

15 Oct 2007, 9:54 AM
#304
raunharman avatar

raunharman

Zen Follower

Join Date:
Dec 2005
Posts:
165
Plugin Contributions:
0

Re: Product Type Book (by moku)

I have used this module on two sites and the results have been good.

My client needs one more thing. For every purchase of a particular amount , he wants to give another book free worth a particular price.
As the purchase goes higher, the gift gets costlier. For e.g.
With purchase worth 500$, he wants to give 75$ worth book free. There will be a list of books for selection for the gift.

How is it possible

http://www.raunharman.com
http://www.raunharman.net
Website Development, E-Book Solutions & Handicraft Exports

15 Oct 2007, 8:36 PM
#305
francocauter avatar

francocauter

Zen Follower

Join Date:
Jun 2007
Location:
Milton Keynes UK
Posts:
153
Plugin Contributions:
0

Re: Product Type Book (by moku)

Hi Everyone
I don't know if I am in the right thread but I am going to ask anyway.
Does anyone know why you cannot have a Document General as a Featured Product or as a Special Product or is it me???
Thanks in advance
Kind Regards
Franco

17 Oct 2007, 8:56 AM
#306
raunharman avatar

raunharman

Zen Follower

Join Date:
Dec 2005
Posts:
165
Plugin Contributions:
0

Re: Product Type Book (by moku)

I have successfully installed the book store using Zen. But authors name is nor getting displayed under the book. All the tables are correct.
If I select the author's name, then a list of books by that author is showna nd it shows the author name also, but not viewing the category products normally.

Please help

http://www.raunharman.com
http://www.raunharman.net
Website Development, E-Book Solutions & Handicraft Exports

17 Oct 2007, 6:13 PM
#307
berrybatens avatar

berrybatens

New Zenner

Join Date:
Jun 2007
Posts:
8
Plugin Contributions:
0

Re: Product Type Book (by moku)

Hi,

I am really breaking my head here over the search function. When I enter a search command I always get all the books double in the results. Does anyone knows how to solve this?

Thanx!
Berry...

19 Oct 2007, 9:26 PM
#308
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)

berrybatens
doubling up of books in search results usually needs 'select distinct ..' in the search sql, you're just getting the same 'rows' repeated at present.

btw there will hopefully be an isbn search adaptation for combined sidebox in the near future

raunharman
do the authors appear on each book display correctly?

Unsure about your book gifts situation, maybe someone else knows if this bonus free item can be arranged. Zencart tends only to do what it does, if you see what I mean.

francocauter
doc general, is it actually a product? I thought there was a doc product type as well..
this query should be a new subject really, in the forum threads, you would get more attention

20 Oct 2007, 11:03 AM
#309
raunharman avatar

raunharman

Zen Follower

Join Date:
Dec 2005
Posts:
165
Plugin Contributions:
0

Re: Product Type Book (by moku)

Any options of free gifts. A buys books worth 500$, he is shown a drop down list of books, each worth 75$, to select as free.
Same with high purchases.

Also how do I setup the option of Book search, like it is on http://www.hareslade.com/zc/index.php

Your help is reqd.

Thanks in advance

http://www.raunharman.com
http://www.raunharman.net
Website Development, E-Book Solutions & Handicraft Exports

20 Oct 2007, 8:37 PM
#310
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)

raunharman
my site's book search is the 'combined' sidebox, in the add-on's fileset, look inside '1_BOOK_MAIN_FILES' folder, for folder 'OPTIONAL_COMBINED_BOOK_SEARCH_SIDEBOX'

The /catalog folder in there contains the files for the combined sidebox, upload those... and you should apply the sql patch as well via admin, using add_to_mysql_multibox_by_admin_patch.txt..

The sidebox will need to be switched on in admin, its called a multibox.

The authors name length (for the sidebox's authors dropdown list) may need setting to 20 characters or so in admin (in maximums section).

22 Oct 2007, 5:46 AM
#311
raunharman avatar

raunharman

Zen Follower

Join Date:
Dec 2005
Posts:
165
Plugin Contributions:
0

Re: Product Type Book (by moku)

Thanks, I was able to do it
Can I use any other template for changing the looks.
Any option for:
Any options of free gifts. A buys books worth 500$, he is shown a drop down list of books, each worth 75$, to select as free.
Same with high purchases.

http://www.raunharman.com
http://www.raunharman.net
Website Development, E-Book Solutions & Handicraft Exports

14 Nov 2007, 8:29 AM
#312
berrybatens avatar

berrybatens

New Zenner

Join Date:
Jun 2007
Posts:
8
Plugin Contributions:
0

Re: Product Type Book (by moku)

Double search results fixed!

When searching for a book on my site, the search results always presented each book twice in the results. The first with image, title and description, the second only image and description.

At first I was checking the code and SQL, I have installed more modules than producttype book, who knows somewhere there is a double entry. But I couldn't find anything. The strange thing is, after installing a clean Zen Cart with product type book, the search results are ok.

Then when I installed the Dutch language next to the English the problem was back.

I am using the Zen Cart in Dutch language only. The producttype book is a multi language module. If you add a book and only fill out the Dutch fields title, subtitle, description and leave the English blank. Zen automaticly takes the description field from the Dutch table to present it in de English language (only in the search results!).

Since my site only uses the Dutch language. But it presents the Dutch and English search results. I deleted the English language and : Problem solved!:clap:

14 Nov 2007, 1:59 PM
#313
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)

Yes I can well believe the multilanguage version does odd things on occasion

Double result entries sometimes mean a lack of a '..and language_id = (current language)' term somewhere in the search sql.

But certainly removing any unused language will help, provided it removes those entries of that language i.d from the db's book entries.

wish I had a team of 8 to debug these things!

7 Dec 2007, 6:03 PM
#314
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

Re: Product Type Book (by moku)

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\Program Files\EasyPHP 2.0b1\www\store\admin\includes\modules\product_book\collect_info.php on line 1714

I am getting this error when i goto add a new book to the site, any one have this mod working with the latest version or is this a bug..

7 Dec 2007, 6:24 PM
#315
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)

darkwander
no idea why easyphp is mentioned..what are you up to (explain..)

Note I haven't looked at 1.3.8 yet, will do in the coming weeks..

Your prob error is due to the server reading this commented out bit (lines 1706 to 1719) which I didn't want it to, in the book file you mention (collect_info.php), and its being picky, buts its right, technically there is a code layout error,

<? /* used as pub nmonth above, single value dropdown select
//====== dd1		
			if($fg_show_product_book_info_misc_dd1 == 1){?>
				<tr class="main5">
				<td class="main5" width="15%"><?php echo TEXT_PRODUCTS_BOOK_MISC_DD1; ?>
				</td>
				<td class="main5">
<?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . 
zen_draw_pull_down_menu_multiple('book_dd1_id' . $i . '[]'', $book_dd1_array[$i], $book_dd1_default_array[$i],  'multiple="multiple"',20)
?>
				</td> 	  
				</tr>
<?			 }   
//=========end dd1 */

Its a coding glitch, I misplaced the block comment 'close' */ , change the last line of the above code, (1719) and split into two lines so it looks like

//=========end dd1 
*/
8 Dec 2007, 1:14 AM
#316
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

Re: Product Type Book (by moku)

hareslade:

darkwander
no idea why easyphp is mentioned..what are you up to (explain..)

I have easyphp installed so that i can test the mods on my local system before uploading the mods to a live site, just incase the mod dosnt work and causes problems.

Note I haven't looked at 1.3.8 yet, will do in the coming weeks..

Your prob error is due to the server reading this commented out bit (lines 1706 to 1719) which I didn't want it to, in the book file you mention (collect_info.php), and its being picky, buts its right, technically there is a code layout error,

<? /* used as pub nmonth above, single value dropdown select //====== dd1 if($fg_show_product_book_info_misc_dd1 == 1){?>
			<tr class="main5">
			<td class="main5" width="15%"><?php echo TEXT_PRODUCTS_BOOK_MISC_DD1; ?>
			</td>
			<td class="main5">
<?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_pull_down_menu_multiple('book_dd1_id' . $i . '[]'', $book_dd1_array[$i], $book_dd1_default_array[$i], 'multiple="multiple"',20) ?>
			</td> 	  
			</tr>
<? } //=========end dd1 */ ``` > > Its a coding glitch, I misplaced the block comment 'close' */ , change the last line of the above code, (1719) and split into two lines so it looks like > ``` //=========end dd1 */ ``` Still getting the error.
8 Dec 2007, 11:15 AM
#317
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 darkwander

perhaps you will have to remove the whole commented out section I mention.. if your php is vague p.m me, I can send you the modded file.

15 Dec 2007, 1:24 PM
#318
raunharman avatar

raunharman

Zen Follower

Join Date:
Dec 2005
Posts:
165
Plugin Contributions:
0

Re: Product Type Book (by moku)

I have encountered a strange problem.
I did nothing on the CSS file, but by itself, the display of the web site got distorted.
The font size increased (both Firefox and IE)and the site started getting displayed on left of screen by itself (internet Explorer).
The web site is
https://www.saibookstore.com

Please help.
Thanks in advance

http://www.raunharman.com
http://www.raunharman.net
Website Development, E-Book Solutions & Handicraft Exports

15 Dec 2007, 3:37 PM
#319
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

Re: Product Type Book (by moku)

raunharman:

I have encountered a strange problem.
I did nothing on the CSS file, but by itself, the display of the web site got distorted.
The font size increased (both Firefox and IE)and the site started getting displayed on left of screen by itself (internet Explorer).
The web site is
https://www.saibookstore.com

Please help.
Thanks in advance

If you don't mind me asking, what version of Zencart are you using ?

16 Dec 2007, 12:20 AM
#320
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

Re: Product Type Book (by moku)

raunharman:

I have encountered a strange problem.
I did nothing on the CSS file, but by itself, the display of the web site got distorted.
The font size increased (both Firefox and IE)and the site started getting displayed on left of screen by itself (internet Explorer).
The web site is
https://www.saibookstore.com

Please help.
Thanks in advance

It seems to be only the first page, if you click on products the view goes back to normal, however the main page is still all screwed up.