Dynamic Pricing Shopping Cart for Bullion and Coin Seller

Integrate Dynamic Pricing Shopping Cart into Existing Product Catalog Application

This dynamic pricing shopping cart was a special project that required adding a shopping cart to an existing website/application with a product catalog.  In order to minimize work of adding shopping cart capability and not disturbing existing code, I carefully injected code into the product page to add quantity input fields and checkout button. Product prices are based on spot price data feed, so prices are dynamic and are updated everything minute. Once the user enters quantities for products and clicks Checkout button, user gets redirected to another page (separate domain) where transaction is completed.

  • Manipulate page by injecting code to add column to products table. Column includes quantity input field.
  • Dynamic pricing shopping cart – latest spot prices are parsed from page (top left of page) and price basis added for each product (see image for diagram).
  • Add Buy Now button. When button is clicked, script parses page to get product list with quantities and prices, serialize data and send to processing script.
  • The processing script creates an Advanced Product String with all the product details and redirects user to a secure payment gateway, where he can enter his payment information to complete the transaction.

Technologies used: PHP, jQuery, Ajax, HTML, CSS, Shopping Cart API

Top 10 Essential WordPress Plugins

I’ve compiled a list of my top 10 most essential plugins that came from experience of installing, testing and uninstalling dozens of plugins, and finding a small handful of plugins that make managing a WordPress site fast, easy and efficient. This list is somewhat different from most of the top 10 WordPress plugins posts you might read because apparently these bloggers are just reading and writing about plugins, and not applying them to their profession and using them for their clients’ sites as I do.

I feel like I’m giving away my trade secrets by writing about this. Most of these plugins are installed on all my WordPress sites whether I build a WordPress theme from scratch or build a website using a pre-built theme. Here’s my top 10 essential WordPress plugins and a brief description of each.


Akismet - WordPress Plugin for Filtering Comments Spam

If you enable comments on your pages or posts, it’s only a matter of time before you start getting bombarded with massive amounts of spam. Akismet is a plugin that filters comments. It costs about $5/mo and well worth it!  This plugin comes pre-installed in WordPress, so all you have to do is enable it and signup for an account.

Download the Plugin Here

Duplicate Post

Duplicate Post - WordPress Plugin to Duplicate Post with One Click!

This seems like it would be a native feature of WordPress. Joomla and other CMSs already have “Duplicate” or “Copy” built into the UI. With the Duplicate Post WordPress plugin, you can clone a post or page, or edit it as a new draft with one click! It’s a must have for me and is installed on all my WordPress sites.

Download the Plugin Here

Quicktag Extender

Quicktag Extender - A Must Have WordPress Plugin for All Websites

If you like working in code view as I do, then Quicktag Extender is another must have. This plugin adds more buttons to the non-visual editor view for creating/editing posts/pages.

Download the Plugin Here


Redirection - A WordPress Plugin for Setting up 301 Redirects
Redirection - A WordPress Plugin for Setting up 301 Redirects

Whenever you change a URL, you should always set up 301 redirects, or you’ll get 404 errors from search engine spiders and browser favorites, which has a negative effect on SEO of your website. You can set up 301 redirects manually by editing your .htaccess file, but if you don’t know how to use .htaccess files or have frequent or multiple redirects to set up, manually editing the .htaccess can get tedious and time consuming. The Redirection plugin allows you to set up 301 redirects without having any knowledge of Apache .htaccess files. Redirection is a WordPress plugin to manage 301 redirections, keep track of 404 errors, and generally tidy up any loose ends your site may have. This is particularly useful if you are migrating pages from an old website, or are changing the directory of your WordPress installation.

Download the Plugin Here

WordPress SEO by Yoast

WordPress SE0 by Yoast

WordPress SEO by Yoast is the best SEO plugin I’ve found and is a must have for all my WordPress sites. Not only does it allow you to manage keywords for pages and posts through page titles and meta descriptions, but it’s also loaded with lots of advanced features like Page Analysis that gives you the ability to measure your SEO performance and write better content.

Download the Plugin Here

Manually Move WordPress Site to New Domain Name

I get this question a lot. “I moved my WordPress site from another host and now it’s redirecting to the old domain. What’s the problem?” Even though you change your domain name in the configuration file, references to the old domain name or location will remain in the database, and that can cause issues with links or theme display.

If you move your WordPress site or change your domain name, you have to change it in several places, not just the WordPress configuration file (wp-config.php). WordPress stores your domain name in multiple database tables as well. So you need to find all references to the old domain name and replace them with the new domain.

Here’s a list of simple steps to fix the redirect problem:

  1. Export your database to an SQL file using phpMyAdmin or some other database management tool. Make sure you select an option to “drop table if exists,” otherwise you’ll get errors when trying to re-import your SQL file.
  2. Open the SQL file in your favorite text editor and replace all instances of “http://old_domain.com” with “http://new_domain.com” in the entire document using the Find and Replace tool. I use Notepad++. It’s a great text editor and it’s free.
  3. Save your changes and close the file.
  4. Import the eidted SQL file using phpMyAdmin tool or some other database management tool.
  5. And finally, edit wp-config.php replacing the old domain with the new domain.

That it! Your direct problem should be fixed.

Alternative Method to Changing Domain Name or Moving WordPress Site

There are WordPress plugins designed to automate the process of moving a WordPress site, so you don’t have to do it manually.  Three of the most popular are WP Migrate DB,  XCloner and Backup Buddy.


Contact Us For a Free Consultation

Let's Get Started!