This procedural function will tell you if the table you are looking for is found within your currently selected MySQL database. Optionally, it will also determine if a column exists within the specified table. You can even pass the a value as the optional third parameter to see if the field’s value is also what you expect. Continue reading
Allow Saved Credit Cards / Debit Cards (eg: Express Checkout) in Open Cart
UPDATE: Buy this extension here!
I recently finished a new extension for Open Cart that allows your customers to save credit cards if desired. This enables them to choose from previously used credit cards or debit cards during checkout thereby speeding up the process.
Updating all my Open Cart 1.4 and 1.5 extensions!
I am about to go through my contributions to OpenCart and make separate versions for my extensions to ensure maximum compatibility between versions. The changes made between 1.4.x and 1.5.x were significant, so there will likely be at least two downloads per extension.
This is in preparation to start developing more extensions. I am downloading all OpenCart releases from 1.4.7 through 1.5.6 today and will be evaluating the changelogs to see which versions will require new downloads.
Get ready to start seeing a lot more on OpenCart from me as I am now using it for one of my own projects. Thus making it easier to test code in a production-level environment 😉
Check out all of my OpenCart Extensions…
Many more are being developed soon!
Credit Card Numbers for Testing Payment Gateway Integration
Here is a comprehensive list of test credit card numbers for testing payment gateway integration. All of the credit card numbers below pass Luhn algorithm validation 😀 Continue reading
OpenCart List View as Default Layout for Product Listings
It was brought to my attention that some themes default to grid view already and there was a need to accommodate those as well. So I modified this extension for those in need.
If you want OpenCart to display products in list view by default (instead of grid view; the default of some themes), this is what you need 😉
This extension can be used with or without VQMod 😀
PHP: Validate XML String While Suppressing Errors
Here you go…
libxml_use_internal_errors(TRUE);
$foo = @simplexml_load_string($bar);
if ($foo === FALSE) {
//Invalid XML
} else {
//$bar is XML
}
If you want to display/log the errors…
foreach (libxml_get_errors() as $error) {
//do something with $error->message
}
libxml_clear_errors();
Cheers 😀
OpenCart Setup Fees for Product Options
Another extension for use with OpenCart 1.5.x!
This one adds a new price prefix to option values in the admin area that allows you to indicate an flat setup fees that are calculated once per line instead of per item.
OpenCart One-Time Setup Fees as Product Options
Note: This extension requires VQMod!
OpenCart Grid View as Default Layout for Product Listings
New extension for use with OpenCart 1.5.x! If you want OpenCart to display products in grid view by default (instead of list view), this is your solution 😀
This extension can be used with or without VQMod 😉
Navigation Updates
I have added a “home” link for those who may not realize clicking the site title returns you to the same page. I also added a contact page that includes all of the most common ways to contact me online or by phone.
New Lower Prices for Domain Names, Web Hosting & Related Services
We just lowered all of our prices on domain names, web hosting, ssl certificates and related services.
Check out the new prices on all domain hosting products & web site services!
We set them ALL as low as we are allowed, so come on in and enjoy the savings 🙂
7 New Promotions for Domain Name & Web Hosting Resellers ~ Sign Up Today!
Chances are, you or someone you know owns domain names and pays for monthly web hosting. Why not help you and your associates by being able to offer low-cost domain names, web hosting packages, dedicated servers, ssl certificates, and more with a simple turnkey solution?
Check out our amazing affiliate program!
| PROMO Code | Description |
|---|---|
| RS25OFFPRO | $25 off new & renewal Pro plans |
| RS10OFFPRO | $10 off new & renewal Pro plans |
| RS10OFFBAS | $10 off new & renewal Basic plans |
| RSRENEW25 | 25% off Pro reseller plan renewals |
| RSRENEW10 | 10% off all reseller plan renewals |
| RSPLAN25 | 25% off new Pro reseller plans |
| RSPLAN10 | 10% off all new reseller plans |
Enter any of the above promotional codes during checkout to redeem the offer 🙂
SQL SELECT NOT DISTINCT (duplicate values)
Simply replace table and column
SELECT COUNT(*), * FROM `table` GROUP BY `column` HAVING COUNT(*) > 1;