Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by discxpress

  1. discxpress

    Database Check Tool

    Hello, I use this addon for version 2.3.4. I have over 5000 products with duplicate names. It's tedious to delete them one by one so what's the SQL syntax to accomplish the same task in phpmyadmin? Thanks in advance.
  2. discxpress

    Add More Fields

    @@Jack_mcs I removed the 10-15 lines of code related to function tep_sort_admin_boxes AND function tep_sort_admin_links from admin/column_left.php. Everything seems to be working fine except I now have 2 columns. But it works.
  3. discxpress

    Add More Fields

    I'm going to try a fresh install. I haven't made any changes to categories.php file. But have made some changes to the catalog.php file like adding links to easy populate. Thanks for the reply.
  4. discxpress

    Add More Fields

    @@Jack_mcs no changes made. I can't remember if I made any changes when I installed it on my version shop.
  5. discxpress

    Add More Fields

    @@Jack_mcs I'm using OSC version and I when I click on "Add More Fields" in admin, I get the follwing error: Fatal error: Cannot redeclare tep_sort_admin_boxes() (previously declared in /home/xxxxxx/public_html/xxxxxx/includes/column_left.php:40) in /home/elgxvqtc/public_html/bt0wnmeD1a/includes/column_left.php on line 40 And this the line of code referenced in admin/includes/column_left.php: function tep_sort_admin_boxes($a, $b) { return strcasecmp($a['heading'], $b['heading']); } Thanks for your time and assistance.
  6. @@Tsimi I'm upgrading from to Bootstrap is more flexible. I will create a new topic next time. Thanks for letting me know that. @@burt I apologize for getting offtopic.
  7. Hello, I'm upgrading my site to bootstrap. I'm wondering where is the CSS that control the shopping cart button. I want to change it back green. Thanks for your assistance
  8. discxpress

    Additional Fees

    @@Roaddoctor I'm looking for something like that. I have dozens, maybe a 100 items that have a surcharge added to them. I implement flat rate shipping. I'm hoping to add a field to the products file where I can add a shipping surcharge to the item. For example, v_products_surcharge and then place a snippet of code in the shipping module file like above in your example where it only affects items with surcharges. Your time and assistance is appreciated.
  9. Hello everyone! If you have Header Handler Status v1.0 by @@Jack_mcs installed, this contribution is compatible. All you have to do is apply the installation instructions to the appropriate files in the "mobile" directory. @@Jack_mcs and @@raiwa please confirm and/or add details to avoid any confusion or complications. Thanks
  10. Hello @@raiwa The changes I've made are: 1. I added the SEO Url support to includes/functions/html_output.php 2. I used the mobile directory for 2.3.3 shop and placed at the root where the image directory is located. I'm PM you the configure file as requested. Thanks
  11. @@raiwa I've made some changes and now I'm receiving this error: Warning: require_once(includes/application_top.php) [function.require-once]: failed to open stream: No such file or directory in /home/elgxvqtc/public_html/mobile/index.php on line 2 Fatal error: require_once() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/elgxvqtc/public_html/mobile/index.php on line 2 Thanks
  12. @@raiwa No, I didn't add the SEO URL support. Actually, I have the latest SEO Url by Chemo installed. So i need to add that part in? I did use the files in "for_OsC_2.3.3_2.3.3.2" folder" and the files in the common files folder. I just realized what I've done Thanks for your continued support.
  13. @@raiwa Thanks for the reply. I made the switch and it's working better. However, when I switch to mobile site it goes to a page where all the files are listed. When you have time, please go to http://btownmedia.com and switch to the mobile site yourself. The link is at the bottom near the GoDaddy badge. Thanks again.
  14. Hello @@raiwa Here's my includes/configure.php: <?php define('HTTP_SERVER', 'http://mysite.com'); define('HTTPS_SERVER', 'https://mysite.com'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.mysite.com'); define('HTTPS_COOKIE_DOMAIN', '.mysite.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); // define('DIR_WS_IMAGES', 'images/'); // define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); // define('DIR_WS_INCLUDES', 'includes/'); //BOF Mobile define('HTTP_MOBILE_SERVER', HTTP_SERVER); define('HTTPS_MOBILE_SERVER', HTTPS_SERVER); define('DIR_WS_HTTP_MOBILE', DIR_WS_HTTP_CATALOG . 'mobile/'); define('DIR_WS_HTTPS_MOBILE', DIR_WS_HTTPS_CATALOG . 'mobile/'); (defined('MOBILE_SESSION') ? define('DIR_WS_IMAGES', HTTP_SERVER . DIR_WS_HTTP_CATALOG . 'images/') : define('DIR_WS_IMAGES', 'images/')); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); (defined('MOBILE_SESSION') ? define('DIR_WS_INCLUDES', '../includes/') : define('DIR_WS_INCLUDES', 'includes/')); //EOF Mobile define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); //BOF Mobile define('DIR_MOBILE_IMAGES', 'images/'); define('DIR_MOBILE_INCLUDES','includes/'); define('DIR_MOBILE_MODULES', DIR_MOBILE_INCLUDES . 'modules/'); define('DIR_MOBILE_CLASSES', DIR_MOBILE_INCLUDES . 'classes/'); define('DIR_MOBILE_HEADERS', DIR_MOBILE_INCLUDES . 'headers/'); define('DIR_MOBILE_LANGUAGES', DIR_MOBILE_INCLUDES . 'languages/'); //EOF Mobile // define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); //BOF Mobile (defined('MOBILE_SESSION') ? define('DIR_WS_DOWNLOAD_PUBLIC', HTTP_SERVER . DIR_WS_HTTP_CATALOG . 'pub/') : define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/')); //EOF Mobile //BOF Mobile define('DIR_FS_MOBILE', DIR_FS_CATALOG . 'mobile/'); //EOF Mobile define('DIR_FS_CATALOG', '/home/elgxvqtc/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Also, please note that I installed the mobile directory from the common files folder. Thanks for quick reply.
  15. @@raiwa I'm running version 2.3.3 and when I switch to mobile, I get the following error: Warning: require(DIR_FS_MOBILEincludes/classes/mobile_redirect.php) [function.require]: failed to open stream: No such file or directory in /home/elgxvqtc/public_html/includes/application_top.php on line 577 Warning: require(DIR_FS_MOBILEincludes/classes/mobile_redirect.php) [function.require]: failed to open stream: No such file or directory in /home/elgxvqtc/public_html/includes/application_top.php on line 577 Fatal error: require() [function.require]: Failed opening required 'DIR_FS_MOBILEincludes/classes/mobile_redirect.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/elgxvqtc/public_html/includes/application_top.php on line 577 I have 'Enable Mobile Site?' set to true in admin. When set to false everything works fine. Thanks
  16. discxpress

    Multi_Vendor_Shipping new thread

    It seems like we're on the same page as far as logic. As for the coding aspect of it, I'm clueless. To clear up exactly what I need: 1) Set shipping rates by categories, not by shipping vendor. 2) Products listed in sub-categories will inherit the rates of parent categories, unless it's feasible to code an option where sub-categories can have different shipping rates. One supplier has shipping rates ranging from $10 to $50 based on weight. But I will just charge my customers a flat rate close to their averages. 3) The highest shipping rate will override the lower rates if items are ordered from different categories with different rates. The items with lower shipping rates will be charged an additional item fee that's previously set no matter which category from which they came. I will PM you for further details. Thanks.
  17. discxpress

    Multi_Vendor_Shipping new thread

    @@kymation Thanks for the very fast response from a busy gentleman. You've implied that #3 can be accomplished with code addition. BUT the same goal may be obtained this way: Charge different shipping rates for different categories, since my products will be arranged by categories not by supplier. Basically, charge a flat shipping rate according to the parent category and all products in the sub-categories will inherit the shipping costs of the parent category. There's already one great attempt to this which I can't get it to work because it's so complex that it's very confusing. That module is Separate Shipping per Product [sSPP]. It's easier to apply a flat rate shipping cost to the parent categories and the parent category with the highest shipping costs will be the base while products from other categories with lower shipping costs with be charged the additional item cost. I could use First item X module but one of my suppliers charge a lot more than the rest. What would be your approach to this? Thanks
  18. discxpress

    Multi_Vendor_Shipping new thread

    Hello I am looking for a multi-vendor shipping module that deals with only flat rate shipping and has the ability to charge for additional items. Here's exactly what I'm looking for: 1) Set a different flat rate for each vendor. 2) The ability to add an additional item cost to each order 3) An automatic override for highest shipping rate. (Example: If a customer orders multiple items from different vendors, then which vendor that has the highest shipping cost will override the others. The additional items will be charged the additional item charge.) Here's a breakdown: 1) Vendor #1 5.00 2) Vendor #2 7.50 3) Vendor #3 10.00 That has already been accomplished ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ What if this happens? A customer orders 3 items, 1 from each vendor. I would like for the total shipping cost to be calculated like this: 10.00 shipping for the item ordered from Vendor #3. It will be the starting shipping cost because it's the highest +1.50 additional item ordered from Vendor #1 +1.50 additional item ordered from Vendor #2 ____________________________________ 13.00 for the total shipping costs I believe that will be a good compromise between the shop owner and the customer on the costs of shipping. However, the shop owner will have the option to take a loss on the shipping costs OR figure a way to make up for the loss in shipping costs. Has this been accomplished? It will take forever to read through 233 pages. Thanks for reading.
  19. @@rpdesign I'm still having difficulties getting this to work as I would like it. To me it seems like this is 2 separate shipping modules inter-weaved into a big one. Your logic is very complex, which makes you a genius. Please allow me to make some suggestions. I figure it would be easier if you broke SSPP into two modules but rolled up in one package. For example, have a SSPP for flat rates and a SSPP for table rates. I think that would be less confusing and you can get rid of some of the default settings. With the SSPP for flat rates, site owners can set different rates for categories and/or products. You can also set an "additional item" feature with flat rate shipping. With SSPP for table rates, different table rates for categories and/or products can be set. I wouldn't dare ask you to abandon this project, it will be great once you iron out all the wrinkles. I was thinking if you broke it down into two separate shipping modules, shop owners could choose which one that better suits their needs. As for me, what I'm looking for is to set different flat rates for each category and then add an item for an additional fee. For example, I add a book for $4.95 shipping and then I add a DVD for $1.50 more OR add 2 items from the same category and add on an additional fee. Check out this. I hope I didn't offend you but I was hoping to give you another angle to tackle this. Keep up the good work.!!!!
  20. discxpress

    Enhanced Contact Us for 2.3.1

    @@Mort-lemur Thanks for this fine contribution. Everything seems to work fine. When an email is sent from the contact us page, this is how it shows up: MESSAGE_FROMxoxoxo Date Sent: 20 Feb 2014 22:19:19 MAIL_IPxx.xx.xx.xxx Message: test number two How to get "MESSAGE_FROM" and "MAIL_IP" to look like "Message From:" and "At IP:"? Thanks
  21. discxpress

    Google XML Sitemap SEO

    Jack for some reason when I logged in to the admin and switched to Alternate and re-ran the script they all failed. Then I switched back to Standard and run the script again they were all created successfully. ALSO the script rendered the correct amount of sitemapproducts.xml links. So I guess you can disregard my previous posts unless that's a red flag of some sort. Thanks.
  22. discxpress

    Google XML Sitemap SEO

    @@Jack_mcs I don't know if this has been mentioned before or I've used the wrong keywords to search. But when I run the script for the sitemaps they all are created successfully however the sitemapindex.xml renders links for sitemapproducts1.xml, sitemapproducts2.xml, and sitemapproducts3.xml. At the moment, I have only like 1200 products so the 3 mentioned product sitemaps aren't needed yet. This is causing Google to look for them when I submit the sitemapindex.xml in Webmaster Tools. Thanks.
  23. discxpress

    Links Manager II

    @@Jack_mcs I found the solution: in admin/includes/boxes/links.php change: array( 'code' => FILENAME_LINKS_CATEGORIES, 'title' => BOX_LINKS_LINK_CATEGORIES, 'link' => tep_href_link(FILENAME_LINKS_CATEGORIES) ), to array( 'code' => FILENAME_LINK_CATEGORIES, 'title' => BOX_LINKS_LINK_CATEGORIES, 'link' => tep_href_link(FILENAME_LINK_CATEGORIES) ), Simply remove the 2 S and issue resolved!
  24. discxpress

    Links Manager II

    @@Jack_mcs I get this error when I click the link to open link_categories in admin: The requested URL /username/admin/FILENAME_LINKS_CATEGORIES was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. @@dhooper said there was a typo but she didn't mention where and how she fixed it. Thanks
  25. discxpress

    [Addon] Generic Box

    @@kymation Has anyone figured out how to display an image in the box? I've tried everything in this thread. I don't have CKEditor installed. I appreciate any help you give. Thanks