Jump to content

ce7

Members
  • Content count

    641
  • Joined

  • Last visited

  • Days Won

    1

ce7 last won the day on June 5 2015

ce7 had the most liked content!

Profile Information

  • Real Name
    lyn

Recent Profile Visitors

19,351 profile views
  1. @Mikepo @ArtcoInc Thank you very much for the help. I changed the code and it works great!
  2. Hi, I had installed Store Search with Typeahead addon, mostly works but I found that somehow the product name will not display correctly in the search result. Please find the attached gif to see what I mean. Example: search for clear Grifflon, search box enter cle, and then the search result show up cler instead of clear. Any suggestion which file and code that I can modify to make the search result for product name display correctly?
  3. Hi, I found a 2.2 addons Request Product Info V 1.0 that I like to try to install on newer version. It's support thread has disabled, and it is old addon so I think the creator no longer provide support. The readme_installation.txt file has the step for shopping_cart.php code modification: FIND: (around line 76) $products = $cart->get_products(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { REPLACE WITH: $products = $cart->get_products(); $productsList = array(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { if (($pos = strpos($products[$i]['id'], "{")) !== FALSE) $productsList[] = substr($products[$i]['id'], 0, $pos); else $productsList[] = $products[$i]['id']; How can the code below modify with which files to match the newer CE/Phoenix version? $productsList = array(); for ($i=0, $n=sizeof($products); $i<$n; $i++) { if (($pos = strpos($products[$i]['id'], "{")) !== FALSE) $productsList[] = substr($products[$i]['id'], 0, $pos); else $productsList[] = $products[$i]['id']; Thank you!
  4. ce7

    DB1064 Error

    @Jack_mcs Thank you for reply. I can not figure out why WHERE name will relate to from <SELECT COUNT(*) AS total from addons_installed
  5. ce7

    DB1064 Error

    Hi, I have manufacturer by letter on 1075 version, and get this error Fatal error: DB: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1' at line 1 from <SELECT COUNT(*) AS total from addons_installed 1 in within the code below, I can not see SELECT COUNT(*) AS, can anyone please help to explain why this error and how to fix it? Thanks. <?php $manufacturer_name_query_start = "select manufacturers_id from manufacturers where manufacturers_name"; $manufacturer_name_query_end = " limit 1"; $manufacturer_name_query = $manufacturer_name_query_start . " regexp '^[0-9]'" . $manufacturer_name_query_end; $manufacturer_name = tep_db_query($manufacturer_name_query); if (tep_db_num_rows($manufacturer_name) > 0) { echo '<a href="' . tep_href_link('manufacturers.php', 'mLetter=num') . '" style="text-decoration:underline;">'; if (isset($_GET['mLetter']) && ($_GET['mLetter'] == 'num')) { echo '<strong>'; } echo '#'; if (isset($_GET['mLetter']) && ($_GET['mLetter'] == 'num')) { echo '</strong>'; } echo '</a>' . "\n"; } else { echo '#' . "\n"; } foreach (range('A', 'Z') as $letter) { $manufacturer_name_query = $manufacturer_name_query_start . " like '" . $letter . "%'" . $manufacturer_name_query_end; $manufacturer_name = tep_db_query($manufacturer_name_query); if (tep_db_num_rows($manufacturer_name) > 0) { echo '<a href="' . tep_href_link('manufacturers.php', 'mLetter=' . $letter) . '" style="text-decoration:underline;">'; if (isset($_GET['mLetter']) && ($_GET['mLetter'] == $letter)) { echo '<strong>'; } echo $letter; if (isset($_GET['mLetter']) && ($_GET['mLetter'] == $letter)) { echo '</strong>'; } echo '</a>' . "\n"; } else { echo $letter . "\n"; } } echo '<a href="' . tep_href_link('manufacturers.php') . '" style="text-decoration:underline;">show all</a>' . "\n"; ?>
  6. Melhor

    Hi Ce7,

    I saw your addon, just what I was looking for but got instant problem.
    1.1 catalog/admin/customers.php that's ok
    1.2 catalog/admin/includes/classes/order.php this files does not excist in this map!

    I use Phoenix 1.0.7.10

    thanks for your support and time

  7. ce7

    Header Tags SEO

    Hi Jack, @Jack_mcs Thanks for this addon. I had installed it on Phoenix 1075, while trying to update categories/products, found error when click on the view button Fatal error: Uncaught Error: Call to undefined function tep_get_products_head_title_tag_alt() in /admin/categories.php:1448 Stack trace: #0 {main} thrown in admin/categories.php on line 1448 $pInfo->products_head_title_tag_alt = tep_get_products_head_title_tag_alt($pInfo->products_id, $languages[$i]['id']); Had check the admin/includes/header_tags_general.php has this function and made sure the files are upload on server no problem, however it is still showing...how can I change the code so that error goes away? Many thanks! Lyn
  8. ce7

    Paypal Retrieve Live Credentials error

    @burt my client website stop to get paypal payment on 20 Oct 2020, tried to un-install and reinstall (tried to delete the log from database as well...) but it will not uninstall completely even the database log been deleted, as the balance/confiugration/Credentials / log still remain (no Start show up), and the balance is error. I am using Phonese 1.0.7.5, never can have the live retrieve working, always error and only allow manually edit, but can not get balance, after client made order they can not pay via paypal, so contact paypal twice, over a week so far, still waiting for respond from paypal, what they said at first place is contact with oscommerce developing team.... my question is after i uninstall the paypal module, module tab / payment selection, has no paypal module listed, delete the database log, but the the start button will not show up and the balance got error, how can i fix this problem? Another question, why has two paypal drop down on admin menu? Many thanks! Lyn (PHP version: 7.3 / has https)
  9. Hi Rainer, @raiwa Thank you for this addon, i just installed on Phoenix 1075 version. On the admin/customers_points.php I can see Exchange Rates : Awards : $1.00 = 1 point Redeem : 1 point = $0.10 if I want to change awards: $10.00 = 1 point, or redeem: 1 point = $0.01, how can I do it? Thanks! Lyn
  10. ce7

    Wholesale (SPPC lite)

    Hi Matt, sorry, I asked here, because it is related to the includes/system/ but i think i use wrong example, should use language.php, for example (version 1.0.0.0 and version 1.0.7.4), I know that Rainer and you had said no need to update includes/system/versioned but seems it was brought out, so I just think maybe can ask...) I will post in a new post for this later.... the forum manager please feel free to delete the post if it is not the right place...ta!
  11. ce7

    Wholesale (SPPC lite)

    Hi Rainer @raiwa, I will uninstall this, and upgrade the phoenix 1075 to 1079 first, i install nearly 90 addons, so wasn't going to reinstall from the beginning again, but will try to follow the upgrade steps(1075 to 1076, 1075 to 1077, 1077 to 1079). Once I done that I will install the 4.3.0 version. thank you for your supports! Lyn
  12. ce7

    Wholesale (SPPC lite)

    Hi Matt, thank you for the information. can you please briefly explain how this versioned works, as I can see few different version, if the some addon involve to modify code, let say order.php do i modify one of the file or do i modify all or something else? Thanks Lyn
  13. ce7

    Wholesale (SPPC lite)

    Hi Rainer, @raiwa Thank you for this addon. I have installed it on Phoenix 1075 with 4.2.0 version. I got two questions. Q1: I have error message as below, what I did is just comment out that line, will that affect the addon if I did so? (the error message did go away after I comment out) Warning: include_once(includes/classes/language.php): failed to open stream: No such file or directory in /mysite.com/includes/modules/store/st_wholesale.php on line 140 Q2: I am testing and see how the addon works. I installed header message, which works great, if I am not login, it will show guess message... then installed other content for WP, use index as example, if I installed the WP for index, even I am not login, just guess, I still can see index for WP, is it possible when only login as Wholesaler then the index content will show up, if not login as guess, then it just show normal price? (same to other contents and boxes) Thanks! Lyn
  14. ce7

    Information Pages SEO addon

    @Jack_mcs Hi Jack, I did try to reinstall from newer version download, but the error message appeared still the same problem, Fatal error: Uncaught Error: Call to protected method cm_footer_information_pages::install() from context '' in catalog/admin/modules_content.php:126 Stack trace: #0 {main} thrown in catalog/admin/modules_content.php on line 126 (#126 code: $module->install(); ) Only infobox installed so far, it is ok as I only need the infobox so far, but not sure if others has similar problem like me to install the footer... with the database, I tried #1 install from new, no install, #2 installed wit the newer version information_pages_seo_db_handler.php, reset, but got all the different error, and I end up run sql at phpMyAdmin with find this -- (Disable UL style', 'INFORMATION_PAGES_SEO_XREF_USE_UL', 'true', 'Set to true to not use lists in the footer modules.', 22, 7, NULL, now(), NULL, 'tep_cfg_select_option(array(\'true\', \'false\'), '), replace with ('Disable UL style', 'INFORMATION_PAGES_SEO_FOOTER_XREF_USE_UL', 'true', 'Set to true to not use lists in the footer modules.', 22, 7, NULL, now(), NULL, 'tep_cfg_select_option(array(\'true\', \'false\'), '), and now the language error on front page is gone... Another tiny question is with Phoenix 1075, I have recently view addon installed, and it will show up index / index_nest area, and if the setting is show up, let says as 4+, then the AN INTERESTING ARTICLES..... will be the very bottom of the websites, is there a way to be able to setup the sort order so that I can change AN INTERESTING ARTICLES..... appear on top of the recently viewed addon?
  15. ce7

    Information Pages SEO addon

    @Jack_mcs Hi Jack, I have the database installed, but I will double check it again. Maybe something goes wrong. Thank you very much for prompt reply. Looking forward to installing the newer version with off option. Once again, thank you for the great addon and support!
×