CubeCart 3 and CubeCart 4 Tutorials


CubeCart Pagination and SE Friendly URLs

Thursday, December 4th, 2008

In working with CubeCart 4.3 this evening, I’ve discovered a small bug which affects pagination links generated by CubeCart. If you have your store configured to use search engine friendly URLs, the pagination links will not reflect the desired search engine structure. The standard query based URL is displayed instead.

This bug is explained in detail below, you are welcome to skip ahead to the fix.
(more…)


Google Checkout Button Background Color

Saturday, November 29th, 2008

CubeCart 4 gives you the ability out of the box to allow your store to accept payments through Google Checkout. This is a great feature and one currently used here at MyCubeCart.com.

A small issued surfaced with the recent redesign of MyCubeCart.com. The Gooogle Checkout button had a white background, my content area did not. The button looked out of place and I was pressed to find a solution. The Google Checkout API offers a handful of button customization options, a transparent background was one of them.

After digging around in the code a bit, I was pleasantly surprised to see that CubeCart was for the most part aligned to receive the type of customization I was after. A few small updates later, I had my transparent button.

Here’s how I did it.
(more…)


Clean(er) CubeCart 4 URLs

Friday, November 28th, 2008

This modification may not function properly if you have selected “Use FTP generated PHP pages (If all other methods fail)” as the URL Build Option in your CubeCart settings.

If you are using CubeCart version 4 there is a fairly good chance you are making use of the search engine friendly URL features. This will replace a “dirty”, query laced URL with a much cleaner search engine and user friendly URL modeled off of traditional static page URLs.

In making the URL clean, a .html extenstion is added to the end of the URL. For users like me, it’s not quite clean enough.

By leaning on WordPress in many of my web development projects, I’ve grown accustom to having my URLs end with no file extension, just a slash (eg. mycubecart.com/some/friendly/url/). This is what we aim to accomplish here.
(more…)