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.
Printable View
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.
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:
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!
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..Quote:
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
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,
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 likeCode:<? /* 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 */
Code://=========end dd1
*/
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.
Still getting the error.Quote:
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,
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 likeCode:<? /* 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 */
Code://=========end dd1
*/
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.
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