Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by Demitry

  1. My current set-up: 2.3.4 BS Edge, PHP 7.2, MVS While working on creating a printable PDF Vendor Purchase Order (something osC must have, but does not), I came across an issue where product options do not reflect additional vendor cost. So, in admin/products_attributes.php you can add options and related retail cost per product, but when it comes to accounting for the additional vendor-related product costs for each selected option, there is nothing. There are several things to consider here. Some vendors have different item and/or model numbers for each product depending on additional options it contains. osC has one model number per product and additional options you can charge extra for. So, one way to resolve this would be to have the selected options dropdown option automatically change the product model number on the product_info.php page. To do this, there needs to be a modification made to the admin/categories.php page for each new product. One that pairs the option permutations available to each model number and vendor item number per product. Another way would be to add two more columns to the admin/products_attributes.php page Product Attributes table, next to that Value Price column. One column would allow to record the cost of the related added option, and another would be a dropdown to select the related vendor and/or change in item number. That would also have to be reflected via the vendor order email, PO, and the store’s accounting. This is challenging because different vendors use different ways for product inventory accounting and a retailer (such as an osC store) would be somewhat dependent on such an inventory accounting structure. I could not find any info or related addons to resolve this issue. And, I’d like to hear from anyone who found a solution or could help develop one.
  2. Multi_Vendor_Shipping new thread

    @kymation Jim, I updated the shopping cart Shipping Estimator addon for the BS Edge version. I'll pm you the package and details in a few.
  3. Shipping in cart without addon?

    I realize this is an old thread, however,.. while redoing the Shipping Cost Estimator addon for BS Edge, I came across the same error message. See below: [08-Jun-2018 20:41:53 America/New_York] PHP Warning: Creating default object from empty value in /home/ ... /public_html/dev2/ship_estimator.php on line 90 I fixed it via this - in catalog/ship_estimator.php Find the following code (around line 90 to 92): $country_info = tep_get_countries($shipcountry, true); $order->delivery = array('postcode' => $shippostcode, 'country' => array('id' => $shipcountry, 'title' => $country_info['countries_name'], 'iso_code_2' => $country_info['countries_iso_code_2'], 'iso_code_3' => $country_info['countries_iso_code_3']), 'country_id' => $shipcountry, 'format_id' => tep_get_address_format_id($shipcountry)); Add just above it: require_once('includes/classes/order.php'); $order = new order; I tested it with different scenarios, both logged in and not, no errors at all. I hope this helps anyone who may stumble upon this thread in search for a solution. Demitry
  4. @deepsonline Here are two that are not BootStrap. I have not installed these, though I'm sure they require modifications, ...same as most other osC addons. https://apps.oscommerce.com/uEx8R&horizontal-category-drop-down-menu https://apps.oscommerce.com/2Dn2u&superfish-horizontal-category-menu-jque
  5. Multi_Vendor_Shipping new thread

    that's fine, then let me get those from you. Do you want to pm those to me? I'll follow up with you when I get as far as I can with it.
  6. Multi_Vendor_Shipping new thread

    well, what I'm doing is using a modified version from my MS2.2 site. Then, using a comparison tool I updated it to the latest version of the addon and updated all the code structures to work with osCv2.3.4 BS. And now, I've made it as a modal box pop-up from the shopping cart page. I still have some issues to resolve, including that php warning. I wanted to create this as a BS Edge module, but ran into technical issues that are beyond my scope of know-how. Perhaps after I get it completed, we could share the files and see if the combined changes can become a new updated version of this addon?
  7. Multi_Vendor_Shipping new thread

    Jim, I'm actually still working with it, so this may be a bit premature. Let me get this file completed and I'll revisit the topic if that error still persists. At which point I could give you the full source code. I just thought I'd ask to see if this was an issue you've encountered before.
  8. Multi_Vendor_Shipping new thread

    @kymation It's actually this in the latest version. So, I changed it to the $_POST['country_id'] and re-ran it, but am still getting the same error message for this line. $order->delivery = array('postcode' => $shippostcode, 'country' => array('id' => $shipcountry, 'title' => $country_info['countries_name'], 'iso_code_2' => $country_info['countries_iso_code_2'], 'iso_code_3' => $country_info['countries_iso_code_3']), 'country_id' => $_POST['country_id'], 'format_id' => tep_get_address_format_id($_POST['country_id']));
  9. Multi_Vendor_Shipping new thread

    @kymation hi Jim, I'm working on installing the MVS Shipping Cost Estimator and keep getting the same error in the error log: [30-May-2018 21:31:35 America/New_York] PHP Warning: Creating default object from empty value in /home/ ... /public_html/dev2/ship_estimator.php on line 98 and the code block for that line 98 is this: $order->delivery = array('postcode' => $shippostcode, 'country' => array('id' => $shipcountry, 'title' => $country_info['countries_name'], 'iso_code_2' => $country_info['countries_iso_code_2'], 'iso_code_3' => $country_info['countries_iso_code_3']), 'country_id' => $shipcountry, 'format_id' => tep_get_address_format_id($shipcountry)); Any idea on how to fix that error? Thanks.
  10. Sitemap SEO

    @Jack_mcs Jack, Valqui is right, there is a problem with these two modules displaying. I'm not sure if it's the javascript, the hook file, or the modules. And, the modules' html needs to be restructured. I looked at the source code and there are partial html table structures inside div tags,.. and that's just for the Categories module that displays.
  11. Sitemap SEO

    @valquiria23 Valqui, I think the reason you cannot enable Articles Manager, InfoPages and Page Manager.. is because I you have to have those addons installed first. I have the same thing on my BS Edge install. As for the manufacturers and related pages on the product_info.php page, I just noticed that I have the same issue. I actually have not seen that Related Categories menu on the product_info.php page, until you brought it up. I'll look into it on my end and see if I can come up with anything.
  12. Sitemap SEO

    @valquiria23 Valqui, Setting those to view in the Configuration page is not enough. You have to go into Admin > Sitemap SEO > Settings Control and add the Heading Text into the input boxes for the sections you want to display.
  13. @raiwa Rainer, You misunderstood my post. It was not intended to offend you or your contributions in any way.
  14. ok, I will, thank you. Are there any other changes that I need to be aware of in PWA 3.0 for CE Frozen that should not be made in BS Edge?
  15. @raiwa ok, I see,.. yeah, I have no interest in wasting more time to upgrade to this version. So, is the PWA v3.0 compatible with 2.3.4 BS Edge?
  16. @raiwa sorry, but what is CE Frozen? I have 2.3.4 BS Edge.
  17. @raiwa hi Rainer, I'm updating the PWA addon to v3.0 and I noticed a couple of things that are off. In /admin/orders.php you removed this following line, but this is not part of PWA. It is part of the base BS Edge install. Does it need to be removed for PWA 3.0? $OSCOM_Hooks->register('orders'); In that same file you also have the deprecated variable $HTTP_POST_VARS several times on lines 61 and 84.
  18. Sitemap SEO

    To adapt this addon for the responsive BS version so that the left and right columns do not mesh together on smaller screens, do the following: catalog/sitemap.php FIND this code: $leftWidth = (tep_not_null($rightColDisplay) ? 'style="float:left; vertical-align:top; width:50%"' : 'style="float:left; vertical-align:top; width:100%"'); $rightWidth = (tep_not_null($leftColDisplay) ? 'style="float:right; vertical-align:top; width:50%"' : 'style="float:right; vertical-align:top; width:100%"'); and REPLACE IT with this: $leftWidth = (tep_not_null($rightColDisplay) ? 'class="pull-left col-xs-12 col-sm-6"' : 'class="pull-left col-xs-12"'); $rightWidth = (tep_not_null($leftColDisplay) ? 'class="push-right col-xs-12 col-sm-6"' : 'class="push-right col-xs-12"');
  19. Sitemap SEO

    ok, cool. thank you,
  20. Sitemap SEO

    @Jack_mcs Jack, that may have been the issue with the auto install. I checked and the Featured Products addon has that 545 group ID. So, should I just change all the 545 to NULL? Update: my mistake that was configuration_id
  21. Sitemap SEO

    Jack, I went back to version 1.7 ..according to the history log v1.8 is when you took out the sql file. I'm not great with sql and that version was dated back to 12/23/2009. Since that time MySQL has changed and osC now requires utf8 encoding compliance. Could you take a look and see if it is compatible with the latest version of osC and MySQL? I've attached that sql file from the v1.7 release. I just want to make sure it's all correct and not missing anything before installing it. Thanks. sitemap_seo.sql
  22. Sitemap SEO

    yeah, there is nothing in my error log either. I personally prefer the manual SQL installs rather than running an auto-install script, but I understand the need for it. I'll try and see if I can add these SQL commands manually. Jack, do you have a notepad version of this SQL install?
  23. Google XML Sitemap SEO

    @Jack_mcs Jack, I just checked out the latest version and I think you missed adding the new changes to ../googlesitemap/index.php and ../googlesitemap/sitemap.class.php. Those files are dated to the prior version and have no changes in them. Also, the ../googlesitemap/index.php version I sent you had the error_reporting and ini_set display_errors set to 1. I forgot to switch them back to 0.
  24. Sitemap SEO

    @Jack_mcs hi Jack, I tried to install this addon and am not able to get the database tables set up. I've installed and uninstalled via sitemap_seo_install.php and sitemap_seo_uninstall.php with no luck. I initially replaced all the deprecated <font> tags from the install file with <span> tags and thought that I may have made an error, so I uninstalled and installed the original file from your package (the one with the <font> tags). That did not work either. I looked at my database and there are no sitemap tables installed. Could you take a look at that install file and see if anything sticks out? sitemap_seo_install.php
  25. Google XML Sitemap SEO

    ok, got it!, ..then all is good, because mine is in the root dir.