Jump to content

cidojt

Members
  • Content count

    3
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Aparecido
  1. cidojt

    Contribution Issue

    hello, I installed this addon and in my Admin Categories another addon I use, the product tabs. installing this with WYSIWYG HTMLArea (MULTI-LINGUAL) v1.7. in one of the lines of an error. As I do not understand php leave the question here as I proceed. And I'm installing WYSIWYG_v1.9FR Gyakutsuki 30 Apr 2005 'm spending my categories here for you to help me. I am grateful and thank you. // Product Tabs 2.0 Start $description_query = tep_db_query("select language_id, products_name, products_description, products_spec, products_musthave, products_extraimage, products_manual, products_extra1, products_moreinfo, products_url from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$products_id . "'"); // Product Tabs 2.0 End while ($description = tep_db_fetch_array($description_query)) { // Product Tabs 2.0 Start tep_db_query("insert into " . TABLE_PRODUCTS_DESCRIPTION . " (products_id, language_id, products_name, products_description, products_spec, products_musthave, products_extraimage, products_manual, products_extra1, products_moreinfo, products_url, products_viewed) values ('" . (int)$dup_products_id . "', '" . (int)$description['language_id'] . "', '" . tep_db_input($description['products_name']) . "', '" . tep_db_input($description['products_description']) . "', '" . tep_db_input($description['products_spec']) . "', '" . tep_db_input($description['products_musthave']) . "', '" . tep_db_input($description['products_extraimage']) . "', '" . tep_db_input($description['products_manual']) . "', '" . tep_db_input($description['products_extra1']) . "', '" . tep_db_input($description['products_moreinfo']) . "', '" . tep_db_input($description['products_url']) . "', '0')"); // Product Tabs 2.0 End } tep_db_query("insert into " . TABLE_PRODUCTS_TO_CATEGORIES . " (products_id, categories_id) values ('" . (int)$dup_products_id . "', '" . (int)$categories_id . "')"); $products_id = $dup_products_id; } if (USE_CACHE == 'true') { tep_reset_cache_block('categories'); tep_reset_cache_block('also_purchased'); } } tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $categories_id . '&pID=' . $products_id)); break; case 'new_product_preview': // copy image only if modified // Product Tabs 2.0 Start //BOF UltraPics if (($HTTP_POST_VARS['unlink_image'] == 'yes') or ($HTTP_POST_VARS['delete_image'] == 'yes')) { $products_image = ''; $products_image_name = ''; } else { //EOF UltraPics // Product Tabs 2.0 End case 'new_product_preview': <!-- Error here *****************************************--> if (HTML_AREA_WYSIWYG_DISABLE == 'Disable') { // copy image only if modified $products_image = new upload('products_image'); $products_image->set_destination(DIR_FS_CATALOG_IMAGES); if ($products_image->parse() && $products_image->save()) { $products_image_name = $products_image->filename; } else { $products_image_name = (isset($HTTP_POST_VARS['products_previous_image']) ? $HTTP_POST_VARS['products_previous_image'] : ''); } else { if (isset($HTTP_POST_VARS['products_image']) && tep_not_null($HTTP_POST_VARS['products_image']) && ($HTTP_POST_VARS['products_image'] != 'none')) { $products_image_name = $HTTP_POST_VARS['products_image']; } else { $products_image_name = (isset($HTTP_POST_VARS['products_previous_image']) ? $HTTP_POST_VARS['products_previous_image'] : ''); } } break; } } // Product Tabs 2.0 Start
  2. cidojt

    2gether Discount

    **************** It worked with version 2.04 of Jarderrosa. thanks. ****************
  3. cidojt

    2gether Discount

    hello, I installed this contribution and all goes well, only to insert the products it the following error "Fatal error: Call to undefined function tep_get_products_price () in / home/acessogc/public_html/loja/admin/2gether.php on line 268" and I can not do anything else. or aparecece in produt_info.php. Someone know how to help me? site is http://acessog3.com.br. Grateful!
×