[Contribution] Products Specifications
#541 ONLINE
Posted 21 July 2012 - 04:49 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#542
Posted 22 July 2012 - 11:03 PM
1146 - Table 'bbabbitt_osc1.TABLE_PRODUCTS_XSELL' doesn't exist
select count(xp.xsell_id) as total from TABLE_PRODUCTS_XSELL xp, products p where xp.products_id = '34' and xp.xsell_id = p.products_id and p.products_status = '1'
[TEP STOP]
The database, as expected, doesn't have a table named products_xsell or anything like it. I also couldn't find mention of creating anything with that or any similar name in the database with the products_specifications.sql file provided.
How do I get past this or what have I done wrong?
#543 ONLINE
Posted 22 July 2012 - 11:36 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#544
Posted 23 July 2012 - 03:27 AM
1146 - Table 'inmotion_test.TABLE_PRODUCTS_TO_DOCUMENTS' doesn't exist
select count(*) as total from TABLE_PRODUCTS_TO_DOCUMENTS where products_id = '16'
Edited by ce7, 23 July 2012 - 03:27 AM.
#545 ONLINE
Posted 23 July 2012 - 03:31 AM
Regards
Jim
Edited by kymation, 23 July 2012 - 03:31 AM.
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#546
Posted 23 July 2012 - 04:11 AM
#547
Posted 23 July 2012 - 04:17 AM
(PS. some products has perfect description, but some show this error message! error one, such as Hewlett Packard LaserJet 1100Xi )
Parse error: syntax error, unexpected T_STRING in /test/includes/functions/clean_code.php(162) : eval()'d code on line 1
#548 ONLINE
Posted 23 July 2012 - 04:22 AM
There is a fix for this, but it involves editing a bunch of files. As usual, I don't have time to release half of what I've done.
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#549
Posted 23 July 2012 - 04:55 AM
By the way, do you have update version of PDF Datasheet your addon? (If not, when will it be possible be update?)
thank you
Lyn
#550 ONLINE
Posted 23 July 2012 - 05:04 AM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#551
Posted 23 July 2012 - 10:43 PM
BTW, you show Price Updater as working with version 2.2x. What problems, if any, can I expect installing it with version 2.3.1?
#552 ONLINE
Posted 24 July 2012 - 12:38 AM
Regards
Jim
Edit: Wrong box.
Edited by kymation, 24 July 2012 - 12:39 AM.
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#553
Posted 05 August 2012 - 07:37 AM
I had installed this addon on brandnew 2.3.1 and it works. Then I tried to installed with my current shop also with 2.3.1 version.
In the product_info.php page, there are also four others addons that demand code modify, they are
Child Attributes (fnzb)
Products Fields Groups
Sitemap SEO
QTPro Featured
In the admin site, it works find, but when I modified the prodcut_info.php,
I then got this error message, and also the bxgallery doesn't work as usual.
(the bxGallery will appear the main on the top and then another bxGallery with thumbnails below, and the error message right next to it.)
Warning: Invalid argument supplied for foreach()
in /includes/functions/html_output.php on line 379
Is there a way to fix this error?
thanks
Lyn
#554
Posted 05 August 2012 - 08:16 AM
I just tried to modified the product_info.php again, this time use your product_info.php to add other addons one by one and test,
I found that the problem cause the foreach() is the code for product option between Child Attributes and Products Specifications.
This is the code for Child Attributes as below:
<p><?php echo TEXT_PRODUCT_OPTIONS; ?></p>
<p>
<?php
$products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' order by popt.products_options_name");
while ($products_options_name = tep_db_fetch_array($products_options_name_query)) {
$products_options_array = array();
$products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'");
while ($products_options = tep_db_fetch_array($products_options_query)) {
$products_options_array[] = array('id' => $products_options['products_options_values_id'], 'text' => $products_options['products_options_values_name']);
if ($products_options['options_values_price'] != '0') {
$products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';
}
}
if (is_string($HTTP_GET_VARS['products_id']) && isset($cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']])) {
$selected_attribute = $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']];
} else {
$selected_attribute = false;
}
?>
<!--
<strong><?php echo $products_options_name['products_options_name'] . ':'; ?></strong><br /><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute, 'id="id_' . $products_options_name['products_options_id'] . '"'); ?><br />
//-->
<?php
//====================================================================================
// BOE Child Attributes (fnzb)
Can I please ask your help and see how it can work with your Products Spcieifications?
Thank you very much in advance.
Lyn
#555
Posted 05 August 2012 - 12:12 PM
<!--
<strong><?php echo $products_options_name['products_options_name'] . ':'; ?></strong><br /><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute, 'id="id_' . $products_options_name['products_options_id'] . '"'); ?><br />
//-->
<?php
//====================================================================================
// BOE Child Attributes (fnzb)
echo '<strong>' . $products_options_name['products_options_name'] . ':</strong><br />' . tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute, 'id="id_' . $products_options_name['products_options_id'] . '"');
echo '<div id="child_' . $products_options_name['products_options_id'] . '"></div><br/>';
?>
<script type="text/javascript">
$( "#<?php echo 'id_' . $products_options_name['products_options_id']?>" ).change(function() {loadChildOptions('<?php echo $HTTP_GET_VARS['products_id']?>','<?php echo $products_options_name['products_options_id']?>',this.value);});
$( "#<?php echo 'id_' . $products_options_name['products_options_id']?>" ).trigger('change');
</script>
<?php
// EOE Child Attributes (fnzb)
//====================================================================================
}
?>
</p>
thanks
Lyn
#556 ONLINE
Posted 05 August 2012 - 04:55 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#557
Posted 06 August 2012 - 12:28 AM
Thanks I end up delete the last part of Child Attributes code as I have no idea about PHP code and how to combine them.
It seems ok so far and I have a further question.
Configuration / Products Specification, I set Show Question Tab and Show Friend Tab as true, and it did show up on the front end product_info.php page, but when I click on either of them, it just jump to the product list page (I mean index, New Products For month page).
Does it mean that I can not use these two tab or some setting I need to modify? Many thanks in advance.
Lyn
#558 ONLINE
Posted 06 August 2012 - 12:37 AM
It's also possible that you removed the tabs Javascript from the page. Again using View Source, find the following:
<script type="text/javascript">
$(function() {
$( "#tabs" ).tabs({ selected: 0 });
return false;
});
</script>
If it's missing, put it back just before the tabs start.
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#559
Posted 06 August 2012 - 12:56 AM
[img]http://s19.postimage.org/jlan9my1r/product_images_2.gif[/img]
[img]http://s19.postimage.org/jzbz98i5b/product_images_1.gif[/img]
[img]http://s19.postimage.org/s63z0t87z/product_images_3.gif[/img]
???
Thanks
Lyn
#560
Posted 06 August 2012 - 12:57 AM
Lyn









