Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. ingz

    [Contrib] Shipping zoneworld

    Hello again, does anybody know how to disable one country for this shipping module? I could really use that in my zones.php.. Thanks..
  2. ingz

    [Contrib] Shipping zoneworld

    Hi all, does anyone know a solution to this one: I want to exlude only one country from the last shipping zone (the one for all other countries). I found this in the contrib section: / Deactivate if billingadress is not the specified if ($order->billing['country_id'] != "204") { $this->enabled = false; } 1. Locate next lines in any payment module for wich you want to add this code ============= BEGIN ================= // class methods function update_status() { global $order; if ( ($this->enabled == true) && ((int) MODULE_PAYMENT_RECHNUNG_ZONE > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_RECHNUNG_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id"); while ($check = tep_db_fetch_array($check_query)) { if ($check['zone_id'] < 1) { $check_flag = true; break; } elseif ($check['zone_id'] == $order->delivery ['zone_id']) { $check_flag = true; break; } } if ($check_flag == false) { $this->enabled = false; } } ================== END ==================== Add the code above directly after "}" With this option every country is disabled for this module except the definied one. You also can change: if ($order->billing['country_id'] != "204") { to: if ($order->billing['country_id'] == "204") { Now every country except the definied is enabled for this module. But this seems to be specified for payment modules? The code to put the lines after is also found in shipping modules like "flat" and "item" but not in zones.php. Can I use these lines of code in zones.php or does anyone know any other code to implement in zones.php to reach my goal? Thanks..
  3. ingz

    Attribute Sets Plus

    Hello, just a little question; is anyone using this contrib together with QTPro? This contrib seems to be exactly what I've been searching for, but I also need to set quantities for every products attributes. I understood from previous posts in this forum that when the sets are created, oscommerce handles them the same as individually created attributes, so if that's correct there shouldn't be a problem I guess. Thanks!
  4. ingz

    Attribute Sorter w/ QT Pro 4.2

    Hello, I was looking for the same solution and installed Attribute Sorter and Copier v.6.0, wich is mentioned in the QtyPro 4.2 manual. But I just don't get it working together. The attributes still show in alphabetical order and not in the order I set them too in the product-setup. Anyone here merged those two contribs succesfully? I would be glad if you could show me where the solution lies; I have edited pad_base.php and product_info.php over and over again.. Thanks! :rolleyes:
  5. ingz

    Attribute Sets Contribution

  6. ingz

    Attribute Sets Contribution

    Hi there, i implemented this contribution a while ago and it works really great. I only have one question. I was also searching for a contrib for quantity/stock managing per product attribute, for example on sizes: the product has stock quantity 1, there is 1 size L left but there are still 12 sizes XL left, so the costumer wont be able to buy XL if stock became zero for the product not considering the quantity per size, but if size L became zero and the stock quantity would be still 1 than the customer can order the size L while i don't have it anymore.. (My english is not superb I apologize) So i found some contributions who seem to fix this problem, but what i dont know when i'm going to install them, if they will work flawlessly with this contrib. Has anyone already tried to use those contribs together? Maybe you have an advice for me wich contrib on quantity to use best? Thanks in advance! Inge