Jump to content

cigarsforless

♥Ambassador
  • Content count

    240
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by cigarsforless


  1. does anyone have MVS working on Phoenix?
    I have Dimitri's updated version working on Frozen,
    mvs-for-v2-3-4-bs-edge
    but wondering if there is anyone out there who has it installed on CE Phoenix
    With the desire of "no core changes" in Phoenix, I wonder if this is doable.

    Is anyone familiar enough with MVS willing to take on paid work to update this essential add-on to work with CE Phoenix?


  2. On 11/18/2019 at 1:26 PM, azpro said:

    😂

    I have to agree with @BrockleyJohn  .. Actually I think an ordernumber should be created on chekcout_payment.php and order should be stored in DB immediately at checkout_process.php .. The need for it would probably depend on different Payment Service Providers / Gateways but in my experience the ones I have seen could be handled better with an existing/created ordernumber.

    Actually this was one of the first changes we did some 15 years ago when we started to use oSC.

     

    I have done the same thing on my 2.2 site, and now need to rewrite phoenix to do the same
    yes I occasionally have to go into the database to delete declined orders but but I have to pass an order # to my payment processor.
    to me it makes sense to assign the order number the moment checkout_process.php is loaded


  3. agree on both parts, woo would have cost me a small fortune just to get to the point where i could actually determine if it would do the job correctly as suits my business needs, turned out i would have to buy so many modules just to test it out that I gave up that route.

     

    As far as osc having a free version of add-ons and paid for full featured ones, I think that would be a great idea to help fund the project
    get the bells for free but pay for the whistles


  4. simple to install, but over complicated in some aspects and be prepared to pay thru the nose for each and every must have add on, basics like ups shipping will set you back 79 bucks if you want live rates, same for usps, fed ex the list goes on and on. much rather support osc and tweak some code myself than pay a grand or 2 a year to woocommerce


  5. looked at and tried out WooCommerce and CS-Cart and a few other systems as an alternative to upgrading my 10 year old 2.2-MS2 site. wasted time and money on both, sure they have lots of users but BOY are they much more complicated to use and configure and still lack a lot of what osc has. long story short, back to plugging away at installing (and trying to find current versions) of all the add-ons I have in the old site to get the new version up and running.

    If I could suggest 1 thing only to improve osCommerce it would be to fix the market place. search is next to useless, you are better off using google to bring you to the addon page you want. limit results to 2.3 version and you still get tons of apps that are 8+ years old and do not work with edge-frozen-phoenix without major updating but diligent searching will eventually bring to a new version in most cases

    1 other thought, documentation for creating addons? to be honest the new modular system is an extensive learning curve for those of us who are oscommerce users from way back but not very proficient coders. current documentation is based on ancient code using phh 5???


  6. 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


  7. 1 hour ago, JcMagpie said:

    Not sure you need any fancy js script to do that. Bootstrap has the, class="collapse" which will do that for you. All you need to do is apply that to the div to hide with a id to triger it on click. Just remember each div will need a unique id to triger it.

    something like this. It's been applied to the first few links on the test site https://chilleddisplays.co.uk/sitemap.php

    
    <li><a data-toggle="collapse" data-target="#demo" href="#"><span class="title">Action | CE BS4 test site</span></a>
    <div id="demo" class="collapse">
    <ul><li><a href="https://chilleddisplays.co.uk/index.php/view/all/manufacturers_id/8"><span class="title">GT Interactive | CE BS4 test site</span></a>
    </li><li><a href="https://chilleddisplays.co.uk/product_info.php/products_id/22"><span class="title">Unreal Tournament | CE BS4 test site</span></a>
    <li><a href="https://chilleddisplays.co.uk/product_info.php/products_id/12"><span class="title">Die Hard With A Vengeance | CE BS4 test site</span></a>
    </li><li><a href="https://chilleddisplays.co.uk/index.php/view/all/manufacturers_id/4"><span class="title">Fox | CE BS4 test site</span></a>
    <li><a href="https://chilleddisplays.co.uk/product_info.php/products_id/16"><span class="title">Courage Under Fire | CE BS4 test site</span></a>
    </div>

    To be honist i'm not sure what the use of this is as the site map should have links to all pages and osC catogorys are pages in themselves so should be links?

    Note the above is just an example and not a recomended sitemap format.

    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;
    }

     


  8. 6 minutes ago, Jack_mcs said:

    As mentioned, that will not be a simple change, though it is possible. I can't offer help for such changes in support threads due to time-constraints.

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


  9. 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.


  10. 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!


  11. 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


  12. 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


  13. 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


  14. 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


  15. 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?

×