Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

@@Comesticage

Line 100 Calls for the stars

<?php echo tep_break_string(tep_output_string_protected($reviews['reviews_text']), 440, '-<br />') . ((strlen($reviews['reviews_text']) >= 500) ? '...' : '') . '<br /><br /><i>' . sprintf(TEXT_REVIEW_RATING, tep_image(DIR_WS_IMAGES . 'stars_' . $reviews['reviews_rating'] . '.gif', sprintf(TEXT_OF_5_STARS, $reviews['reviews_rating'])), sprintf(TEXT_OF_5_STARS, $reviews['reviews_rating'])) . '</i>'; ?>

Basically, it calls for tep_image(

Then it goes into the image directory

Looks for "stars_"

The "." in PHP is just a connector

So connected to "stars_" is $reviews['reviews_rating'] . gif

Or in other words "stars_1.gif" if it is a 1 star review

To change either change the image in the image folder, or create our own, and replace "stars_" with the replacement

Edited by newburns
Posted (edited)

@@newburns

 

omg, bad news. ever since i did the added the reviews tab

by adding the products_reviews.php that you provided.

 

my footer from all my web pages are gone!

 

SOS! what happen?

 

When i remove the products_reviews.php and restore both configure.php to the original. The footer is still missing. =(

 

Then i used my backup, but i still have my footers missing...

 

SOS!

Edited by Comesticage
Posted

I see it. You had an if statement without a function to run.

So the if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> was the error.

And thus, the ending function close "}"

 

What was that for originally?

  • 3 weeks later...
Posted

The Products Specifications addon includes tabs on the Product Info page, since it needs someplace to put the specifications. It all depends on what you need the tabs for. More information would be helpful.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

  • 2 weeks later...
Posted

Occasional problems in IE not working in my page tabs product_info.php product looks just text, but the page refresh time seems not doing tabs also not working functie Tell a friend sent an email but as I'll be all right if they do not have email: So when control.

 

 

<?php

/*

$Id$

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2010 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application_top.php');

 

if (!isset($HTTP_GET_VARS['products_id'])) {

tep_redirect(tep_href_link(FILENAME_DEFAULT));

}

 

require( DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO );

 

$product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");

$product_check = tep_db_fetch_array($product_check_query);

 

require( DIR_WS_INCLUDES . 'template_top.php' );

 

if ($product_check['total'] < 1) {

?>

<!-- // START Product Info Page Box -->

<script type="text/javascript" src="includes/general.js"></script>

<script type="text/javascript"><!--

function popupWindow(url) {

window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=280,screenX=150,screenY=150,top=150,left=150')

}

//--></script>

<!-- // END Product Info Page Box -->

 

<div class="contentContainer">

<div class="contentText">

<?php echo TEXT_PRODUCT_NOT_FOUND; ?>

</div>

 

<div style="float: right;">

<?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', tep_href_link(FILENAME_DEFAULT)); ?>

</div>

</div>

<?php

 

} else {

 

$product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id, pd.products_tab_1, pd.products_tab_2, pd.products_tab_3, pd.products_tab_4, pd.products_tab_5, pd.products_tab_6 from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");

 

$product_info = tep_db_fetch_array($product_info_query);

 

 

$manufacturer_query = tep_db_query("select m.manufacturers_id, m.manufacturers_name, m.manufacturers_image, mi.manufacturers_url from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on (m.manufacturers_id = mi.manufacturers_id and mi.languages_id = '" . (int)$languages_id . "'), " . TABLE_PRODUCTS . " p where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.manufacturers_id = m.manufacturers_id");

if (tep_db_num_rows($manufacturer_query)) {

$manufacturer = tep_db_fetch_array($manufacturer_query);

}

 

tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'");

 

if ($new_price = tep_get_products_special_price($product_info['products_id'])) {

$products_price = '<del>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</del> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';

} else {

$products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));

}

 

if (tep_not_null($product_info['products_model'])) {

$products_name = $product_info['products_name'] . '<br /><span class="smallText">[' . $product_info['products_model'] . ']</span>';

} else {

$products_name = $product_info['products_name'];

}

?>

 

<div class="contentContainer">

<div class="contentText">

 

<?php

if (tep_not_null($product_info['products_image'])) {

$pi_query = tep_db_query("select image, htmlcontent from " . TABLE_PRODUCTS_IMAGES . " where products_id = '" . (int)$product_info['products_id'] . "' order by sort_order");

 

if (tep_db_num_rows($pi_query) > 0) {

?>

 

<div id="piGal" style="float: right;">

<ul>

 

<?php

$pi_counter = 0;

while ($pi = tep_db_fetch_array($pi_query)) {

$pi_counter++;

 

$pi_entry = ' <li><a href="';

 

if (tep_not_null($pi['htmlcontent'])) {

$pi_entry .= '#piGalimg_' . $pi_counter;

} else {

$pi_entry .= tep_href_link(DIR_WS_IMAGES . $pi['image'], '', 'NONSSL', false);

 

}

 

$pi_entry .= '" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $pi['image']) . '</a>';

 

if (tep_not_null($pi['htmlcontent'])) {

$pi_entry .= '<div style="display: none;"><div id="piGalimg_' . $pi_counter . '">' . $pi['htmlcontent'] . '</div></div>';

}

 

$pi_entry .= '</li>';

 

echo $pi_entry;

}

?>

 

</ul>

</div>

 

<script type="text/javascript">

$('#piGal ul').bxGallery({

maxwidth: 300,

maxheight: 200,

thumbwidth: <?php echo (($pi_counter > 1) ? '75' : '0'); ?>,

thumbcontainer: 300,

load_image: 'ext/jquery/bxGallery/spinner.gif'

});

</script>

 

 

<?php

} else {

?>

 

<div id="piGal" style="float: right;">

<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image'], '', 'NONSSL', false) . '" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), null, null, 'hspace="5" vspace="5"') . '</a>'; ?>

</div>

 

<?php

}

?>

 

<script type="text/javascript">

$("#piGal a[rel^=fancybox]").fancybox({

cyclic: true

});

</script>

 

<?php

}

?>

 

<!-- // START Product Info Page Box -->

<div class="productinfobox">

<div class="ui-widget infoBoxContainer">

<div class="ui-widget-header infoBoxHeading">

<?php echo $products_name = $product_info['products_name']; ?>

</div>

<div class="ui-widget-content infoBoxContents" style='overflow:hidden;'>

<div style='width: 50%; float: left;'>

<?php

if (PRODUCT_INFO_PAGE_BOX_PRODUCT_MODEL == 'True') {

echo TEXT_MODEL . '<br />';

}

?>

 

<?php echo TEXT_PRICE; ?><br />

<?php if (PRODUCT_INFO_PAGE_BOX_PRODUCT_STOCK == 'True') {

echo TEXT_STOCK_LEVEL . '<br />';

}

?>

<?php

if (PRODUCT_INFO_PAGE_BOX_MANUFACTURER_INFO == 'True') {

echo TEXT_MANUFACTURER . '<br /><br /><br />';

}

?>

</div>

<div style='width: 50%; float: right;'>

<?php

if (PRODUCT_INFO_PAGE_BOX_PRODUCT_MODEL == 'True') {

echo $product_info['products_model'] . '<br />';

}

?>

<strong style="color:red"><?php echo$products_price; ?> - inc BTW</strong><br />

<?php if (PRODUCT_INFO_PAGE_BOX_PRODUCT_STOCK == 'True') {

echo tep_get_products_stock($product_info['products_id']) . '<br />';

}

?>

<?php

if (PRODUCT_INFO_PAGE_BOX_MANUFACTURER_INFO == 'True') {

echo $manufacturer['manufacturers_name'] . '<br />';

echo '<a href="' . tep_href_link(FILENAME_REDIRECT, 'action=manufacturer&manufacturers_id=' . $manufacturer['manufacturers_id']) . '" target="_blank">';

echo TEXT_HOMEPAGE;

echo '</a><br />';

echo '<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturer['manufacturers_id']) . '">';

echo MODULE_BOXES_MANUFACTURER_INFO_BOX_OTHER_PRODUCTS;

echo '</a><br />';

}

?>

</div>

<?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?>

<!-- Attributes Start -->

 

 

<?php

$products_attributes_query = tep_db_query("select count(*) as total 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 . "'");

$products_attributes = tep_db_fetch_array($products_attributes_query);

if ($products_attributes['total'] > 0) {

?>

 

<p><strong><?php echo TEXT_PRODUCT_OPTIONS; ?></strong></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;

}

?>

<div style='width: 50%; float: left;'>

<?php echo $products_options_name['products_options_name'] . ':'; ?>

</div>

 

<div style='width: 50%; float: right;'>

<?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?>

</div><br />

<?php

}

?>

</p>

 

<?php

}

?>

 

<!-- Attributes End -->

<div class="buttonSet">

<span class="buttonActionProductInfoCart">

<?php

echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary');

?></form>

</span>

</div><br />

<div class="buttonSet">

<span class="buttonAction">

<div class="buttonSetActionLeft">

<?php

if (PRODUCT_INFO_PAGE_BOX_QUESTION_BUTTON == 'True') {

echo '<a href="' . tep_href_link(FILENAME_ASK_A_QUESTION_POPUP) . '" target="_blank" onclick="$(\'#askaquestion\').dialog(\'open\'); return false;">';

echo tep_draw_button(TEXT_ASK_A_QUESTION_POPUP, 'help');

echo '</a>';

}

?>

</div>

</span>

<div class="buttonSetActionLeft">

<?php

if (PRODUCT_INFO_PAGE_BOX_REVIEW_BUTTON == 'True') {

echo '<a href="' . tep_href_link(FILENAME_REVIEWS_POPUP) . '" target="_blank" onclick="$(\'#reviews\').dialog(\'open\'); return false;">';

echo tep_draw_button(TEXT_REVIEWS_POPUP, 'comment');

echo '</a>';

}

?>

</div>

<div align="center">

<?php

if (PRODUCT_INFO_PAGE_BOX_TELL_BUTTON == 'True') {

echo tep_draw_form('email_friend', tep_href_link(FILENAME_TELL_A_FRIEND, 'action=process&products_id=' . (int)$HTTP_GET_VARS['products_id']), 'post', '', true);

echo '<a href="' . tep_href_link(FILENAME_TELL_A_FRIEND_POPUP) . '" target="_blank" onclick="$(\'#tellafriend\').dialog(\'open\'); return false;">';

echo tep_draw_button(TEXT_TELL_A_FRIEND_POPUP, 'mail-closed');

echo '</a>';

}

?>

 

</div>

</div>

</div>

</div>

</div>

</div>

 

 

<?php

$products_attributes_query = tep_db_query("select count(*) as total 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 . "'");

$products_attributes = tep_db_fetch_array($products_attributes_query);

if ($products_attributes['total'] > 0) {

?>

 

<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;

}

?>

<div style='width: 50%; float: left;'>

<?php echo $products_options_name['products_options_name'] . ':'; ?>

</div>

 

<div style='width: 50%; float: right;'>

<?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?>

</div><br />

<?php

}

?>

</p>

 

<?php

}

?>

 

 

<div class="buttonSet">

<span class="buttonAction"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?></span>

 

<?php echo tep_draw_button(IMAGE_BUTTON_REVIEWS . (($reviews['count'] > 0) ? ' (' . $reviews['count'] . ')' : ''), 'comment', tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params())); ?>

</div>

 

 

 

<?php //echo stripslashes($product_info['products_description']); ?>

<?php include_once (DIR_WS_MODULES . FILENAME_PRODUCTS_TABS); ?>

 

 

<?php

if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) {

?>

 

<p style="text-align: center;"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></p>

 

<?php

}

?>

 

<div style='width: 50%; float: right;'> </div>

 

<?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?>

 

<?php

$reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " r, " . TABLE_REVIEWS_DESCRIPTION . " rd where r.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and r.reviews_id = rd.reviews_id and rd.languages_id = '" . (int)$languages_id . "' and reviews_status = 1");

$reviews = tep_db_fetch_array($reviews_query);

?>

<div id="reviews" title="<?php

echo 'Reviews for ';

echo tep_get_products_name($product_info['products_id']); ?>">

<?php include(FILENAME_REVIEWS_POPUP); ?>

</div></form>

<div id="tellafriend" title="<?php

echo 'Tell a Friend About ';

echo tep_get_products_name($product_info['products_id']); ?>">

<?php include(FILENAME_TELL_A_FRIEND_POPUP); ?>

</div></form>

<div id="askaquestion" title="<?php

echo 'As Us a Question About ';

echo tep_get_products_name($product_info['products_id']); ?>">

<?php include(FILENAME_ASK_A_QUESTION_POPUP); ?>

</div></form>

 

<script type="text/javascript">

$('#reviews').dialog({

autoOpen: false,

width: 700,

buttons: {

'Close Dialog Box': function() {

$(this).dialog('close');

}

}

});

</script>

<script type="text/javascript">

$('#tellafriend').dialog({

autoOpen: false,

width: 400,

buttons: {

'Close Dialog Box': function() {

$(this).dialog('close');

}

}

});

</script>

<script type="text/javascript">

$('#askaquestion').dialog({

autoOpen: false,

width: 500,

buttons: {

'Close Dialog Box': function() {

$(this).dialog('close');

}

}

});

</script>

<!-- END Scripts for Popups -->

 

<?php

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_also_purchased(3600);

} else {

include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);

}

?>

</div>

 

 

<!--</form>-->

 

<?php

}

 

require(DIR_WS_INCLUDES . 'template_bottom.php');

require(DIR_WS_INCLUDES . 'application_bottom.php');

?>

  • 3 weeks later...
Posted

Hello all,

 

I am back. I was adding a new custom theme jquery (to change the colour of the heading).

 

What i did to my "template_top.php"

 

from

 

<!--link rel="stylesheet" type="text/css" href="ext/jquery/ui/bluepink/jquery-ui-1.8.24.custom.css" /-->
<!--link rel="stylesheet" type="text/css" href="ext/jquery/ui/bluepink/jquery-ui-1.8.24.custom.css" /-->
<link rel="stylesheet" type="text/css" href="ext/jquery/ui/bluepink/jquery-ui-1.8.24.custom.css" />
<script type="text/javascript" src="/shop/catalog/ext/simpletreemenu/simpletreemenu.js"></script>
<script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script>

 

to

 

<!--link rel="stylesheet" type="text/css" href="ext/jquery/ui/newpink/jquery-ui-1.10.3.custom.css" /-->
<!--link rel="stylesheet" type="text/css" href="ext/jquery/ui/newpink/jquery-ui-1.10.3.custom.css" /-->
<link rel="stylesheet" type="text/css" href="ext/jquery/ui/newpink/jquery-ui-1.10.3.custom.css" />
<script type="text/javascript" src="/shop/catalog/ext/simpletreemenu/simpletreemenu.js"></script>
<script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script>

 

The new custom theme was downloaded at the jquery website and version is already 1.10.3.

 

So just this 1 line, my tabs all did not work work. The contents on each tab all lump together into the 1st tab.

 

Anyone has any advice on this?

 

Thanks!

 

Regards,

  • 2 weeks later...
Posted

Hi,

 

I installed it on a virgin store, it work's fine.

Now I would have it in my store, but I always have the index page as a second layer on my product_info page !!!

Wherever I insert the last line of codes <?php include_once (DIR_WS_MODULES . FILENAME_PRODUCTS_TABS); ?> and that line shows the tabs in the product info, I also see the index page at the same time.

Whitout this addon my store works excellent, so somewhere there is an interaction with another addon.

 

Addons installed ;

-header_footer_content_modules_v1.2

-product-list-or-grid

-theme_switcher_1.4.2_min

-modular_front_page_1.4

-remove_unused_images

-hfc_banner_cycle_v1.0

-CART_VALUE_BREAD_CRUMB

-Enhanced categories box for osC2_3_3

-KissIT_image_thumbnailer_r9

-MATC_1

-skip_shipping_page

-bm_social_bookmarks Shareaholic 4.0.6.4.2

-DELETE HTML Content for popup

-ckeditor

--round-corners v1.1

-column_listing_with_smart_column.v1.1

-googlexml_sitemap_seo_v_1.5

 

If somebody has an idea why or solution, thanks for help

 

regards

Kozak

Posted

@

There are a couple of solutions earlier in this thread, starting with this post.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

Hi Jim,

 

 

thanks for your kind support, I forgot to tell that I already read and try that part, but that did'n change the problem.

It stays showing the indexpage over the product info page.

PTVERROR.jpg

  • 4 weeks later...
Posted

can anyone tell me how i can keep the description as it normally is on oscommerce, but have 5 tabs for other stuff

 

i kind of want to keep the description where it is,

 

but have tabs below for other information.

 

i dont want to move the descripton into a tab

Posted

can anyone point me to where i can style the tabs

 

thanks

 

i installed this plugin, works fine, but I altered it so that it will show 6 tabs now and the description stays in its own box rather than move into the first tab.

 

so now i have my normal description in its own div as normal,

 

and then 6 available tabs below for more details

  • 1 month later...
Posted

I have installed exactly as instructed, however, when I click an item it comes up with the main index screen again, so its like a double image ? I have double checked the amendments and cannot see where it has gone wrong???

Posted

I have installed exactly as instructed, however, when I click an item it comes up with the main index screen again, so its like a double image ? I have double checked the amendments and cannot see where it has gone wrong???

if you look at www.4nature.co.uk and check one of the products you will see what I mean
Posted

@@FreevieW

There are a couple of fixes posted in this thread, starting here. I suggest reading the rest of that page before deciding which to use.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

  • 2 months later...
Posted

This looks like a great contribution however it is not yet compatible with the current version of OSCommerce since there is no code of "include(DIR_WS_BOXES . 'tools.php');" in the admin/includes/column_left.php file. I have used an in depth search tool to see if it was hidden in another file however I cannot find it and I do not know enough about PHP to add this code anywhere else.

 

If anyone knows how to get this to work with the current version, please let me know.

Posted

This looks like a great contribution however it is not yet compatible with the current version of OSCommerce since there is no code of "include(DIR_WS_BOXES . 'tools.php');" in the admin/includes/column_left.php file. I have used an in depth search tool to see if it was hidden in another file however I cannot find it and I do not know enough about PHP to add this code anywhere else.

 

If anyone knows how to get this to work with the current version, please let me know.

Posted

@

 

The boxes in the latest version have been moved to admin/includes/modules/boxes.php. The code you need to add to the new file is slightly different, but you should be able to work it out by copying on of the other ones.

REMEMBER BACKUP, BACKUP AND BACKUP

Posted

@

 

The boxes in the latest version have been moved to admin/includes/modules/boxes.php. The code you need to add to the new file is slightly different, but you should be able to work it out by copying on of the other ones.

 

There is no "boxes.php" file in the directory you stated. Could it be somewhere else?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...