Jump to content

cigarsforless

Members
  • Content count

    113
  • Joined

  • Last visited

Everything posted by cigarsforless

  1. cigarsforless

    Sitemap SEO

    the sitemap uses 2 category tree classes, 1 with just categories, 1 with cats and products. as I have over 200 categories and 5k products it results in a massive page trying to get it so if user want to search for a product, they can click on the category to list products, but only show the ones they have opened, rather than a massive page that takes forever to scroll through
  2. cigarsforless

    Sitemap SEO

    the jquery script supplies the toggle to show and hide the links <script type="text/javascript"> $(".hide-products").click(function() { $(this).find(".hidden-content").toggle(); }); </script> what I am having trouble with is where in the code to place the divs so they appear on only the categories. with the above js, no unique id is required, just need the following to appear at beginning of category link <div class="hidden-content"> and the closing </div> at the end of said category. something like this... <div class="hide-products"> Category 1 link here <div class="hidden-content"> <li>category 1 product 1 link</li> <li>category 1 product 2 link</li> <li>category 1 product 3 link</li> <li>category 1 product 4 link</li> </div> </div> the css is this .hidden-content { display: none; border: 1px solid black; }
  3. cigarsforless

    Sitemap SEO

    thanks anyways, I'll keep at it and post here if I have any success
  4. cigarsforless

    Sitemap SEO

    hi @Jack_mcs been playing around with the sitemap and trying to get the products to hide unless clicked by using jquery and css as per the example here http://jsfiddle.net/7Rqqd/ my main issue is getting the <div class="hidden-content">...........</div> to be placed only at beginning and end of each categories products. the goal is to hide all products unless the category link (or an arrow in front of it) is clicked and then the products are expanded for that category only I've been playing around with classes/category_tree_standard.php but can't quite seem to get it to work correctly thought maybe you could have a go at it as you know your code better than I can try and figure it out.
  5. cigarsforless

    Sitemap SEO

    found the culprit in sitemap_seo.css @media (max-width: 640px) { div.sitemap { font-size:10px;} #sitemap-display-wrapper {flex-direction: column;} .site-map-contact {font-size:10px;} } font-size:10px; is the culprit!
  6. cigarsforless

    Sitemap SEO

    oops, my bad, I forgot that part. thanks for the quick reply Jack EDIT, no, I see that I did indeed add that
  7. cigarsforless

    Sitemap SEO

    on mobile, the links are tiny and closely spaced, what needs to be done to make the results responsive or formatted like the rest of the site (2.4.3.1 Frozen)
  8. cigarsforless

    Easy Populate & Products Attributes

    anyone have any idea why all ep exports start with 2 spaces before v_products_model on the very 1st row (the header row)? new install on 2.3.4.1 BS Frozen v_products_model v_products_name_1 v_products_description_1 v_products_url_1 ........
  9. cigarsforless

    Sitemap SEO

    with hundreds of categories and over 4500 products in them, I do not list products in the sitemap but am wondering if anyone has an idea how to implement just showing products for a selected category? ie: an arrow in front of the category that when clicked would expand just the products in that category as opposed to the link on top that shows all of them
  10. in admin, admin/modules.php?set=boxes (and all other calls to modules.php) should use defined sort order as the sort order displayed as it does in admin/modules_content.php currently sorted by name IMHO the following should be standard core easy populate seo urls PWA Image handler (KissIT or similar) Sitemap Configuration Cache I could go on and on but you get the idea an easy to find, comprehensive instruction set on how to modify your shop. face it, as it is, out of the box, nobody can use osc to sell online yes there are addons, but unless you pay someone to do it for you, or have prior experience, setting up an osCommerce shop is a daunting task and most small shop owners may want to go with an easier (while more expensive) solution as mentioned above, to get a decently functioning website, osc needs at least 40-50 addons installed. not a job for most basic shop owners who want to sell online. my 2.2 site has 100+ mods to it and am currently trying to get something similar out of Frozen, I have a long, long job ahead but it IS doable with enough searching of the forums and recoding of old outdated add also I think Multi Vendor Shipping should be stock core code. It is mandatory for anyone who sells products shipped from more than 1 location Be it 1 site selling from 2 retail outlets or via the very popular drop-ship business model Been using osCommerce since 2005, have uploaded a few small addons myself to contribute and greatly appreciate the community and help received when asked for.
  11. why not a rating system like osCommerce has? and when submitting an addon there should be checkmarks the submitter must tick off like, changes to core, screen shots included, demo site provided, has support thread, etc, etc
  12. cigarsforless

    Order Editor for MVS

    long dead thread? I am looking for an order editor that will work with BS Frozen and MVS 1.4? anyone know of an updated version to this addon or newer editor that can be easily modified to support MVS? thanks in advance Jim
  13. cigarsforless

    Multi_Vendor_Shipping new thread

    Doh! turns out there was an edit in application_top.php that I missed somehow. now works like a charm on frozen
  14. Would anybody happen to have a working copy of that they could send me? I am taking the giant step of converting my ancient osCommerce 2.2-MS2 site to a new 2.3.4.1 CE BS Frozen version and this payment module is integral to my business any help would be greatly appreciated thanks in advance
  15. cigarsforless

    Multi_Vendor_Shipping new thread

    patched the frozen version uploaded the new files, and did a file by file compare on files to be changed. did see some changes in frozen vs mvs distro but they relate to php 7.2 compatibilities such as reset($products[$i]['attributes']); while (list($option, $value) = each($products[$i]['attributes'])) { changes to foreach($products[$i]['attributes'] as $option => $value) { but I am running php 7.1 and sql 5.7
  16. cigarsforless

    Multi_Vendor_Shipping new thread

    sigh, no change after running sql to add vendor 1 to vendors table
  17. cigarsforless

    Multi_Vendor_Shipping new thread

    thanks, will try that and let you know
  18. cigarsforless

    Multi_Vendor_Shipping new thread

    hmmmmmm where the quotes "should" be displayed I get these errors Shipping Method Notice: Undefined offset: 13 in /home/cigars/test.xxx.com/includes/classes/shopping_cart.php on line 377 Notice: Undefined index: weight in /home/cigars/test.xxx.com/includes/classes/shopping_cart.php on line 377 Notice: Undefined index: cost in /home/cigars/test.xxx.com/includes/classes/shopping_cart.php on line 378 Notice: Undefined index: qty in /home/cigars/test.xxx.com/includes/classes/shopping_cart.php on line 379 Notice: Undefined index: ship_cost in /home/cigars/test.xxx.com/includes/classes/shopping_cart.php on line 381 code referred to is // Add values to the output array $this->vendor_shipping[$vendors_id]['weight'] += ($quantity * $products_weight); $this->vendor_shipping[$vendors_id]['cost'] += tep_add_tax($products_price, $products_tax) * $quantity; $this->vendor_shipping[$vendors_id]['qty'] += $quantity; // mod IndvShip $this->vendor_shipping[$vendors_id]['ship_cost'] += ($quantity * $products_ship_price); $this->vendor_shipping[$vendors_id]['products_id'][] = $products_id; //There can be more than one product $this->vendor_shipping[$vendors_id]['products_qty'][$products_id] = $quantity; // displays the number of each product being bought 1st error is referring to "Undefined offset: 13" but 13 is the $vendors_id value perhaps I am wrong but all the issues seem to somehow come from the $vendors_id variable not being recognized correctly getting close to pulling my hair out, time for a break and fresh eyes later. for what it is worth, installed a fresh version of frozen, used a file compare program to find all changes in that and the MVS_BSv1.4.3 addon, installed limited shipping options and have never managed to get it to work as of yet
  19. cigarsforless

    Multi_Vendor_Shipping new thread

    turn off vendors shipping and it give the flat rate result, but still shows the 1st error above about Undefined variable: order_id turn on vendors shipping and same result, no rates, just errors for what it is worth, as this is a new install, orders_shipping table is empty
  20. cigarsforless

    Multi_Vendor_Shipping new thread

    tables are good, config values are in vendor_configuration table correctly, uninstalling reinstalling shipping modules does nothing I see $vendors_id='1' at the end of every function in the add on like below //Find the cheapest shipping method for a specific vendor function cheapest($vendors_id='1') { if (is_array($this->modules[$vendors_id])) { $rates = array(); but I have no vendor with id 1 checkout shipping page throws out these errors at the top of the page Notice: Undefined variable: order_id in /home/cigars/test.xxx.com/includes/classes/order.php on line 287 Warning: reset() expects parameter 1 to be array, null given in /home/cigars/test.xxx.com/includes/classes/vendor_shipping.php on line 52 Notice: Undefined variable: vendors_id in /home/cigars/test.xxx.com/checkout_shipping.php on line 223 what am I missing?
  21. cigarsforless

    Multi_Vendor_Shipping new thread

    seems that for some reason the code is not detecting any of the installed vendor shipping modules and as a result returning an empty array // Find all of the modules and instantiate the module classes public function __construct($module = '') { global $language, $PHP_SELF; $installed_modules_array = array(); //Get the vendors_id for each vendor in the database $vendors_data_query = tep_db_query("select vendors_id from " . TABLE_VENDORS); while ($vendors_data = tep_db_fetch_array($vendors_data_query)) { $vendors_id = $vendors_data['vendors_id']; $installed_modules = @constant('MODULE_VENDOR_SHIPPING_INSTALLED_' . $vendors_id); if (isset ($installed_modules) && tep_not_null ($installed_modules)) { $modules_array = explode(';', $installed_modules); $this->modules[$vendors_id] = $modules_array; foreach ($modules_array as $module_name) { //if the module is not already in the array, add it in if (!in_array ($module_name, $installed_modules_array)) { $installed_modules_array[] = $module_name; }//if !in_array }//foreach }//if isset }//while $include_modules = array(); if ( (is_string($module) && (tep_not_null($module)) && (in_array(substr($module['id'], 0, strpos($module['id'], '_')) . '.' . substr($PHP_SELF, (strrpos($PHP_SELF, '.')+1)), $modules_array))) ) { $include_modules[] = array('class' => substr($module['id'], 0, strpos($module['id'], '_')), 'file' => substr($module['id'], 0, strpos($module['id'], '_')) . '.' . substr($PHP_SELF, (strrpos($PHP_SELF, '.')+1))); // X 2-20-10 ADDED PRINTOUT CODE } else { // LINE 51 BELOW THAT IS THROWING THE ERROR reset($modules_array); foreach ($installed_modules_array as $value) { $class = substr($value, 0, strrpos($value, '.')); $include_modules[] = array('class' => $class, 'file' => $value); } //foreach } //if tep_not_null as well, not a single shipping quote is being returned? MVS_BSv1.4.3 on stock 2.3.4.1 BS Frozen
  22. cigarsforless

    Multi_Vendor_Shipping new thread

    @burt thanks for the suggestion but now error is Fatal error: Only variables can be passed by reference in /home/xxx/xx.xxx.com/includes/classes/vendor_shipping.php on line 51
  23. cigarsforless

    Multi_Vendor_Shipping new thread

    as Burt says "Be aware that EDGE is basically my playground. It is subject to changes in all files and there is zero support for it. If, as a shopowner, you want stable: Go Frozen. If, as a shopowner, you have a good developer or you are technically minded: Go Edge." SO... is there a working version of MVS for BS Frozen? or am I just an idiot who can no longer code?
  24. cigarsforless

    Multi_Vendor_Shipping new thread

    in regards to my post above, please see here pulling my hair out trying to get MVS_BSv1.4.3 to work on 2.3.4.1 BS Frozen (THE "official" stable BS release)
  25. cigarsforless

    Multi_Vendor_Shipping new thread

    Has anyone gotten MVS_BSv1.4.3 working on 2.3.4.1 BS Frozen? (as of 18/05/2018) Can't for the life of me get it to give rates and here are the errors I am getting Notice: Undefined variable: order_id in /includes/classes/order.php on line 287 Warning: reset() expects parameter 1 to be array, null given in /includes/classes/vendor_shipping.php on line 51 Notice: Undefined variable: vendors_id in /checkout_shipping.php on line 223 for what it is worth I have installed just flat rate and table shipping modules at this point
×