Page 32 of 65 FirstFirst ... 22303132333442 ... LastLast
Results 311 to 320 of 647
  1. #311
    Join Date
    Dec 2005
    Posts
    166
    Plugin Contributions
    0

    Default 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.

  2. #312
    Join Date
    Jun 2007
    Posts
    8
    Plugin Contributions
    0

    Default 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!

  3. #313
    Join Date
    Nov 2004
    Location
    U.K. South Wales
    Posts
    501
    Plugin Contributions
    0

    Default 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!

  4. #314
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default 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..

  5. #315
    Join Date
    Nov 2004
    Location
    U.K. South Wales
    Posts
    501
    Plugin Contributions
    0

    Default 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,
    Code:
    <? /* 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') . '&nbsp;' . 
    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
    Code:
    //=========end dd1 
    */

  6. #316
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Product Type Book (by moku)

    Quote Originally Posted by hareslade View Post
    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,
    Code:
    <? /* 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') . '&nbsp;' . 
    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
    Code:
    //=========end dd1 
    */
    Still getting the error.

  7. #317
    Join Date
    Nov 2004
    Location
    U.K. South Wales
    Posts
    501
    Plugin Contributions
    0

    Default 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.

  8. #318
    Join Date
    Dec 2005
    Posts
    166
    Plugin Contributions
    0

    Default 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
    www.saibookstore.com

    Please help.
    Thanks in advance

  9. #319
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Product Type Book (by moku)

    Quote Originally Posted by raunharman View Post
    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
    www.saibookstore.com

    Please help.
    Thanks in advance
    If you don't mind me asking, what version of Zencart are you using ?

  10. #320
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Product Type Book (by moku)

    Quote Originally Posted by raunharman View Post
    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
    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.

 

 
Page 32 of 65 FirstFirst ... 22303132333442 ... LastLast

Similar Threads

  1. Using Book Product Type Extra fields (Book DD2)
    By Beau91324 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 Nov 2009, 08:07 PM
  2. Help Product Type Books (by Moku) broken
    By cshart in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 31 Mar 2007, 03:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR