If you are using Better Together Admin (Zen Cart or osCommerce) and getting a log message that looks like this:
Only variables should be assigned by reference in YOUR_ADMIN/includes/xajax/xajax_core/xajaxPluginManager.inc.php on line 268
PHP Strict Standards: Non-static method xajaxPluginManager::getInstance() should not be called statically, assuming $this from incompatible context in YOUR_ADMIN/includes/xajax/xajax_core/xajax.inc.php on line 269
Then please refer to the instructions for fixing this issue on the Better Together Admin help page.
The same instructions apply for Combination Discounts Admin.
osCommerce 126.96.36.199 has been released, with changes to the MySQL layer. If you are getting messages like:
PHP Warning: mysql_num_rows() expects parameter 1 to be resource, object given in ...
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource
then simply change the call “mysql_num_rows” to “tep_db_num_rows” in the following places:
So the old code looked like this:
$this->_check = mysql_num_rows($check_query);
the new code will look like this:
$this->_check = tep_db_num_rows($check_query);
Are you tired of having to hand code in discounts in Better Together for osCommerce? Well I have news for you – you don’t anymore! The Better Together Admin Panel for osCommerce is now ready. It works on osCommerce 2.2 and 2.3, and it’s only $60. Paypal to email@example.com along with your cart URL and osCommerce version to get started!
Here’s a screenshot:
Once you select the linkage type, the two drop down menus populate accordingly (with categories or products).
Once that’s complete, your discount is ready to use in your cart!
Every once in a while, a European customer complains that tax recalculation in my Zen Cart mods is not working correctly for their store with multiple levels of embedded taxes. (This is also an issue in osCommerce.)
Here’s what to look for: non-unique strings in the descriptions of taxes (this is shown in Admin->Locations/Taxes->Tax Rates)
Because of the way Zen Cart (and osCommerce) represent taxes in the order object, the tax descriptions must be unique to allow for reverse lookups. So try changing the strings “Varav moms” to “Varav moms (1),” “Varav moms (2),” etc. to make them unique.
It looks as though Paypal can now handle osCommerce 2.3.x style discounting modules, although it does so in a very odd way. You can see osCommerce Big Chooser for an example.
osCommerce Big Chooser and osCommerce Big Spender now have promotional pages for osCommerce 2.3.1.
Zen Cart Big Chooser and osCommerce Big Chooser both now offer the ability to discount a group of items on a percentage basis, so you can create a “package discount,” such as “Buy items A, B and C, save 25% on the group.”
I have released new Zen Cart or osCommerce software every single month for the last 5 years. Month 61; not slowing down. Thank you for using my work!