Jump to content

swguy

Members
  • Content count

    246
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by swguy

  1. Better Together for osCommerce is now available for download. It allows you to perform the following discounts: - Two for one on a specific product (BOGOF) - Two for one for all products in a specific category - Buy one specific product, get another specific product at a discount - Buy one specific category, get another specific category at a discount - Buy one specific product, get a product from a specific category at a discount - Buy an item from a specific category, get a specific product at a discount. Discounts may be expressed in dollars (i.e. currency units) off or in % off. Better Together is here: http://addons.oscommerce.com/info/6733
  2. Yes it is. Better Together deals with pairs of items. Get ONE from ONE of these categories (2 OR 7 OR 9). If you need "get multiple from any of these categories" look at Big Chooser.
  3. Thanks for taking the time to write those kind words, Peter. It's really fun for me to see people benefiting from my creative output.
  4. If you're using Better Together for osCommerce 2.2: http://addons.oscommerce.com/info/6733 Take a look at the Better Together Promotional Page http://addons.oscommerce.com/info/6960 It builds a page from all your discounts that's linked from the Information Box.
  5. My Quantity Discounts contribution permits you to offer discounts that are structured many different ways: * By total number of items purchased * By number of items purchased, counting per item * By number of items purchased, counting per category * Counting by items or by number of dollars spent, in any of the ways above * Specifying the discount as a percentage, a flat dollar figure or dollars per item The contribution is here: http://addons.oscommerce.com/info/6751
  6. Phoenix users: please get this mod here: https://apps.oscommerce.com/QSfOw&better-together-promotional-page-phoenix
  7. Phoenix users - please get Better Together for Phoenix here: https://apps.oscommerce.com/Apps&XpyA1&better-together-for-phoenix
  8. Please grab the latest from https://apps.oscommerce.com/QdusL&quantity-discounts-for-osc-phoenix&v=cephoenix10 That will fix the logs - the Stripe issue, not sure, you'd have to look at the Stripe code.
  9. Nothing is built in. But if you look at includes/modules/order_total/ot_better_together.php around line 310 where it says for ($i=0, $n=sizeof($discountable_products); $i<$n; $i++) { you could do a check like: if ($discount > 0) break;
  10. Weird. I could swear it didn't work yesterday when I tried that.
  11. Neither of those links work - please check and repost.
  12. swguy

    Site not secure ??

    You need to redirect to https using .htaccess. RewriteEngine on # Force https RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  13. swguy

    Creating an extra Order_Total Field

    Like @burt said, you want to create an order total module. But bear in mind that you may need to do additional payment module integration to get the correct total passed in.
  14. Please reduce the number of required characters down to 50 or less - if the change is just a small bugfix, I don't have a hundred characters to say about it! Please allow submitters to remove prior versions of their own modules. This will help keep things clean without bothering the moderators. Thank you!
  15. Meanwhile, can someone clue me in as to the procedure for asking a moderator to remove a bad upload from the App Marketplace?
  16. What's the reasoning behind this decision? Because it sure did create a lot of work for people who are trying to keep their mods current.
  17. Agreed - I'm just getting all the required changes sorted and then I'll submit an update.
  18. Is there guidance on this or an example mod which is particularly well done?
  19. I apologize, I thought you were the one championing it. Oh well, I guess I had better get on board if this is the new direction. I'd love to be more involved in osCommerce, but the demand from paying clients just isn't there. Who knows, maybe Phoenix will breathe new life into the project.
  20. Burt, you have done a Yeoman's job of taking care of osCommerce. Way better than I could have done. But this decision seems unwise. You have completely broken all existing mods, even ones that didn't modify includes/database_tables.php. And the file still exists in the admin folder! If you really wanted to get rid of the file, why didn't you just put these defines in the configuration table so existing mods would continue to work? Shouldn't there have been a pinned thread somewhere saying, "Hey, modders, update your stuff!" so I wouldn't have to learn about this from a bug report?
  21. I definitely wouldn't support prefixes if I was starting a project today, but what if someone is upgrading an osCommerce 2.3 installation with prefixes? Do they have to rename all their tables?
  22. Can you point me to a specific post? I'm genuinely curious. I'm talking about defines for core tables in osCommerce like TABLE_CONFIGURATION. Also, doesn't this kill the use of prefixes?
  23. If you want you can change the code to replace the old table defines with the hardcoded names, but it will be faster just to use the patch I just posted.
  24. Adding back the defines will fix the issue. In includes/modules/order_total/ot_better_together.php after php starts, add: if (!defined('TABLE_PRODUCTS')) { define('TABLE_PRODUCTS', 'products'); } if (!defined('TABLE_PRODUCTS_TO_CATEGORIES')) { define('TABLE_PRODUCTS_TO_CATEGORIES', 'products_to_categories'); } if (!defined('TABLE_TAX_RATES')) { define('TABLE_TAX_RATES', 'tax_rates'); }
×