Jump to content

bitit.it

Members
  • Content count

    30
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. bitit.it

    Automatically send data feed to Froogle

    very simple change feed language , changing the order of language $query_lang_bitit=tep_db_query('SELECT * FROM languages ORDER BY sort_order'); $result_lang_bitit= mysqli_fetch_array($query_lang_bitit); $language_id_bitit= $result_lang_bitit['languages_id']; $language_code_bitit= $result_lang_bitit['code']; $language_bitit= $result_lang_bitit['name']; define('FEEDNAME', $language_bitit.'-your-outfile.txtt'); // define('DEFAULT_LANGUAGE_ID', $language_id_bitit); // define('OPTIONS_FEED_LANGUAGE', $language_code_bitit); //
  2. bitit.it

    Automatically send data feed to Froogle

    for the moment the best should be define('FEEDNAME', $language.'-your-outfile.txtt'); // where $language is default language define('DEFAULT_LANGUAGE_ID', $languages_id); //Default id Language define('OPTIONS_FEED_LANGUAGE', $defaultcodelanguage); // do you know real name of this variable? alternatively i have create a query on top of the file that give me this variables Enrico
  3. bitit.it

    Automatically send data feed to Froogle

    can i suggest a little change : define('FEEDNAME', $language.'-your-outfile.txtt'); //from your googlebase account instead of define('FEEDNAME', '-your-outfile.txt'); //from your googlebase account because if i want make two different campaign with two different language in this way i can create different feed for any language. following i want try to create a new interface , changing the link for create the feed in a form where is possible select any active language. and change in define('FEEDNAME', $getLanguage.'-your-outfile.txtt'); //from your googlebase account Enrico
  4. bitit.it

    Automatically send data feed to Froogle

    at the moment i have a test version with php 5.6.4 but i want put production with php7.1 minimum . In this way seem work in both version. Thank you Enrico
  5. bitit.it

    Automatically send data feed to Froogle

    i try to install google feeder in lat phenix version but , i have this error Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /archivio/html/osnew/admin/googlefeeder.php on line 311 Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /archivio/html/osnew/admin/googlefeeder.php on line 410 Feed contains 0 products. can you help me? Enrico
  6. bitit.it

    reviews

    Ok, solved , the problem been simply that the products reviewed was out of stock. But is possible maintain the review for old products? Enrico
  7. Yes, thank you seem work properly Enrico
  8. i'll try it. i'm not so expert of oscommerce code but i believe is only two solutions or use "prepare" but i never used it with mysqli only in PDO , or we must cleaning the string by dangers types usually i use addslash or htmlspecialchars; In this way if danger also for SQL injection . Enrico
  9. magic quote isn't safely is deprecate from a lot of years Enrico
  10. bitit.it

    Newsletter products, HTML email

    also this give me error //newsletter products include(DIR_WS_MODULES . 'newsletters/newsletter_products.php'); include(DIR_WS_LANGUAGES . $language . '/modules/newsletters/newsletter_products.php'); $products = new newsletter_products('','', '', ''); $parameters = array('title' => '', 'content' => '', 'module' => '', 'template' => ''); //end newsletter products this don't give error //newsletter products include("includes/modules/". 'newsletters/newsletter_products.php'); include("includes/languages/". $language . '/modules/newsletters/newsletter_products.php'); $products = new newsletter_products('','', '', ''); $parameters = array('title' => '', 'content' => '', 'module' => '', 'template' => ''); //end newsletter products But nothing is change in the interface, i don't understand if don't working or how use this module
  11. i must put a slash before type ' otherwise i have a SQL error
  12. bitit.it

    Newsletter products, HTML email

    on file catalog/admin/newsletters.php require(DIR_WS_CLASSES . 'currencies.php'); don't working require( 'currencies.php'); working but give this error Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /archivio/html/osnew/admin/includes/functions/compatibility.php:18) in /archivio/html/osnew/admin/includes/functions/compatibility.php on line 29 if i change this: //newsletter products //currenices class required for price display in newsletter require( 'currencies.php'); $currencies = new currencies(); //end newsletter products whit this //newsletter products //currenices class required for price display in newsletter //require( 'currencies.php'); //$currencies = new currencies(); //end newsletter products i haven't error Enrico
  13. bitit.it

    Newsletter products, HTML email

    i try to install your plugin in new OSCOM CE Phoenix in catalog/includes/modules/boxes/bm_information.php FIND around line 41: ' <a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . MODULE_BOXES_INFORMATION_BOX_CONDITIONS . '</a><br />' . ADD after it: ' <a href="' . tep_href_link(FILENAME_NEWSLIST) . '">' . MODULE_BOXES_INFORMATION_BOX_NEWS . '</a><br />' . i havn't nothing of similar . in attach my file this line is in: catalog/includes/templates/boxes Enrico bm_information.php
  14. bitit.it

    reviews

    Thank you jack but i have reviews_status all with value=1 Enrico
×