Jump to content
Latest News: (loading..)

GLWalker

♥Ambassador
  • Content count

    842
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by GLWalker

  1. Was creating some functions for use in header/nav-bar. I need a third eye on this: //// // return currency dropdown menu function tep_navbar_currencies() { global $PHP_SELF, $currencies, $HTTP_GET_VARS, $request_type, $currency; if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { if (isset($currencies) && is_object($currencies) && (count($currencies->currencies) > 1)) { reset($currencies->currencies); $currencies_array = array(); while (list($key, $value) = each($currencies->currencies)) { $currencies_string .= '<li><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('id' => $key, 'text' => $value['title'])) . 'currency=' . $key, $request_type) . '">' . $value['title'] .'</a></li>'; } $currencies_link = '<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">' . TEXT_NAVBAR_CURRENCIES_TITLE . ' <b class="caret"></b></a>' . ' <ul class="dropdown-menu">' . $currencies_string . ' </ul>' . ' </li>'; return $currencies_link; } } } It works as is, but I am wondering if the hidden variables as found in the function to submit the select form of currencies, is necessary.
  2. @@Dan Cole Ah, yes, it just needs a bit more height there. That area actually is the make it or break it spot, if there is not a fixed height then the boxes have chance to all be different heights.
  3. http://wsfive.com/bs-master/index.php?cPath=3_10 I believe this one is ready, I did a lot of tweaking and have tested on iphone and works well, even with two grids side by side. If selecting grid in mobile, it looks much like the new products module, but choose list and you get a few more details. Added 2 keys to ht_ module, default grid in desktop view and default in mobile. Use can select from 1 to four for desktop, and 1 or 2 for mobile. I'll be committing after I triple check it twice.
  4. Today Im going to take out the fancy css that makes everything move when switching views, consolidate the css down as tight as possible and then commit. I'll post back when the changes are done
  5. @@Dan Cole , thanks for checking it. I think you may be viewing a cached copy - Im getting things to stack now in mobile grid. I think in actuallity, certian items in the grid need to just hide in mobile view, Im just trying to leave them all on to begin with. The price in list view, by default it would set next to the buy button, but I tweaked the css just a bit to show proof of concept that each element can actually be moved around to diffrent areas. It gives a lot of flexibility for when a shop owner wants to have a certian look. Every item is inside its own wrapper, which in part gives it the ability to be placed anywhere inside the thumbnail. I do agree that the mobile should be limited to just a single listing per row, but I'm trying to think ahead for that store owner who is going to insist that there be at least 2 products side by side :) It doesnt need to be set that way for default, but at least the inner workings can be there.
  6. I changed some of the responsive styling if anyone wants to check it out
  7. I see the issues with double boxes in small viewport - and they can be remedied by changing the width in responsive mode, I'll put some fixes in for them shortly. I do agree that it is probably best to have a single display in small viewports rather than double, but depending how much is turned on to actually display, double could work out. A seperate class is used for responsive viewports, so its really very simple to change it to show 1 item per row. What may look good is to hide the switch for grid/list and keep it at 1 product per row.
  8. @@altoid Thanks for looking, but I havent touched the new products yet - it will be next if @@burt is hapy with the product listing module. I did notice that the new products display looks pretty good with the default layout in osc_template.php of columns set @ -2 and main content set @ -8 But when I change it to column @ -3 and main content @ -6 it gets the hanging cliff effect. What I wrapped around the product_listing layout will remedy that cliff effect. The css and such I used is not dependent on bootstrap, so it can be an osC exclusive :thumbsup:
  9. @@Dan Cole Awesome - should be corrected now. I left some css out of the responsive list view.
  10. I took a copy of the Master, and placed it inline with changes to the product listings. http://wsfive.com/bs-master/products_new.php Please report how it works out in different views, right now is set to use 2 product per row in grid view, this can easily be changed to show up to 4, and responsive view can also be seperately set up to show up to 4. This is only set up on the pages that use the product_listing module, not for the new products module.
  11. Cleaned up the table and pushed to git, shouldnt need the order_confirmation css anymore
  12. @@burt Looks very good. Easy flow, not to long. Where do the comments left go? Do the boxes stack in responsive mode?
  13. Ive been working on the product listing layout, havent committed to git yet, but looking for some input from folks. So far its set up much like Burt's demo, but the html wrapping it all has been redone for responsive design. (With less code too) So far seems to work flawlessly at any size. But there be a couple of issues to deal with: 1) These may need to go into product listing options of configuration, or a header_tag module: Default layout: grid or list Allow customer to switch the layout: true or false How many grids across desktop/tablet view : select from 1 to 4 <-- 3 in default osC 3 column layout, 3 is a bit crammed but if left or right column is removed, then up to 4 can look good. How many grids across in mobile device view: select from 1 to (4?) <-- 4 is possible, but anything over 2 is not really practical show average review rating: true or false 2) These options seem to have been took out of the demo: (temporarily I assume?) Display Product Manufacturer Name Display Product Model Display Product Quantity Display Product Weight Display Buy Now column Obviously we want to show the name and price - though by default the configuration allows it to be turned off, but Maybe I should code in that and all the above options so people have the control they are familiar with. However there will no longer be a sort option, if its on; its on; the CSS would control placement 3) Microformats This would be considered an item-list and type is product. Great way to show every bit of detail in the markup.
  14. Oddly enough I ran into just this problem on a clients site today, same error returned no matter what card, test number, or expiration date; etc; etc; The store owner had recently changed the transaction key for using elsewhere and did not realize it needed updating in the stores settings.
  15. Are you trying using an actual card or the test numbers? Lately I believe they changed their test numbers as the ones printed in the module description no longer seem to work. Nothing special to setting it up, everything you mentioned is all. You may need to consult with your rep and make sure they activated you.
  16. First in a long time Ive recently seen PayPal orders disappear! Issue fixed with a new order holding module, logs only orders that do not see past checkout_confirmation. Thanks to the modular structure now used in osC, it installs with only the module and 1 line of code.

    1. joli1811

      joli1811

      Had last week x 2 although through ebay x 1 had no details on paypal mail the 2nd no paypal payment email at all some type of paypal glitch

    2. GLWalker

      GLWalker

      That's what I was trying to blame it on, I feel it is more PP than anything, but what a hassle when the store owner gets called up 2 weeks later by a disgruntled customer.

    3. Mort-lemur

      Mort-lemur

      Not had this one yet - only the totals problem

    4. Show next comments  21 more
  17. That works very well. I do think that reversing it to be true by default would be the best. In my past findings there are a lot less images that should not use responsive class than there are that need it
  18. I like that option, saves a few characters when setting up the image.
  19. When the images look big - as in @@Tsimi list #18. osc banner big (which stretches out of the layout.) its just a matter of adding the image-responsive class to the image, it then will stay in proportion to the size it is served at. This will probably need done for any product listing areas, as well as the logo. Once that is done you can actually squeeze 2 products grids together on a mobile view and it looks quite nice. In the previous BS2.X series it automatically made all images responsive, but there are places where it has drawbacks doing that, Ive seen smaller manufacturer logos, and the PayPal express button go way out of wack because of the responsiveness. At least with the class we have some sort of control. In my fork I simply added an id to the div around the banner so that I could use jQuery to add the responsive class, otherwise it would mean hard coding the class into the banner functions, which would not always be ideal depending on the banner.
  20. Ive forked it, going to make some changes and push it.
  21. Awesome! Ive also been working on one that is compatible with the frame controller mod I recently released. Its not much to lok at right now, but I took the same category/grid list and did a rough setup with a button dropdown for sorting, and added a jQuery cookie so that it will remember a users choice of grid or list from page to page: http://newtheme.wsfive.com/index.php?cPath=3_10 Other changes I have done were to the input fields and forms, I added the nessasary classes VIA the function to give them the polished look Bootstrap provides. I also added upon tep_draw_input_field to add in HTML5 fields for email, number, date, etc; It makes it so much more user friendly when accessing from a mobile device. The button function was also slightly changed to allow for the bootstrap button classes, and font-awesome icons. Perhaps I should place mine on git hub and we share code.
  22. Hey Hey Hey - Thanks so much. This year should have much to offer!
  23. GLWalker

    USPS Rate V4, Intl Rate V2 (official support thread)

    This may be of interest, it is based upon the module discussed here, detects whether or not to use CURL or HTTP_CLIENT: http://www.codemehappy.com/2013/11/usps-fix-for-november-2013-for-oscommerce-based-carts/ I have used it with success - as of an hour ago
×