Jump to content
Latest News: (loading..)

GLWalker

♥Ambassador
  • Content count

    842
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by GLWalker

  1. GLWalker

    Convert ADMIN Addons from 2.2x to 2.3.x

    Why not try pasting the content of the stylesheet inside the admins existing stylesheet, at the bottom?
  2. @@burt I agree with Jim - how about a new thread to work with to keep things clearer.
  3. GLWalker

    WS5 Wholesale Addon

    @@29gk As Gary mentioned, it is written for 2.3.4. It sounds like your going to reinstall 2.3.4 do you shouldn't have any issues on a fresh install. Please post if you do.
  4. Dreamed I rebuilt the affiliate system as a seperate application that linked VIA header_tags system. WTF?

    1. GLWalker

      GLWalker

      Actually, yes I was. Horrible nights sleep. Laptop was warm too, but cant figure out why everything was wet.

    2. Mort-lemur

      Mort-lemur

      You really need to get out more..... :)

    3. joli1811

      joli1811

      Guess that Texan beer was strong that night

    4. Show next comments  15 more
  5. I think Tsimi changes avatars more than underwear.

    1. Dan Cole

      Dan Cole

      He changes his underwear?

    2. Tsimi

      Tsimi

      hahaha...:lol: you really mentioned that? the avatar thing i mean and not the underwear thing.

    3. Tsimi

      Tsimi

      ....and changed again....:P

       

    4. Show next comments  15 more
  6. GLWalker

    using tep_remove_order

    I told you how to do it properly. Don't know why you would want to go about it wrong. But hey, what do I know, lets just pull all kinds of files from the admin and replicate and override existing classes the site needs to run properly. Go for it!
  7. GLWalker

    using tep_remove_order

    I'm not sure what your trying to do, but the easiest thing would be to copy that function as found in the admin into the catalog side, probably paste it into catalog/includes/functions/general.php ~ however, if the function has any dependencies of other classes or functions found only in the admin, you will have to port them over to the catalog side as well.
  8. GLWalker

    WS5 Wholesale Addon

    The above code has a small flaw. in checkout_shipping.php : /* WS5 Wholesale - skip free shipping */ if (tep_session_is_registered('wholesale_customers_id')) { $free_shipping = false; } else { $free_shipping = true; } /* end WS5 Wholesale */ Should be: /* WS5 Wholesale - skip free shipping */ if (tep_session_is_registered('wholesale_customers_id')) { $free_shipping = false; } /* end WS5 Wholesale */ In case of @@xChrysalisx set up, it would work as it was, but if one wants to charge shipping to retail customers, then they need to use the updated snippet above. Otherwise the free shipping will always be triggered for retail. @@xChrysalisx I still recommend changing yours to the above snippet in case you start charging retail shipping in the future. Its too easy to forget making small changes then wondering why something doesn't work later :)
  9. GLWalker

    WS5 Wholesale Addon

    Sorry for the delay. Ive checked out how your setup on my local, and this is what I came up with. Set up your flat rate shipping quote for any price you want (in fact I think you could also switch to table or any other method in the future) Next - set up your free shipping order_total module to allow free shipping for 0.00 in your case. Now open checkout_shipping.php; around line 101 find: // process the selected shipping method if ( isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process') && isset($HTTP_POST_VARS['formid']) && ($HTTP_POST_VARS['formid'] == $sessiontoken) ) { Above that add: /* WS5 Wholesale - skip free shipping */ if (tep_session_is_registered('wholesale_customers_id')) { $free_shipping = false; } else { $free_shipping = true; } /* end WS5 Wholesale */ Next open includes/modules/order_total/shipping.php and around line 40 find: if ( ($pass == true) && ( ($order->info['total'] - $order->info['shipping_cost']) >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) { $order->info['shipping_method'] = FREE_SHIPPING_TITLE; $order->info['total'] -= $order->info['shipping_cost']; $order->info['shipping_cost'] = 0; } Replace with this: /* WS5 Wholesale - skip free shipping */ if (!tep_session_is_registered('wholesale_customers_id')) { if ( ($pass == true) && ( ($order->info['total'] - $order->info['shipping_cost']) >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) { $order->info['shipping_method'] = FREE_SHIPPING_TITLE; $order->info['total'] -= $order->info['shipping_cost']; $order->info['shipping_cost'] = 0; } } /* end WS5 Wholesale */ The change in checkout_shipping.php file will set the free shipping quotes to false if logged in as a wholesale customer. The order_total module change will keep the free shipping quote from triggering on the checkout confirmation page. This should work for any store that does not want to give out free shipping VIA order_total module.
  10. GLWalker

    WS5 Wholesale Addon

    Thanks for your feedback. I set a new weight option to help deal with different shipping cost. Having free for retail and a price for wholesale could be worked out a few different ways, a lot depends on how you currently are set up to offer the retail free price. Using the wholesale session is the key though, if it exist - do this, if not then default action. It does make me think that many selling in bulk may also not want to offer free shipping for orders over a set amount that retail orders enjoy, so that would be a fairly straightforward change in checkout_shipping, looking for a wholesale session. Helpful snippets for varoius procedures that do not fall too far outside the boundaries of a default set up would be good to post here. Leave more details about how you are currently setup and we'll see what can be done.
  11. New wholesale addon uploaded. Takes advantage of content module system - though that part is actually pretty minimal :) http://addons.oscommerce.com/info/9086

  12. GLWalker

    flow chart for Oscom

    I believe their is a database schema in the "extra's" folder. I'm not sure if it has been updated to the current version, but still the same routine of operation.
  13. 2.3.4 - What can I say? It's great!

  14. @@burt Tested on local, looks as your screenshot does, performs as expected. Just need the whole row to select the radio when when clicked. I think I pasted some code for the shipping and payment method tables somewhere a zillion pages back in this thread. I'll have to see if I can find it. I think that's about the time you said we were not going back to tables, though we are dealing with tabular data. (w00t)
  15. You could probably rip the mobile recognition out of the osc mobile build that has been around for a while now, and use that to redirect to your other folder, or just find another mobile detection script that is available, Ive seen lots of them in the past before responsive frameworks became popular. But you already know you'll need to make any contribution changes to the bootstrap version as you did your main site, especially if its a mod that involves certain keys being present in the database. Why not use a compare program and merge your current work into the bootstrap version? Theres nothing changed in the admin, so you'll be in good shape with your old one.
  16. I got the gout

    1. Dan Cole

      Dan Cole

      What did you name him?

  17. Looks and performs well on iPhone 5 The only thing I can see would make it a better mobile experience is to make the complete LI row clickable, could probably be done using a data-attributte or simple css rule displaying the a element as block. Not a big deal though.
  18. @@joli1811 Its not showing the full option value because the dropdown has a style attribute coded into it: <select name="id[5]" style="width: 200px;" class="form-control"><option value="10">Download: Windows - English</option><option value="13">Box: Windows - English</option></select> Just a matter of removing that, but then BootStrap will take over and make it full width of its containing element.
  19. @@burt A question - Ive seen lots of commits on Harald's 2.3.4 branch - are these getting rolled into this release as well?
  20. I have a few more issues to address, Im going to make another fork - as I tend to just rape, plunder and bring mine to a totally hard to follow place - 1) Pagination - there is a bug where you can click on the disabled previous or next link and it sets the URI differently yet reloads the page with the same content. 2) New Products Module - I know its came up a lot, and Ive just been waiting - but I need to apply the same grid only elements to it that the grid/list view uses. No option for list view, only grid. But it should share the same markup and css for consistency. @@burt 3? - not sure about this one, but checkout_shipping_address.php - If a different shipping address is already selected, the row of addresses to select from, still displays the default address as selected (only that row under the details) <--- should that not be swiched from $customers_default_address to $sendto? and the same goes for checkout_payment_address.php
  21. @@wHiTeHaT I agree that something different, more elegant, should happen, but without having to implement another 3rd party script. I can see the accordion working well, if it can be laid the right way. I too had extended the category_tree class about the same time as Matt, and found the same issues that came up here - I had to add in an extra link inside the dropdown to navigate to the category root, and saw its weakness handling deeper levels. I *thought bootstrap 2.XX handled unlimited nesting?
  22. GLWalker

    Add on for weight attribute

    Are you really using 2.2 version? 2.3.4 is the current most secure version, and easier to modify (imo). Sounds like you already added some weight fields to the attributes? You also have to make changes to the shopping_cart class file to push the weight to the product @ checkout. There is an existing contribution that works just fine for any very version, I think it is called more products weight? No sure though, but its out there.
  23. @@grandpaj Code from 449 is for checkout_shipping.php, but its getting refurnished again.
×